MEX file compilation error (windows.h)
Afficher commentaires plus anciens
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
Réponses (0)
Catégories
En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!