2016-03-30 15 views
-1

assimp kütüphane kullanamazsınız:Ben bu komutları kullanarak assimp kütüphane yüklü

sudo apt-get install libassimp-dev assimp-utils 
sudo apt-get install libxmu-dev libxi-dev 
ben C++ assimp web sitesinden kaynak kodunu indirilen

ama ben çözmek mümkün değilim hataları gösterir

CMake Error at CMakeLists.txt:42 (INSTALL): 


install TARGETS given no RUNTIME DESTINATION for executable target 
    "assimp_simpleogl". 

CMake Warning (dev) in CMakeLists.txt: 
    No cmake_minimum_required command is present. A line of code such as 

    cmake_minimum_required(VERSION 2.8) 

    should be added at the top of the file. The version specified may be lower 
    if you wish to support older CMake versions for this project. For more 
    information run "cmake --help-policy CMP0000". 
This warning is for project developers. Use -Wno-dev to suppress it. 

-- Configuring incomplete, errors occurred! 
See also "/home/playroom/Desktop/assimp/CMakeFiles/CMakeOutput.log". 

Bu hatayı gidermek için ne yapmalıyım?

cevap

0

yalnızca 42. satırda ilerleyin ve "$ {ASSIMP_BIN_INSTALL_DIR}"
ortam değişkeni istediğiniz yere değiştirin. ("./" veya "./build" gibi)

sonra yapmalı ve çalışmalıdır.

+0

Çok teşekkürler. Sanırım sadece çalıştırmak yerine cmake okumalıydım: / –

İlgili konular