Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2020 09:07:36 +0200
From:      Edwin Ancaer <eancaer@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Compiling the Squeak Cog VM in FreeBSD
Message-ID:  <CAMSnosPLvxjwF8wMtxxZncw--H8LpGqSZmG3T4ccE9Bq_vywSw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMSnosPLvxjwF8wMtxxZncw--H8LpGqSZmG3T4ccE9Bq_vywSw>