after deleting the suggested files, and skipping the VLC plugin, GL headers are still not found, the problem remains:

libtool: link: rm -fr  .libs/libGem.a

libtool: link: ar cru .libs/libGem.a .libs/libGem_la-glew.o .libs/libGem_la-Cache.o .libs/libGem_la-ContextData.o .libs/libGem_la-Dylib.o .libs/libGem_la-Event.o .libs/libGem_la-Exception.o .libs/libGem_la-Files.o .libs/libGem_la-GLStack.o .libs/libGem_la-Image.o .libs/libGem_la-ImageLoad.o .libs/libGem_la-ImageSave.o .libs/libGem_la-PixConvertAltivec.o .libs/libGem_la-PixConvertSSE2.o .libs/libGem_la-Loaders.o .libs/libGem_la-Manager.o .libs/libGem_la-PBuffer.o .libs/libGem_la-Properties.o .libs/libGem_la-Rectangle.o .libs/libGem_la-Settings.o .libs/libGem_la-Setup.o .libs/libGem_la-State.o .libs/libGem_la-VertexBuffer.o 

/opt/local/bin/ranlib: object: .libs/libGem.a(libGem_la-glew.o) malformed object (unknown load command 1)

ar: internal ranlib command failed

make[3]: *** [libGem.la] Error 1

make[2]: *** [all-recursive] Error 1

make[1]: *** [all] Error 2

make: *** [all-recursive] Error 1


On Tue, Nov 27, 2018 at 6:38 PM IOhannes m zmölnig <zmoelnig@iem.at> wrote:
On 11/27/18 5:28 PM, Csaba Láng wrote:
> Iohannes,
> answering your question:
> $ find . -name libGem_la-glew.o -exec file {} +
> ./src/Gem/libGem_la-glew.o:       Mach-O 64-bit object x86_64
> ./src/Gem/.libs/libGem_la-glew.o: Mach-O 64-bit object x86_64

thanks.

>
> Does it help in solving the what causes my unsuccessful compilation?

no. unfortunately not.
however, googling a bit for the error you get with glew, i get:
> "Unknown load command" errors can happen when an object is built for
> one Mac OS X version and then used on an earlier Mac OS X version.

so i guess that you upgraded macOS somewhere inbetween building
Gem-with-VLC and the current attempts.

>
> When you suggest to delete the .o and/or .lo files in which folder did you
> mean it?
>

all folders inside Gem.

gfmsard
IOhannes

_______________________________________________
GEM-dev mailing list
GEM-dev@lists.iem.at
https://lists.puredata.info/listinfo/gem-dev