Re: [CMake] works when I build using XCode, but not with CMake makefile

2016-09-12 Thread Cotton Candy
Thanks. I checked the link (it is a softlink) and the target of the link exists with a file size of 4.2 Mb. Aaron On Fri, Sep 9, 2016 at 4:36 PM, wrote: > > > - On Sep 7, 2016, at 12:52 PM, Cotton Candy < > cottoncandyco...@gmail.com> wrote: > > Here is the output

Re: [CMake] works when I build using XCode, but not with CMake makefile

2016-09-07 Thread Cotton Candy
/libmysqlclient.18.dylib. > And it may also help to see if there is a difference in the otool output > in the Xcode vs makefile scenario. > > Also, it may help to check the output of "otool -l skedmo-solver" for both > the Xcode and makefile scenario. > > Clint >

Re: [CMake] works when I build using XCode, but not with CMake makefile

2016-09-07 Thread Cotton Candy
it would be nice to have more obvious pointers to cmake > example projects like an example SDK or so. If there is, please let me > know. I only found this: > http://www.vtk.org/Wiki/CMake/Examples#Finding_Packages > but that's tied to vtk. > > Best, > peter > > On 09/06/2016

Re: [CMake] works when I build using XCode, but not with CMake makefile

2016-09-06 Thread Cotton Candy
Peter, In XCode I have this list of "settings" that includes "Other Linker Flags" that I have set to "-lmysqlclient -lpthread -lm -lz" and "Other C++ Flags" that I have set to "-L/Applications/MAMP/Library/lib -lmysqlclient -lpthread -lz" Maybe these explain why things work when I build with XCode

[CMake] works when I build using XCode, but not with CMake makefile

2016-09-06 Thread Cotton Candy
Hi, I have a project that I originally coded up using XCode. It builds and runs just fine using XCode. Now I have tried to set up the same project using CMake to generate a makefile. The project builds 100% without any errors using 'make', but the resulting code doesn't work. I get error: dyld: Lib

[CMake] trouble with find_package

2016-08-24 Thread Cotton Candy
Hi, Cmake was having trouble finding the MySQL libraries on my machine so I tried using find_package with a package finder that I downloaded ( https://gist.github.com/RenatoUtsch/1623340) called FindMySQL.cmake. In my CMakeLists.txt file I added: set(CMAKE_MODULE_PATH ${C