User forums > Using Code::Blocks

How do I do a UNICODE build? Trying to rebuild DX9 samples

(1/1)

BillB:
Hi,
I am trying to rebuild the DirectX SDK samples with the VC++ 2003
toolkit and I have tried everything I can think of to get these
to build in Code::Blocks:

1. Type in /D "UNICODE" into the build options More Options:
Result:
Switching to target: Debug
Command execution failed...

2. Type into the build options Compiler Definitions:
UNICODE or "UNICODE"
Result:
Switching to target: Debug
Command execution failed...

Any suggestions? Has anyone tried this?

Thanks for any help or hints you can give.

BillB

mandrav:

--- Quote ---Command execution failed...
--- End quote ---

When this message appears, switch to the "Code::Blocks Debug" message pane. If it's not visible, enable it in "Settings/Environment options".
Anyway, in this log you will find detailed info of what was the command that failed to execute.

HTH,
Yiannis.

Cathail:
I had the same issue. You can get past it by adding UNICODE=1 to the compiler definitions. There are then a bunch of libs and other things I needed to add to compile the DX SDK samples.

Navigation

[0] Message Index

Go to full version