Bug: Spaces in path when compiling jSmile

The engine.
Post Reply
jonnie
Posts: 41
Joined: Mon Feb 06, 2012 12:49 pm

Bug: Spaces in path when compiling jSmile

Post by jonnie »

When I tried to compile jSmile I ran into problems with spaces in my path. Here's how I fixed it:
- in the buildj.bat, add first line: cd %~dp0
(It makes the rest of the script to be executed from the directory where the batch script is located in. I'm not sure if this was the measure that fixed the problem.)
- hand-editing the xml of jsmile_public.vcxproj, I put quotation marks around the path placeholders:
cmd /c "%(FullPath)"
javac -cp java\smile.jar "%(FullPath)"
...for both Debug and Release configurations. After that, the java compilation step was processed without problems.
So, a simple fix to an unimportant problem. Hope it gets integrated into the product.
(I used Win7 x64 and Microsoft VC++ 2010 Express.)
Martijn
Posts: 76
Joined: Sun May 29, 2011 12:23 am

Re: Bug: Spaces in path when compiling jSmile

Post by Martijn »

Thanks for the feedback on that, I did notice that myself when I compiled it.

I'll see to it that it's fixed.

Btw, did you manage to compile a 64 bit dll? If so I'll won't have to email it (from your other post)
Post Reply