dev C++ 컴파일러를 사용하여 코드 프로그램을 컴파일하려고하지만 내 컴파일러가 내 코드를 컴파일하지 않았습니다.이 파일은 두 개의 파일로 구성되며 다른 하나는 구현 .cpp 파일입니다. 내가 컴파일 할 코드는 정확하고 작업이지만, 내가 무엇입니까Dev C++ 컴파일 오류, 사용 권한이 거부되었습니다.
오류 도와주세요 내 PC (윈도우 7)에 컴파일하지 않았다 여기
Permission denied
ld returned 1 exit status
C:\Makefile.win [Build Error] [Project1.exe] Error 1
내 컴파일입니다 로그인
Compiler: Default compiler
Building Makefile: "C:\Makefile.win"
Executing make...
make.exe -f "C:\Makefile.win" all
g++.exe -c testProgDoublyLinkedList.cpp -o testProgDoublyLinkedList.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
g++.exe testProgDoublyLinkedList.o -o "Project1.exe" -L"C:/Dev-Cpp/lib" -mwindows
C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot open output file Project1.exe: Permission denied
collect2: ld returned 1 exit status
make.exe: *** [Project1.exe] Error 1
Execution terminated
운영 체제는 무엇입니까? 권한 문제가있는 것 같습니다. –
나는 창문을 사용하고있다. –
아마도 마지막으로 실행 한 창을 닫지 않았을 것이므로,'ld.exe' 파일은 여전히 사용되고 있으므로 접근 할 수 없다! –