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.

>From the following link:

http://docs.wxwidgets.org/stable/wx_unicode.html

it seems that using the correct macros (i.e., wxT(), etc.) should
suffice. There is some information below that suggests that maybe
wxUSE_UNICODE is the macro to define, but even there it is not clear
if this should be done in user code or build configuration.

If somebody can point me to the appropriate documentation or samples
in the wiki, I'll appreciate it.

--Miguel
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to