Menu

undefined reference when linking dll with mingw 64, and gcc 4.8.1

Developers
2013-12-22
2014-02-22
  • Andy Gainey

    Andy Gainey - 2014-02-22

    Nearly same situation for me (gcc 4.8.2, MinGW-W64).

    I honestly don't know entirely what I'm doing, but I saw that the files BitmapAccess.o was attempting to reference were defined in PixelAccess.cpp. But in Makefile.srcs, BitmapAccess.cpp came well before PixelAccess.cpp. I simply moved PixelAccess.cpp to the front of the list, did a make clean and then a make, and it appears to have built.

     

Log in to post a comment.