EMsoft-org / EMsoftSuperbuild

EMsoft SDK super build
8 stars 40 forks source link

Fail to build EbsdLib #16

Closed Darkhunter9 closed 4 years ago

Darkhunter9 commented 4 years ago

Hi: I'm trying to use some header files in EMsoftWorkBench, which requires the build of EbsdLib in EMsoft_SDK. The cmake command is run successfully: cmake -DEMsoft_SDK=/Some/Path/To/EMsoft_SDK -DCMAKE_BUILD_TYPE=Release ../ When I run "make -j", there are several errors with EbsdLib. Combining the error info and CMakeLists.txt under "EMsoft_SDK/superbuild/EbsdLib/Source/EbsdLib", I think there are some problems: (1) image H5support folder doesn't exist, even hdf5 is downloaded and compiled;

(2) image TBB is not downloaded. Trace back to "TBB.cmake" under "EMsoftSuperbuild/projects", it's probably because the tbb_url_server is changed, and specific tbb_VERSION required is removed;

Currently after trying several times I still cannot find a way to build EbsdLib successfully...

Darkhunter9 commented 4 years ago

If turning off both EbsdLib_ENABLE_HDF5 and EbsdLib_USE_PARALLEL_ALGORITHMS (TBBsupport), there will be errors during build of EbsdLib (from EMsoft_SDK/superbuild/EbsdLib/Stamp/Release/EbsdLib-build-err.log): image

Darkhunter9 commented 4 years ago

The problem is solved in the latest version. The system I used is Redhet/CentOS.