Compiling the Squeak Cog VM in FreeBSD
Edwin Ancaer
eancaer at gmail.com
Wed Apr 8 07:07:48 UTC 2020
Tobias,
I hope you will still read my emails, always complaining.
With the correct branch now, I have an issue in the B3DAcceleratorPlugin.
In the display below, you see I have the file GL/gl.h in
/usr/local/include, and it looks as of the Makefile for the plugin did not
take
/usr/local/include as an include library.
clang -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -DCOGMTVM=0 -Wall -pthread
-DLSB_FIRST=1 -m64 -Wno-missing-braces -Wno-unknown-pragmas
-Wno-unused-value -Wno-unused-label -Wno-unused-function
-Wno-unused-variable -DHAVE_CONFIG_H -DSQUEAK_BUILTIN_PLUGIN
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/vm
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/spur64src/vm
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/vm
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/spur64src/vm
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/plugins/FilePlugin
-I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin
-m64 -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value
-Wno-unused-label -Wno-unused-function -Wno-unused-variable -c -o
sqUnixMain.o
/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c
In file included from
/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:134:
In file included from
/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/SqDisplay.h:16:
/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:13:
fatal error: 'GL/gl.h' file not found
# include <GL/gl.h>
^~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make[1]: stopped in
/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build/vm
*** Error code 1
Stop.
make: stopped in
/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build
$ locate GL/gl.h
/usr/local/include/GL/gl.h
/usr/local/poudriere/data/.m/1
Thanks again,
Edwin
More information about the freebsd-questions
mailing list