Re: [CMake] how to use external gnu make library

2006-03-13 Thread kdsfinger
With the FindGSL.cmake copy to the CMake module dir, Here is my CMakeLists.txt (with TARGET_LINK_LIBRARIES) PROJECT(test1) FIND_PACKAGE(GSL) ADD_DEFINITIONS(-Wall -O2) #list all source files here ADD_EXECUTABLE(test1 main.cpp) TARGET_LINK_LIBRARIES(test1 gsl_sf_bessel_j0) but still got the error

Re: [CMake] how to use external gnu make library

2006-03-13 Thread Jan Woetzel
[EMAIL PROTECTED] wrote: I am trying to use the gnu gsl package in vtk. The gsl is make installed by gnu, not cmake. How can I use the library in my vtk project? I put something like FIND_PACKAGE(GSL) Does a "FindGSL.cmake" script exist and does cmake find it? See the cmake FIND_PACKAGE hel

[CMake] how to use external gnu make library

2006-03-13 Thread kdsfinger
hi, cmake-user I am trying to use the gnu gsl package in vtk. The gsl is make installed by gnu, not cmake. How can I use the library in my vtk project? I put something like FIND_PACKAGE(GSL) IF(GSL_FOUND)   INCLUDE(${GSL_USE_FILE}) ELSE(GSL_FOUND)   MESSAGE(FATAL_ERROR   "Please set GSL_D

[CMake] Use of -fPIC when linking executables

2006-03-13 Thread Lars Nordlund
Hello This simple CMakeLists.txt will (on NetBSD at least) cause the binary 'bar' to be linked with -fPIC. Is this really necessary? I know that it must be used when producing the shared object 'foo', but I did not know it was needed for the executable also? I have checked the flags passed from gc

[CMake] What do these exceptions and errors mean?

2006-03-13 Thread Vignesh M.P.N.
Hi   I ran CTest client with a local Dart server and the test result got posted in the dashboard.   But still I got lots of exceptions and errors at the server console after running the client.   What do these exceptions and errors mean? Or should I simply ignore them?   Thanks Vig

Re: [CMake] Re: CMAKE_MAKE_PROGRAM is not set&In-Reply [EMAIL PROTECTED]

2006-03-13 Thread William A. Hoffman
At 05:54 AM 3/13/2006, Martin Baumann wrote: >Hi, > >>There should be a CMakeError.log and CMakeOutput.log files in the CMakeFiles >>directory. >These files don't help me in this problem. I added the files to this mails. >The one file contains the same error >as the output of CMake itself the oth

[CMake] error tracing

2006-03-13 Thread Bitter, Ingmar (NIH/CC/DRD) [E]
Hi, cmake is complaining about a file it can not find that I think it should not be searching for in the first place. How do I tell cmake to echo each CMakeLists file and line that it is working on so I can trace where the source of this problem comes from? Redhat linux, cmake version 2.2-patch

[CMake] Re: CMAKE_MAKE_PROGRAM is not set&In-Reply [EMAIL PROTECTED]

2006-03-13 Thread Martin Baumann
Hi, >There should be a CMakeError.log and CMakeOutput.log files in the CMakeFiles >directory. These files don't help me in this problem. I added the files to this mails. The one file contains the same error as the output of CMake itself the other one looks as if there weren't errors at all. I