[Vm-dev] OpenGL vs VMMaker

Chris Cunnington brasspen at gmail.com
Fri Jan 8 03:52:30 UTC 2016

> On Jan 7, 2016, at 9:53 PM, KenD <Ken.Dickey at Whidbey.com> wrote:
> Hi there,
> I am trying to build a minimal interpreter VM.

You’re removing things to find out what’s essential, I take it? Pulling things out until something breaks?

> I have B3DAcceleratorPlugin in the Plugins Not Built pane in the VMMakerTool.
You don’t see it In the GUI. Do you see B3DAcceleratorPlugin in /home/kend/SqueakVM/src/plugins.ext? I expect you will, as it’s clearly trying to compile it. 

> Why is the build trying to find the (Open)GL header file?

Because it’s trying to build the B3DAcceleratorPlugin. 

I think regardless of this plugin, you’ll need gl.h.
You’ll need a graphics library. I usually just execute the following in Linux and forget about it. 
(See the last line)

apt-get install lib32z1-dev -y	# install 32-bit libs
apt-get install libsm-dev:i386	# for Squeak vm
apt-get install libglu1-mesa:i386	# X11 for Squeak
apt-get install uuid-dev:i386	# for Squeak vm
apt-get install mesa-common-dev:i386 # add gl.h  

And you’re compiling to 32-bit, right? For the Interpreter that is by far the more common path. 
I always say this, but this is fun: 

http://lists.squeakfoundation.org/pipermail/squeak-dev/2012-October/166038.html <http://lists.squeakfoundation.org/pipermail/squeak-dev/2012-October/166038.html>


> [This happens under Linux on x86-64 and on ARM]
> ========
> [ 26%] Building C object CMakeFiles/squeakvm.dir/vm/sqUnixMain.c.o
> In file included from /home/kend/SqueakVM/platforms/unix/vm/SqDisplay.h:16:0,
>                 from /home/kend/SqueakVM/platforms/unix/vm/sqUnixMain.c:115:
> /home/kend/SqueakVM/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:27:7: error: #error *** cannot find gl.h
> #     error *** cannot find gl.h
>       ^
> ========
> Thanks much.
> -KenD

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160107/05a44417/attachment.htm

More information about the Vm-dev mailing list