|
|
Hello,
I'm trying to build a hello.cxx code(sample code in the FLTK doc) using Eclipse, with MSYS2 packages mingw-w64-x86_64-toolchain and mingw-w64-x86_64-fltk. Looks like linking comctl32 library does not work properly. Here's the log:
Info: Internal Builder is used for build g++ -static -o hello.exe "src\\hello.o" -lcomctl32 -lfltk -lgdi32 -lole32 -luuid C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../lib\libfltk.a(Fl.o):(.text$_ZL7WndProcP6HWND__jyx+0x41a): undefined reference to `__imp__TrackMouseEvent' collect2.exe: error: ld returned 1 exit status
I have no idea why this error occur even I link the comctl32 library. Could anyone give an advice for this?
PS. Is there any way to use fltk-config script in Eclipse? The IDE simply could not find the script if I manually add it using Linker flags.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/0e7a6297-c979-43d6-84fb-88ca648669d4n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |