Author Topic: How do I do a UNICODE build? Trying to rebuild DX9 samples  (Read 8847 times)

BillB

  • Guest
How do I do a UNICODE build? Trying to rebuild DX9 samples
« 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
How do I do a UNICODE build? Trying to rebuild DX9 samples
« Reply #1 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.
Be patient!
This bug will be fixed soon...

Cathail

  • Guest
How do I do a UNICODE build? Trying to rebuild DX9 samples
« Reply #2 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.