Hello,
I would like to use dislin with codeblocks (v25.03, using mingw 14.02, windows 10)
I set up a very bare test programme (type "Win32 GUI project")
which in main.cpp has
#include <discpp.h>
and in WinMain()
Dislin g;
//nothing else is called
Following advice in other threads, I set under
Project > Build Options> Linker > other linker options:
-mthreads
..\..\ExtLibs\dislin_gcc\discpp.a -lgdi32 -luser32 -lopengl32
but I get a linker error
undefined ref. to "__imp___iob_func"
(3X, in the same 3 (sub)files dis_win.cpp, errmes.cpp, resall.cpp)
I found online some infos on similar problems but with other compilers/languages/symbols, and the advice given there doesn't help. (eg adding other libraries)
Thanks in advance for any ideas or advice!