我正在使用CMake 3.7.1。我想使用Visual Studio 2015 x64构建OpenEXR 2.2。发布版本包含详细的构建说明: Launch a command window, navigate to the IlmBase folder with CMakeLists.txt,and type command: setlocal del /f CMakeCache.txt cma
我想编译OpenEXR with emscripten并将其链接到我的程序,最终将成为html文件。 编译OpenEXR with emscripten我没有问题。问题是当我尝试链接.bc文件与我的应用程序。我得到一个错误,说 “EXEC:error:链接全局名为'main':符号乘以 defined!”。 我跟踪到这个错误,发现在OpenEXR内的一个CPP文件中有一个main函数。它是b44E