Re: [CMake] problems linking with g++ on Ubuntu

2012-09-24 Thread Bogdan Cristea
On Monday 24 September 2012 08:39:14 you wrote: > /usr/bin/c++ -static CMakeFiles/Runtime.dir/Runtime.cpp.o -o > ../bin/Runtime \ > -rdynamic /usr/local/lib/libzmq.a /usr/local/lib/libczmq.a -lpthread > -lrt ../lib/libComm.a ../lib/libConfig.a > ../lib/libComm.a(Comm.c.o): In function `Comm_

Re: [CMake] problems linking with g++ on Ubuntu

2012-09-24 Thread Davis Ford
I tried shifting the order around, to no avail. I updated the gist to try to make the output a little more readable. https://gist.github.com/3776497 I'm not sure why different flags are set here on the MacOS build vs. the Linux build. On Mac OS I'm using clang compiler. On Linux, Gnu The rele

Re: [CMake] problems linking with g++ on Ubuntu

2012-09-24 Thread Bogdan Cristea
On Monday 24 September 2012 08:28:26 Davis Ford wrote: > Hi, I have a project that I'm able to build fine on Mac OS with CMake, but > when I check same project out on Ubuntu 12.04, I'm getting undefined > reference errors at link time. > > Here's the relevant section of the CMakeLists.txt file, an

[CMake] problems linking with g++ on Ubuntu

2012-09-24 Thread Davis Ford
Hi, I have a project that I'm able to build fine on Mac OS with CMake, but when I check same project out on Ubuntu 12.04, I'm getting undefined reference errors at link time. Here's the relevant section of the CMakeLists.txt file, and make VERBOSE=1 output for both Mac OS X (success) and Ubuntu 12