You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone I have a problem with my compiler( I Think! ), it worked fine so far but I started adding complexity to my application and problems started to arise. I created a basic application and wanted to give it a more pleasant graphical look. But compiler started complaining with undefined reference errors. Like " undefined reference to `__imp_CreatePatternBrush' ". I'm using VS code with MinGW compiler. here is a test example code of my problem:
The error is:
" C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\vuksm\AppData\Local\Temp\cc8sot0T.o:win32test.cpp:(.text+0x89): undefined reference to `__imp_CreatePatternBrush' "
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone I have a problem with my compiler( I Think! ), it worked fine so far but I started adding complexity to my application and problems started to arise. I created a basic application and wanted to give it a more pleasant graphical look. But compiler started complaining with undefined reference errors. Like " undefined reference to `__imp_CreatePatternBrush' ". I'm using VS code with MinGW compiler. here is a test example code of my problem:
The error is:
" C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\vuksm\AppData\Local\Temp\cc8sot0T.o:win32test.cpp:(.text+0x89): undefined reference to `__imp_CreatePatternBrush' "
Thanks in advance for help.
Beta Was this translation helpful? Give feedback.
All reactions