Am doing a recompile of a client's app under windows. NOT cross-compiling under Linux. Win Server 2019, copied my app's code from Linux to the Windows VM.
I built wxWidgets with:
Code: Select all
mingw32-make SHELL=CMD.exe -j8 -f makefile.gcc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=1
When I compile my app (fairly large) - it compiles just fine. At link time - I am getting this error:
Code: Select all
undefined reference to `__imp_OleInitialize'
I would appreciate some pointers - I am NOT a Windows guy nor am I a fan. Just following my client's instructions. I'm missing something obvious to a Windows dev.
Dave
Server 2019
CodeBlocks 20.03 with the bundled ming compiler suite
wxWidgets 3.1.4 (built from source using the ming compiler suite)