Open errollgarner opened 8 months ago
Are you using the latest PlusBuild with the AtracsysSDK_HOME environment variable defined?
I believe I was, but I guess there's a possibility I was in a weird state of checkouts since I tried a couple of things first. I'll redo a clean build to make sure.
I confirm that using the latest master branch of PlusBuild on Linux Mint (Ubuntu 22.04) results in:
make[5]: *** No rule to make target '/home/user/PLTools/Atracsys/linux/ftk/lib/fusionTrack64', needed by '/home/user/build_plusbuild/bin/libvtkPlusDataCollection.so'. Stop.
make[4]: *** [CMakeFiles/Makefile2:1967: src/PlusDataCollection/CMakeFiles/vtkPlusDataCollection.dir/all] Error 2
make[3]: *** [Makefile:146: all] Error 2
make[2]: *** [CMakeFiles/PlusLib.dir/build.make:92: PlusLib-prefix/src/PlusLib-stamp/PlusLib-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:1013: CMakeFiles/PlusLib.dir/all] Error 2
make: *** [Makefile:101: all] Error 2
And removing the offending line of the CMakeLists enables compilation.
Are you using the latest PlusBuild with the AtracsysSDK_HOME environment variable defined?
The AtracsysSDK_HOME variable was indeed not set at the environment level though. Why is this a new requirement? What does it need to be set to?
It was introduced as part of this pull request (https://github.com/PlusToolkit/PlusBuild/pull/93) to update for the latest SDK changes. I assume that it needs to point to the install directory of the SDK. @atracsys-sbt can clarify.
Indeed, since the latest version of our SDK, we now rely on environment variables for our SDK installation. In Windows, this is automatically done in the Registry. In Linux, unfortunately, this variable needs to be manually set, as described in our user manual.
I don't know if this line is required on Windows. I'm assuming it is (I can't test currently), so I moved it in the windows section. If not, then it could be removed entirely. On Linux it adds an non-existent object to all dependent build.make files which causes compilation to fail.