Author Topic: Problems building C++ code using a Serial library  (Read 1037 times)

Online stahta01

  • Lives here!
  • ****
  • Posts: 6951
    • My Best Post
Re: Problems building C++ code using a Serial library
« Reply #15 on: June 17, 2020, 02:58:54 pm »
The right way to do this is probably add
Code: [Select]
UNICODEin Project->Build options->Select your project name on the left->Compiler settings->#defines

i was thinking
Quote
wxUSE_UNICODE
expands to this on windows, but i was wrong....

A lot of the CB Project I look at add both "UNICODE" and "_UNICODE".

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org