windres.exe: preprocessing failed.


Tweet
(Posted 9 months ago) lavalamp

Hi, I tried a fresh copy of NG , the exe compiles fine, but I'm not getting the .ICO or .SETTINGS files applied, I assume its due to the below error?

'C:/Program' is not recognized as an internal or external command,
operable program or batch file.
C:/Program Files/BlitzMax/MinGW32x86/bin/windres.exe: preprocessing failed.
(Posted 9 months ago) RonTek commented:

'C:/Program' is not recognized as an internal or external command,

The path should be enclosed in double quotes that is why it is being cutoff and incomplete there for it to run properly. I am not sure about the latest version of NG but have not encountered this issue before.

(Posted 9 months ago) lavalamp commented:

Thanks RonTek, that fixed the same issue with Visual Studio pluggin for BlitzMax, but I was unable to find where this is set in BlitzMax

(Posted 9 months ago) RonTek commented:

C:/Program Files/BlitzMax/MinGW32x86/bin/windres.exe

Ah! I did notice that it is highly recommended and the norm to install blitzmax in the root folder or in a subfolder/path that does not have space in it.

Adding to that, program files has admin/elevated permissions so it gets more restricted.

Just install NG in any path that does not have space in it and avoid the windows special folders.

Reply To Topic (minimum 10 characters)

Please log in to reply