Έχω ένα cmake project σε C++/Qt5 και το έχω ανοίξει με το KDevelop. Έχω εγκαταστήσει το Windows 10 SDK και τα τελευταία build tools του VS και τα προγράμματα (cl.exe, linker.exe καθώς και *.lib) είναι στο PATH. Παρόλα αυτά δεν βρίσκει -πιθανόν όλα- τα *.lib αρχεία.
Το google έχει πολλά ευρήματα με το συγκεκριμένο πρόβλημα αλλά καμία ουσιαστική απάντηση. Έχει κανείς παρόμοια εμπειρεία;Κώδικας:C:/Users/Petros/projects/QtDice/build> "C:/Program Files/CMake/bin/cmake.exe" "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" "-DCMAKE_INSTALL_PREFIX=C:/Program Files (x86)/QtDice" "-DCMAKE_BUILD_TYPE=Debug" C:/Users/Petros/projects/QtDice -- The CXX compiler identification is MSVC 19.15.26730.0 -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx64/x64/cl.exe -- broken CMake Error at C:/Program Files/CMake/share/cmake-3.12/Modules/CMakeTestCXXCompiler.cmake:45 (message): The C++ compiler "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx64/x64/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/Petros/projects/QtDice/build/CMakeFiles/CMakeTmp Run Build Command:"nmake" "/nologo" "cmTC_c2fa6\fast" "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\nmake.exe" -f CMakeFiles\cmTC_c2fa6.dir\build.make /nologo -L CMakeFiles\cmTC_c2fa6.dir\build Building CXX object CMakeFiles/cmTC_c2fa6.dir/testCXXCompiler.cxx.obj C:\PROGRA~2\MICROS~3\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\bin\Hostx64\x64\cl.exe @C:\Users\Petros\AppData\Local\Temp\nm8F3F.tmp testCXXCompiler.cxx Linking CXX executable cmTC_c2fa6.exe "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_c2fa6.dir --manifests -- C:\PROGRA~2\MICROS~3\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_c2fa6.dir\objects1.rsp @C:\Users\Petros\AppData\Local\Temp\nm9088.tmp LINK Pass 1: command "C:\PROGRA~2\MICROS~3\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_c2fa6.dir\objects1.rsp /out:cmTC_c2fa6.exe /implib:cmTC_c2fa6.lib /pdb:C:\Users\Petros\projects\QtDice\build\CMakeFiles\CMakeTmp\cmTC_c2fa6.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_c2fa6.dir/intermediate.manifest CMakeFiles\cmTC_c2fa6.dir/manifest.res" failed (exit code 1104) with the following output: LINK : fatal error LNK1104: cannot open file 'kernel32.lib' NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0xffffffff' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64\nmake.exe"' : return code '0x2' Stop. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project) -- Configuring incomplete, errors occurred! See also "C:/Users/Petros/projects/QtDice/build/CMakeFiles/CMakeOutput.log". See also "C:/Users/Petros/projects/QtDice/build/CMakeFiles/CMakeError.log". *** Failure: Exit code 1 *** ```
Εμφάνιση 1-1 από 1
-
30-09-18, 09:49 NMake σε KDevelop : error LNK1104: cannot open file 'kernel32.lib' #1Με ΜΑΤ και βία δεν βγαίνει πανδημία, Μιχαλάκη και Κούλη.
Παρόμοια Θέματα
-
Launcer error:unable to open archive file
Από gregluffy στο φόρουμ WindowsΜηνύματα: 2Τελευταίο Μήνυμα: 22-07-18, 22:06 -
Netgear Nighthawk-AC1900 WiFi-VDSL/ADSL-Modem Router CANNOT CONNECT TO OTE VDSL
Από theomina στο φόρουμ COSMOTE VDSLΜηνύματα: 18Τελευταίο Μήνυμα: 23-05-18, 19:10 -
Πολλα CRC Errors σε μικρο χρονικο διαστημα
Από Amix στο φόρουμ NovaΜηνύματα: 9Τελευταίο Μήνυμα: 14-04-18, 14:28 -
CRC Errors σε adsl σύνδεση
Από huey43 στο φόρουμ ADSLΜηνύματα: 8Τελευταίο Μήνυμα: 19-12-17, 18:15 -
Αδικαιολογητα,ξαφνικα restart σε windows pro10 x64,ευρεση error code. [solved]
Από mirtiano στο φόρουμ WindowsΜηνύματα: 14Τελευταίο Μήνυμα: 10-12-17, 15:08
Bookmarks