Hey folks,
I've tried to compile an application with Directx. But this causes an PRJ0030 error for $(). How can I escape critical characters like (,) or blanks. Refering to the cmd I've used ^ but it does not help.
Kind regards, Gerrit
Hey folks,
I've tried to compile an application with Directx. But this causes an PRJ0030 error for $(). How can I escape critical characters like (,) or blanks. Refering to the cmd I've used ^ but it does not help.
Kind regards, Gerrit
cmd.exe
unfortunately isn't a proper shell like bash
, and parsing the command line is up to each individual program. I can't speak for devenv.exe
but a common convention is to surround troublesome strings with double quotes ("
).
AdditionalLibraryDirectories=""$(DIRECTX_ROOT)\Lib\x86""
"
should not be there. $(DIRECTX_ROOT) requires the macro to be set in a project property sheet. You are better off spelling it out:
AdditionalLibraryDirectories="c:\blah\dx9\Lib\x86"