“ld: symbol(s) not found for architecture x8664” for Mex-file with Cplex and Matlab on Mac OSX. Referenced from: mexFunction in lpcplexmex.o ld: symbol(s. Symbol(s) not found for architecture x8664unameDarwin Kernel Version 15.3.0: Thu Dec 10 18:40:58.
Hi , am building adaptit app for osx 10.13.4 using wxWidgets-3.0.4 and keep hitting this error in where libtool: link fails in this file :-wxDocument::LoadObject(std::__1::basic_istream<char, std::__1::char_traits<char> >&)', referenced from:
vtable for CAdapt_ItDoc in Adapt_ItDoc.o
when I compiled and linked this whole source set with xcode 9.3 ( april 20th ) it was a straight clean build. Now, updating to xcode 9.4
![Mac ld symbol(s) not found for architecture x86_64 Mac ld symbol(s) not found for architecture x86_64](https://upload-images.jianshu.io/upload_images/1068298-e006116b8be4aa39.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
![Mex Ld Symbol S Not Found For Architecture X86_64 Macos Mex Ld Symbol S Not Found For Architecture X86_64 Macos](/uploads/1/2/6/5/126567174/535817508.png)
This leads me to ask , just how do I compile wxWidgets-3.0.4 on macosx using osx-cocoa and xcode 9.4 ?
Note: wxWidgets-3.0.4/3.1.1 builds happily on linux mint 18.3 with no change to the source and the source app adaptit runs fine.
Any help is much appreciated.
I am using Eclipse to create a C++ Project (not a C/C++, Arduino, C, or Makefile project, but a C++ Project from the wizard) to research the logging capabilities of the Boost Library. I copied the code verbatim from one of Boost's examples for trivial logging, found here, but I am unable to build / run it, and am given the following compilation error in my console:
Having been in a situation with not linking libraries property (in particular, GraphViz), I automatically assumed that it was the same issue. However, as you can see, I linked some libraries but am still getting the same build errors.
Mac Os Ld Symbol(s) Not Found For Architecture X86_64
What am I missing / doing wrong?