Okay, it seems the patch is already included in the latest VMMaker image, so no need to apply it.

Still, having executed the script, I get yet another error, this time related to gl.h (why does it need it? I left B3DAcceleratorPlugin out):

[ 95%] Building C object CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
In file included from /home/bromagosa/blessed/platforms/unix/vm/SqDisplay.h:16:0,
�� �� �� �� �� �� �� �� ��from /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:140:
/home/bromagosa/blessed/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:22: fatal error: GL/gl.h: El fitxer o directori no existeix
compilation terminated.
make[2]: *** [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o] Error 1
make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
make: *** [all] Error 2



2013/7/17 Bernat Romagosa <tibabenfortlapalanca@gmail.com>
ouch! I forgot to execute the script this time, and didn't install the patch either.. trying again, thanks! :)


2013/7/17 Guillermo Polito <guillermopolito@gmail.com>
Hi!

before compiling you have to, inside the build folder, execute codegen-scripts/extract-commit-info.sh

Besides, I was looking at luc's tutorial and it lacks one step to have serial plugin built: install the patch he made [1]. Did you do that? I added a comment in the blog entry just in case...

Guille



On Wed, Jul 17, 2013 at 12:18 PM, Bernat Romagosa <tibabenfortlapalanca@gmail.com> wrote:
I found out how to leave B3DAcceleratorPlugin out, but now I get this error almost at the end of the compilation process:

[ 95%] Building C object CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
In file included from /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:41:0:
/home/bromagosa/blessed/platforms/Cross/vm/sqSCCSVersion.h:17:54: fatal error: vmVersionInfo.h: El fitxer o directori no existeix
compilation terminated.
make[2]: *** [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o] Error 1
make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
make: *** [all] Error 2

"El fitxer o directori no existeix" is Catalan for "The file or directory does not exist".

How comes this header isn't there?


2013/7/17 Bernat Romagosa <tibabenfortlapalanca@gmail.com>
Ok, it seems the problem was not having the sources file in the same directory as the image.

Anyway, now I've another problem when trying to compile. cmake runs fine, but make fails with the following error:

Scanning dependencies of target B3DAcceleratorPlugin
[ 57%] Building C object B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
In file included from /home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
/home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19: fatal error: GL/gl.h: El fitxer o directori no existeix
compilation terminated.
make[2]: *** [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o] Error 1
make[1]: *** [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/all] Error 2
make: *** [all] Error 2

Any ideas?��

(For the record, I do not need the B3DAcceleratorPlugin, so I guess it could just be left out, but I don't know how does one do that either)



2013/7/16 Friedrich Dominicus <frido@q-software-solutions.de>
Bernat Romagosa <tibabenfortlapalanca@gmail.com> writes:

> Hi Friedrich,
>
> My machine is already a 32 bits one... here's the output of ldd:
>
> �� �� �� �� linux-gate.so.1 => ��(0xb7782000)
> �� �� �� �� libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6
> (0xb7746000)
> �� �� �� �� libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2
> (0xb7742000)
> �� �� �� �� libpthread.so.0 =>
> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7728000)
> �� �� �� �� libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6
> (0xb75c5000)
> �� �� �� �� /lib/ld-linux.so.2 (0xb7783000)
>
> Thanks! :)
Well that looks fine to me. Sorry that I could not help

Regards
Friedrich




--
Bernat Romagosa.



--
Bernat Romagosa.




--
Bernat Romagosa.



--
Bernat Romagosa.