I am trying to port a wxWidgets application on Mac OS. My configuration is :
- MacOS X 10.13.6 (High Sierra)
- wxWidgets 3.1.3
- XCode 7
I have created a test application following the tutorial here : https://wiki.wxwidgets.org/Creating_Xco ... plications
but XCode fails with an error : compilation is OK but linker stops with the following error "Library not found for -lwx_osx_cocoa_static".
I don't understand at all from where this linker error comes from. My project is linked to libwx_osx_cocoa_static.a (added to the project using the Link Binary with Libraries build phase) not to anything called wx_osx_cocoa_static
I tried to find the library the linker looks for in wxWidgets directory, but it does not seem to exist. The only files I find with this name are wx_osx_cocoa_static.LinkFileList and wx_osx_cocoa_static_.hmap, which are in the build directory.
I am pretty sure that I make a really stupid error, but since I am searching for the cause of this error since this morning, my eyes are getting blurry
What is the thing I am missing (what should I do in my XCode project to solve this issue) ?
Thank you for your help....
Benoit