Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Not a Bug
-
2.3.0
-
None
-
None
-
Windows 7 Enterprise
Msys2 Mingw64
Affects gcc and g++
Description
REMOVE THIS BUG REPORT, IT WAS A USER ERROR! Sorry!
The following error occurs when attempting to compile MariaDB C Connector with an included Fltk lib (Just recompiled fltk-1.3.3 to confirm it wasn't a bad copy).
What I am typing in Mingw64 shell (part of Msys2):
g++ -o ./test.exe -I'../MariaDB Connector C 64-bit/include' -I/usr/local/fltk-1.3.3/include -mwindows -L/usr/local/fltk-1.3.3/lib '../MariaDB Connector C 64-bit/lib/libmariadb.dll' /usr/local/fltk-1.3.3/lib/libfltk.a -lole32 -luuid -lcomctl32 ./cellstructures.cpp ./test.cpp
and
gcc -o ./test.exe -I'../MariaDB Connector C 64-bit/include' -I/usr/local/fltk-1.3.3/include -mwindows -L/usr/local/fltk-1.3.3/lib '../MariaDB Connector C 64-bit/lib/libmariadb.dll' /usr/local/fltk-1.3.3/lib/libfltk.a -lole32 -luuid -lcomctl32 ./cellstructures.cpp ./test.cpp
Which results in these errors
C:\Users****\msys64\tmp\ccj6bAyV.o:cellstructures.cpp.rdata$.refptr.FL_NORMAL_SIZE[.refptr.FL_NORMAL_SIZE]+0x0): undefined reference to `FL_NORMAL_SIZE'
C:\Users****\msys64\tmp\ccj6bAyV.o:cellstructures.cpp.rdata$.refptr.fl_graphics_driver[.refptr.fl_graphics_driver]+0x0): undefined reference to `fl_graphics_driver'