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

Cotton Candy cottoncandycoder at gmail.com
Tue Sep 6 04:56:56 EDT 2016


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: Library not loaded: libmysqlclient.18.dylib
  Referenced from: /Users/schurger/tmp/test_CMake2/./skedmo-solver
  Reason: image not found
Trace/BPT trap: 5

Any idea how it could build OK without any errors if there was a missing
library?

Thanks!
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160906/5aeb5764/attachment.html>


More information about the CMake mailing list