WinAPI compile problem #8905
Unanswered
Vuk Maric (VukMar)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions