2016-07-20 22 views
0

Ich versuche zu öffnen meshlab Projekt in Visual Studio 2013. Ich Cmake und Qt habe installieren erstellen 5.3.0 auf meinem Windows 10 und dann diesen Befehl ausführen:fehlgeschlagen Meshlab Visual Studio 2013-Projekt

cmake .. -G "Visual Studio 12 Win64" 

und nach dem laufen, dass:

-- The C compiler identification is MSVC 18.0.31101.0 
-- The CXX compiler identification is MSVC 18.0.31101.0 
-- Check for working C compiler using: Visual Studio 12 2013 Win64 
-- Check for working C compiler using: Visual Studio 12 2013 Win64 -- works 
-- Detecting C compiler ABI info 
-- Detecting C compiler ABI info - done 
-- Check for working CXX compiler using: Visual Studio 12 2013 Win64 
-- Check for working CXX compiler using: Visual Studio 12 2013 Win64 -- works 
-- Detecting CXX compiler ABI info 
-- Detecting CXX compiler ABI info - done 
-- Detecting CXX compile features 
-- Detecting CXX compile features - done 
*** Configuring MeshLab Version 1.3.2 **** 
-- Found OpenGL: opengl32 
-- Looking for include file dlfcn.h 
-- Looking for include file dlfcn.h - not found 
-- Looking for include file inttypes.h 
-- Looking for include file inttypes.h - found 
-- Looking for include file memory.h 
-- Looking for include file memory.h - found 
-- Looking for include file stdint.h 
-- Looking for include file stdint.h - found 
-- Looking for include file stdlib.h 
-- Looking for include file stdlib.h - found 
-- Looking for include file strings.h 
-- Looking for include file strings.h - not found 
-- Looking for include file string.h 
-- Looking for include file string.h - found 
-- Looking for include file sys/stat.h 
-- Looking for include file sys/stat.h - found 
-- Looking for include file sys/types.h 
-- Looking for include file sys/types.h - found 
-- Looking for include file unistd.h 
-- Looking for include file unistd.h - not found 
-- Looking for cos in m 
-- Looking for cos in m - not found 
-- lmdemo will be linked against levmar;lapack;blas;f2c 
CMake Error at E:/MyWorkSpace/Meshinator/Qt/Qt5.3.0/5.3/msvc2013_64_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:14 (message): 
    Failed to find "glu32" in "" with CMAKE_CXX_LIBRARY_ARCHITECTURE "". 
Call Stack (most recent call first): 
    E:/MyWorkSpace/Meshinator/Qt/Qt5.3.0/5.3/msvc2013_64_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:50 (_qt5gui_find_extra_libs) 
    E:/MyWorkSpace/Meshinator/Qt/Qt5.3.0/5.3/msvc2013_64_opengl/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:152 (include) 
    E:/MyWorkSpace/Meshinator/Qt/Qt5.3.0/5.3/msvc2013_64_opengl/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:94 (find_package) 
    src/other/structuresynth/CMakeLists.txt:17 (find_package) 


-- Configuring incomplete, errors occurred! 
See also "E:/MyWorkSpace/Meshinator/meshlab-master/_build/CMakeFiles/CMakeOutput.log". 
See also "E:/MyWorkSpace/Meshinator/meshlab-master/_build/CMakeFiles/CMakeError.log". 

Wie Sie sehen bekomme ich diesen Fehler von CMAK:

CMake Error at E:/MyWorkSpace/Meshinator/Qt/Qt5.3.0/5.3/msvc2013_64_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:14 (message): 
     Failed to find "glu32" in "" with CMAKE_CXX_LIBRARY_ARCHITECTURE "". 

Ich habe diesen Fehler Google und finden Sie diese Antwort:

das Problem verwenden Sie diese Zeile zu lösen: set (CMAKE_LIBRARY_PATH „C: \ Program Files (x86) \ Windows-Kits \ 8.0 \ Lib \ win8 \ um \ x64 ")

Jetzt weiß ich nicht, wo ich diese Zeile hinzufügen kann? Bitte hilf mir!

Antwort

0

Fügen Sie es der CMakeList.txt hinzu, die sich wahrscheinlich auf dem Verzeichnis der höheren Ebene befindet, von wo aus Sie versuchen, CMake auszuführen.

+0

Danke Jovasa! Ich füge diese Zeile der Datei CMakeList.txt hinzu, aber dieser Fehler ändert sich nicht. Ist mein Pfadformat falsch? –

+0

Gibt es diesen Pfad "C: \ Programme (x86) \ Windows-Kits \ 8.0 \ Lib \ win8 \ um \ x64"? – Jovasa

+0

Ja, es existiert! Ich meine C: \\ oder C:/oder C: // –