Compiling of 0.10 in a 32 bit linux


#1

I’m having troubles building OF and ProjectGenerator on a 32 bit linux machine. I managed to compile the libraries with apothecary doing a:

~/openFrameworks/$ sudo ./scripts/apothecary/apothecary/apothecary update core 

after a few attempts it finished without errors.

But, when I try to run compileOF.sh or compile projectGenerator I get the following error message:

/home/*****/openFrameworks/libs/openFrameworks/utils/ofConstants.h:263:10: fatal error: tesselator.h: No existe el archivo o el directorio
 #include "tesselator.h"
          ^~~~~~~~~~~~~~
compilation terminated.

(“No existe el archivo o el directorio” is “Missing file or directory”, I haven’t got the exact translation but the meaning is the same).

The tesselator.h is on the openFrameworks directory:

~/openFrameworks$ find . -name tesselator.h
./scripts/apothecary/out/tess2/include/tesselator.h
./scripts/apothecary/apothecary/build/tess2_patched/Include/tesselator.h
./scripts/apothecary/apothecary/build/tess2/Include/tesselator.h
./scripts/apothecary/tess2/include/tesselator.h

What am I missing on this? Is there any way to tell compileOF.sh (and all these scritps) to use apothecary directory for the libraries and includes?

Thanks a lot, F.


#2

I think you need to run the download_libs.sh script which resides in OF/scripts/linux


#3

Ok, finally solved with this tip from @arturo
https://forum.openframeworks.cc/t/cross-compiling-for-32-bit/13728/12:

coping the libs which where compiled by apothercary to the /OF/libs folder (and the poco library to its proper folder also).