[Metakit] mingw/msys with 2.4.9.6

Jean-Claude Wippler jcw at equi4.com
Sun Dec 3 01:00:56 CET 2006


Darel Finkbeiner wrote:

> I use this line to compile everything in the ./src directory:
> g++ -O3 -c *.cpp -Dq4_INLINE -I../include -I../win
>
> no problems, this works without any errors on 2.4.9.5 and 2.4.9.6  I
> then create a static lib using:
> ar -cq libmk4.a *.o
> ranlib libmk4.a
>
> Cool.  Then I try to compile it into my program with a -lmk4 switch.
>
> With 2.4.9.5 this works without problems.  In 2.4.9.6 however, I get
> undefined references for every call to metakit stuff.

Try replacing "-lmk4" with "libmk4.a" (including the proper path).
Also, make sure you compile your code with "Dq4_INLINE" as well.
If that's not it, then please post a summary of the errors you see.

-jcw




More information about the Metakit mailing list