目前我正在尝试将 Visual C++ 应用程序移植到 Linux。代码在 Visual Studio 中编译没有错误,但在 Linux 下我得到很多编译器错误。这些错误之一是:
../src/wktools4.cpp:29: error: no matching function for
call to 'operator new(unsigned int, const char[40], int)'
更多信息:
- IDE:使用 G++ 的 kdevelop
- 图形接口:
错误出现在以下行:
IMPLEMENT_APP(Cwktools4App)
和其他一些行。
我错过了什么?