Hello! Is it possible to use the framework (Log.hpp and Checks.hpp for example) in a project structure which I set up through the host compilation tutorial? I want to be able to do #include <framework/Checks.hpp> in my files like you have done in your samples.
When you say include into the path, what do you mean? The only way I have managed to do it is through copying the files into the project and doing #include “Checks.hpp” for example. But it hasn’t been working out very well.
Hi again! I managed to solve the issue with the help of an Nvidia guy here in Gothenburg, Sweden.
We solved it by copying the framework folder to the src folder where our project is and by changing the CMakeLists.txt in both the root and in the individual project.
We’re using the standard CMakeLists.txt from the tutorial with some additions, here is the part that is different from the standard one (this is the root CMakeLists.txt):
By doing this I could successfully build projects both for host and target while including framework files. By framework files I mean includes such as this: