I'm seeing plenty of tags but the only "2.2" one I'm seeing is a "v2.2fixes" I was using the master but I'm trying the "v2.2fixes" for this post....
So you were able to just run it through cmake and then compile with no problem?
----------------------------------------
Run though cmake and the ilmbase has no problem.
Building ILMbase:
After changing the required stuff (static lib instead of
dll/multithreaded/etc...) It went though with no real complains. There is way too much crap added to the solution that you can't change since "It has been generated but the build system."
Run though cmake and the OpenEXR has nothing but problems.
OpenEXR (after pointing it to the zlib folders) gives me a "ILMBASE_PACKAGE_PREFIX =" There isn't any info on that. If I add that as an entry with the path it still complains about it.
When I tell it to generate I get a TON of warnings telling me:
WARNING: Target [various files] requests linking to directory "X:/VDB2015/libraries". Targets may link only to libraries. CMake is dropping the item.
Building Openexr:
This one is fun. It seems to depend on the time of day and what I had to eat for lunch. In addition to the vast amount of crap it adds to this solution it cam't seem to open half.lib most of the time. A bunch of people online have said that this part of the source is really picky about library locations. When I finial force half.lib down its throat I get linker errors most of the time one that.
So given all of that you should be able misunderstand why I say they stopped supporting windows.
PS. I'm using VS GUI as the compiler because I'm coming from the content creation side and don't want to have to learn the cryptic nonsense of command line compiling and make utilities.
#include <openvdb/openvdb.h>#include <iostream>int main(){openvdb::initialize();return(0);}
Error 2026 error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl openvdb::v3_0_0::initialize(void)" (__imp_?initialize@v3_0_0@openvdb@@YAXXZ) X:\VDB2015\test\base\base\Source.obj
add_definitions(-DOPENVDB_STATICLIB -DNOMINMAX -DHALF_EXPORTS)/DOPENVDB_STATICLIB/Zi /nologo /W3 /WX- /O2 /Oi /GL /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "/DOPENVDB_STATICLIB" /D "DNOMINMAX" /D "DHALF_EXPORTS" /D "_UNICODE" /D "UNICODE" /Gm- /EHsc /MD /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fp"x64\Release\vdb2010.pch" /Fa"x64\Release\" /Fo"x64\Release\" /Fd"x64\Release\vc100.pdb" /Gd /errorReport:queue
main.obj : error LNK2001: unresolved external symbol "private: static union half::uif const * const half::_toFloat" (?_toFloat@half@@0QBTuif@1@B)main.obj : error LNK2001: unresolved external symbol "private: static unsigned short const * const half::_eLut" (?_eLut@half@@0QBGB)The procedure entry point LoadPackagedLibrary could not be located in the dynamic link library KERNEL32.dll