Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Weird linking error on wxSmith plugin on Windows

<< < (2/2)

Jenna:
Should be fixed in trunk, thanks Tim.
My fix is slightly different to yours and undefines _UNICODE only when including squirrel.h from our sources.

It works on Fedora 24 64 bit with ggcc 6.1, wx2.8.12 and wxsvn  and also on Win10 with wx2.8.12 and gcc4.8.
Neither with gcc64 on windows, nor with wx30 on windows

stahta01:

--- Quote from: jens on July 21, 2016, 02:43:25 pm ---Should be fixed in trunk, thanks Tim.
My fix is slightly different to yours and undefines _UNICODE only when including squirrel.h from our sources.

It works on Fedora 24 64 bit with ggcc 6.1, wx2.8.12 and wxsvn  and also on Win10 with wx2.8.12 and gcc4.8.
Neither with gcc64 on windows, nor with wx30 on windows

--- End quote ---

It built without error on Windows 7 [32 bit] using wxWidgets 2.8.12 using MSys2 GCC Compiler.
Edit: gcc version 5.3.0 (Rev5, Built by MSYS2 project)

Tim S.

Navigation

[0] Message Index

[*] Previous page

Go to full version