densecut-linux icon indicating copy to clipboard operation
densecut-linux copied to clipboard

Compilation problem

Open Alpus opened this issue 9 years ago • 2 comments

When I tried to build mmcheng_github, I had this error: CmLib/./Basic/CmFile.h:20:68: error: cannot convert ‘std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}’ to ‘bool’ in return #define MoveFileExA(x,y,z) cout<<"Error: MoveFileExA not defined"<<endl;

Can you help me with that? Need I use some particular compilator or flags?

Alpus avatar Feb 03 '17 14:02 Alpus

You need to download Cmcode and put in current Cmcode

jackweiwang avatar Apr 11 '17 09:04 jackweiwang

@Alpus You have to change this line to

return rename(src.c_str(), dst.c_str());

Also you have to add #include <stdio.h> after all #ifndef's.

gf0507033 avatar Dec 21 '18 13:12 gf0507033