I try to compile the example from the ofxAruco addon on Win8.1 with MinGW, and i get a lot of those linking errors:
C:/dev/of_v0.9.8_msys2/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofAppGlutWindow.o):ofAppGlutWindow.cpp:(.text+0x157): undefined reference to `_imp__glutGet@4'
I looked inside libopenFrameworks.a
and ofAppGlutWindow.o
is there.
All is compiled with the c++11 standard, for 32bit architecture.
I use:
OpenFrameworks 0.9.8
MinGW
Make 4.2.1
gcc 6.2.0
To create the makefile for the ofxAruco library i used:
Cmake 3.7.0
Why the linker can’t find the functions in the object file?
Maybe for a plan B: Where i have to look to know exactly which source files needs other files (if i want to create from scratch a new makefile)
If you need more information to help me to solve this issue, just ask
Thank you!