densecut-linux
densecut-linux copied to clipboard
Compilation problem
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?
You need to download Cmcode and put in current Cmcode
@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.