Re: [CMake] no rule to make target ' ' needed by- with RCpp and not mysql++

2012-01-24 Thread pasparis


I find the problem it was the name of the library: libRcpp.so instead of libRCpp.so
 Message d'origine 
De : paspa...@noos.fr
À : cmake@cmake.org
Objet : [CMake] no rule to make target ' ' needed by- with RCpp and not mysql++
Date : 24/01/2012 10:10:01 CET

Hellosereral days ago I got from Eric in the mail list the way to link mysql++ in kdevelop with cmake. it works fine but as soon asI want to do the same thing with RCpp and RInside two libraries which manage a link between C++ and the R software when I compile the main prog I getmake[3]: *** No rule to make target `/usr/lib/R/site-library/Rcpp/lib/libRCpp.so', needed by `pkdr1'.  Stop.I don't understand why thanks in advance if someone could help meCMakeList Library file (which uses msql++ and RInside)project(pliba)include_directories(/usr/include)include_directories(/usr/include/mysql)include_directories(/usr/include/mysql++)include_directories(/usr/lib/R/site-library/Rcpp/include)include_directories(/usr/lib/R/site-library/RInside/include)include_directories(/home/pascal/pKDR1/pLibA/Include)add_library(pliba STATIC test_RInside.cpp)target_link_libraries(pliba  /usr/lib/libmysqlpp.a)target_link_libraries(pliba  /usr/lib/libmysqlclient.a)target_link_libraries(pliba  /usr/lib/i386-linux-gnu/libz.so)target_link_libraries(pliba  /usr/lib/R/lib/libR.so)target_link_libraries(pliba  /usr/lib/R/site-library/Rcpp/lib/libRCpp.so)target_link_libraries(pliba  /usr/lib/R/site-library/RInside/lib/libRInside.so)CMakeList program file which uses the librarycmake_minimum_required(VERSION 2.8)project(pkdr1)add_subdirectory(pLibA)include_directories (${PROJA_SOURCE_DIR}/pLibA) add_executable(pkdr1 main.cpp)target_link_libraries(pkdr1 pliba)


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[CMake] no rule to make target ' ' needed by- with RCpp and not mysql++

2012-01-24 Thread pasparis


Hellosereral days ago I got from Eric in the mail list the way to link mysql++ in kdevelop with cmake. it works fine but as soon asI want to do the same thing with RCpp and RInside two libraries which manage a link between C++ and the R software when I compile the main prog I getmake[3]: *** No rule to make target `/usr/lib/R/site-library/Rcpp/lib/libRCpp.so', needed by `pkdr1'.  Stop.I don't understand why thanks in advance if someone could help meCMakeList Library file (which uses msql++ and RInside)project(pliba)include_directories(/usr/include)include_directories(/usr/include/mysql)include_directories(/usr/include/mysql++)include_directories(/usr/lib/R/site-library/Rcpp/include)include_directories(/usr/lib/R/site-library/RInside/include)include_directories(/home/pascal/pKDR1/pLibA/Include)add_library(pliba STATIC test_RInside.cpp)target_link_libraries(pliba  /usr/lib/libmysqlpp.a)target_link_libraries(pliba  /usr/lib/libmysqlclient.a)target_link_libraries(pliba  /usr/lib/i386-linux-gnu/libz.so)target_link_libraries(pliba  /usr/lib/R/lib/libR.so)target_link_libraries(pliba  /usr/lib/R/site-library/Rcpp/lib/libRCpp.so)target_link_libraries(pliba  /usr/lib/R/site-library/RInside/lib/libRInside.so)CMakeList program file which uses the librarycmake_minimum_required(VERSION 2.8)project(pkdr1)add_subdirectory(pLibA)include_directories (${PROJA_SOURCE_DIR}/pLibA) add_executable(pkdr1 main.cpp)target_link_libraries(pkdr1 pliba)


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake