我试着使用cimg图书馆。我已经包含了CImg.h头文件。但是,当我试图编译它时,我会得到一个链接错误。/tmp/cc2tvYsW.o: In function `cimg_library::cimg::Mutex_info::trylock(unsigned int)':
tafelbilder.cpp_ZN12cimg_library4cimg10Mutex_info7trylockEj[_ZN12cimg_library4ci
我第一次使用CImg库,使用一个简单的测试程序获得编译错误,该程序只包含CImg.h。为什么会这样呢?我怎么才能解决这个问题?#include "../headers/CImg.h"int main() return 0;编译错误:
In function 'FILE*cimg_library::cimg::fopen(const char*,
我得到了一个浮点矩阵,它将显示为图像..i将其保存为.bin文件,并将其加载到一个单独的.cpp文件中,并使用CImg library...however成功地形成了图像,当我尝试将类似的代码添加到.cuerror: identifier "_ZN12cimg_library4cimg9superset2IfffE4typeE" is undefined#include<CImg.h>
using namespace cimg_