Test1 doesn't compile some functions and hdf5 error when calling cg_iric_write_errorcode
Closed this issue · 0 comments
scharlton2 commented
Clone this repository.
Download and unzip the latest iricsdk-4.0.x.7z release.
In a command prompt or powershell prompt run the following:
> cd iriclib_v4
> mkdir _build
> cd _build
> cmake -DCMAKE_PREFIX_PATH="C:\Issues\iric\iriclib\issue1\iricsdk\hdf5-1.8.21\cmake\hdf5;c:\Issues\iric\iriclib\issue1\iricsdk\poco-1.9.4\lib\cmake\Poco" ..
> cmake --build . --config Release
Run tests
> ctest -C Release
or
> cd .\unittests\test1\
> .\Release\test1.exe
For the functions that don't compile
remove the preprocessor definitions on lines 204 and 266 in Test1.f90