Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: BillB on April 14, 2005, 01:56:00 pm

Title: How do I do a UNICODE build? Trying to rebuild DX9 samples
Post by: BillB on April 14, 2005, 01:56:00 pm
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
Title: How do I do a UNICODE build? Trying to rebuild DX9 samples
Post by: mandrav on April 14, 2005, 03:23:08 pm
Quote
Command execution failed...

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.
Title: How do I do a UNICODE build? Trying to rebuild DX9 samples
Post by: Cathail on June 03, 2005, 09:35:22 pm
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.