User forums > Help

mingw missing libs

<< < (2/2)

Denis Mungle:
Here are my MinGW and CB project .zip , i still cant understand why the -ldwmapi lib cant be found. The compiler settings and linker settings are still the same as i previously said, the compiler installation dir is the auto-detected C:\MinGW. Do i have to add a full path to the lib?

Also when i write in the command line pkg-config --libs gtk+-3.0
-LC:/msys64/mingw64/bin/../lib -lgtk-3 -lgdk-3 -lz -lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid -lwinmm -ldwmapi -lsetupapi -lcfgmgr32 -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl

It shows the right lib, but i dont know how to access that directory.
Thx

stahta01:
Rename or delete the folder "C:\MinGW"!
Having this folder messes up the CB auto-detect and makes some other MinGW GCC compilers  not work right.
Edit: Other folders that are bad to have include "C:\MinGW32" or "C:\MinGW64".

You then need to set your CB compiler settings to use the MSys2 MinGW64 toolchain.
You need to decide if you wish to use 64 or 32 bit MinGW libraries.
Then you can try to use the MSys2 MinGW64 libraries.

Tim S.

Denis Mungle:
Thx its working now :) !!

Navigation

[0] Message Index

[*] Previous page

Go to full version