User forums > Using Code::Blocks

DXUT requires a unicode build.

<< < (2/2)

Michael:

--- Quote from: shamyland on December 10, 2005, 06:54:37 pm ---I'm getting the same error. I changed the character set to 'use Unicode Character set' and it's still giving me the same error.
I'm using MS VS.NET and the Project item in the menue doesn't have the option Build options->Compiler->#defines can someone help please I need an answer ASAP.
Thnx

--- End quote ---
Hmmm, strange. I have:

project->DXTU properties->General->Characters set->"Use Unicode Character Set"

and my compiler command line looks like:


--- Quote ---/Od /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MTd /Yu"dxstdafx.h" /Fp"Debug/DXUT.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /nologo /c /Wp64 /ZI /TP

--- End quote ---

Try to add UNICODE and/orĀ  _UNICODE to the C/C++->Preprocessor->Preprocessor Definitions.

If this does not help, then you can try to post your question in a MS Visual Studio forum :wink:.

Michael

Navigation

[0] Message Index

[*] Previous page

Go to full version