[Vm-dev] Squeak.rc FILEVERSIONVALUES
Ben Coman
btc at openinworld.com
Wed Sep 19 13:17:13 UTC 2018
I tried to build via "build.win32x86/squeak.cog.spur/mvm" but got an error
with the resource file...
```
i686-w64-mingw32-windres \
--include-dir ../../platforms/win32/misc \
-D_WIN32 \
-DFILEVERSIONVALUES=,,, '-DFILEVERSIONSTRING=\"...\\0\"' \
-i Squeak.rc \
-o builddbg/vm/Squeak.res
==>
i686-w64-mingw32-windres: Squeak.rc:7: syntax error
make[1]: *** [../common/Makefile:296: Squeak.res] Error 1
```
I see a reference at the top of [1] to this for Pharo but no direct
resolution is mentioned.
[1] http://forum.world.st/Compiling-the-windows-32-bits-vm-td5072691.html
[Squeak.rc:7](
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.win32x86/squeak.cog.spur/Squeak.rc#L7)
is...
```
FILEVERSION FILEVERSIONVALUES
```
and the value ",,," supplied for FILEVERSIONVALUES on the command line
seems invalid.
I see Pharo has hardcoded the value...
https://www.diffchecker.com/O36vXV5b
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.win32x86/pharo.cog.spur/Pharo.rc#L7
```
FILEVERSION 5,0,0,0
```
and if I do the same in Squeak.rc the build completes.
So should I submit a PR for that, or does anyone know how the command line
"FILEVERSIONVALUES"
is supposed to be supplied a proper value? Searching the repo doesn't give
any hints...
https://github.com/OpenSmalltalk/opensmalltalk-vm/search?q=FILEVERSIONVALUES
cheers -ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180919/f1daff68/attachment.html>
More information about the Vm-dev
mailing list