MEX file compilation error (windows.h)
Mostra commenti meno recenti
im trying to use "Windows screenshots" but have a problem with creation of mex file corresponding to file "screenshot.cpp"
Windows screenshots is here: https://nl.mathworks.com/matlabcentral/fileexchange/42841-windows-screenshots
i always get error messages:
.....screenshot.obj:screenshot.cpp:(.text+0x38): undefined reference to `__imp_CreateCompatibleDC'
.....screenshot.obj:screenshot.cpp:(.text+0x52): undefined reference to `__imp_CreateCompatibleBitmap'
...
if i try to do:
mex screenshot.cpp
system: win 10 (64)
tried different c++ compilers (mingw64, Microsoft Visual C++)
please help
or please compile mex file
Risposte (0)
Categorie
Scopri di più su MATLAB Support for MinGW-w64 C/C++ Compiler in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!