Xcode 9.4 WxWidgets 3.1 compilation error

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
gku1123
In need of some credit
In need of some credit
Posts: 4
Joined: Fri Mar 22, 2019 5:43 am

Xcode 9.4 WxWidgets 3.1 compilation error

Post by gku1123 »

I have taken a sample code from the wxWidgets Wiki( https://wiki.wxwidgets.org/Creating_Xco ... plications) and have been trying to compile in Xcode 9.4 and MacOS HighSierra(10.13.4 ) wxWidgets 3.1.I have linked libwx_mac-3.1d_xc_9.2.dylib (wxWidgets/binaries/mac/dynamic)to the code project and have added required headers but I am getting a list of errors such as
Unknown type WChar16
A screenshot of the full list of errors is attached. Any help would be appreciated.
Thanks
Attachments
Screen Shot 2019-03-22 at 12.11.57 PM.png
Screen Shot 2019-03-22 at 11.28.07 AM.png
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Xcode 9.4 WxWidgets 3.1 compilation error

Post by doublemax »

I don't work under OSX, so i can't help much. But have you tried building the "minimal" sample that comes with wxWidgets? It's the only one that contains a XCode project file.

Can you build the wxWidgets libraries and the minimal sample from the command line?
Use the source, Luke!
gku1123
In need of some credit
In need of some credit
Posts: 4
Joined: Fri Mar 22, 2019 5:43 am

Re: Xcode 9.4 WxWidgets 3.1 compilation error

Post by gku1123 »

Thanks. I will try it out
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7479
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Xcode 9.4 WxWidgets 3.1 compilation error

Post by ONEEYEMAN »

Hi,
On top what doublemax said:
1. Did you build wxWidgets from the Terminal or from the Xcode?
2. If the former - what configure line did you use?
3. I presume the compilation went good - without errors and/or warnings?

Also for future references - it is better to copy/paste the errors, rather than providing screenshots.
Some people who may be blind will not be able to. And it is easier to read for everybody else.

Thank you.
Post Reply