[CMake] cmake and wxwidgets on windows

Miguel A. Figueroa-Villanueva miguelf at ieee.org
Tue Nov 4 10:23:22 EST 2008


On Tue, Nov 4, 2008 at 4:44 AM, Werner Smekal wrote:
> Hi John,
>
>> setting the option add_definitions(-D_UNICODE) in my CMakeLists.txt
>> I can compile the minimals sample.
>> executing the minimal.exe I got an error message that the
>> wxbase28u_gcc_custom.dll was not found. after adding the directory
>> containing the dll to %PATH% I could execute the minimal.exe
>> successfully. great.
>
> Good to know. Miguel, it seems that _UNICODE needs to be defined for the
> WIN32 case (if the unicode wxWidgets library is used).

Thanks Werner. However, I'm not sure what the correct solution is... I
googled a bit and can't find any documentation indicating that
_UNICODE needs to be defined.



More information about the CMake mailing list