[CMake] Libs not Found with Make Install

2010-07-20 Thread Michael . Schmidt
Howdy, After a make install, the executable's shared library dependencies are missing when I run ldd. Thanks, Mike ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

[CMake] Library Paths

2010-07-19 Thread Michael . Schmidt
When I do an in-source build, everything runs ok. However, I have issues with an out-of-source build. One of my libraries uses another one of my libraries. When I run the executable it complains cannot open shared object file: No such file or directory. It's looking for the library in the

Re: [CMake] Library Paths

2010-07-19 Thread Michael . Schmidt
linking your executable to those libs or are you doing something like dlopen inside your application? -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org Thanks for the response. The executable uses dlopen at runtime and was pointing to the source

Re: [CMake] Swig Generation

2010-07-15 Thread Michael . Schmidt
Did you enable the -includeall option? If so, that might be the problem here. Try removing it, I just copied it from the FAQ. Michael That was it. Thanks for all your help. -Mike ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Swig Generation

2010-07-15 Thread Michael . Schmidt
Did you enable the -includeall option? If so, that might be the problem here. Try removing it, I just copied it from the FAQ. Michael For someone new to cmake, that option seems non-intuitive. Is there documentation I missed? -Mike ___ Powered by

[CMake] Macro Problem

2010-07-14 Thread Michael . Schmidt
Hello, My project has third party source in a subdirectory. The third party source has to be compiled without special options. With autoconf, we had CFLAGS =. How would I do the same with cmake and restore CFLAGS to their original value in the parent directory? Thanks, Mike

[CMake] CMakeCache Files

2010-07-14 Thread Michael . Schmidt
I'm a newbie with cmake, and I wanted to clarify a couple things. From what I understand, there's no command to clear CMakeCache files. If I add a new file or change the CMakeLists, then I have to delete the CMakeCache files manually. If I change an option using ccmake, do I have to remove the

[CMake] Swig Generation

2010-07-14 Thread Michael . Schmidt
Hello again, I read the FAQ on Swig generation, but I still have a couple questions. Here's a snippet from my original Makefile.am: mylib_la_SOURCES = swig_main.i regular.cxx swig_gen.cxx ... swig_gen.cxx : swig_main.i swig_a.i swig_b.i regular.h swig -Wall $(INCLUDES) -c++ -python -o