Fri, 07/12/2024 - 09:37
I am trying to create the instance of the "RWGLtf_CafReader" class, but it is giving the following issues
RWGLtf_CafReader reader; (This line I am using to create the instance of "RWGLtf_CafReader" class).
ISSUES:
1.:-1: error: CMakeFiles/temp.dir/main.cpp.o: warning: relocation against `_ZTV16RWGltf_CafReader' in read-only section `.text._ZN16RWGltf_CafReaderD2Ev[_ZN16RWGltf_CafReaderD5Ev]'
2. /home/pts/Documents/Temp projects/temp/main.cpp:6: error: undefined reference to `RWGltf_CafReader::RWGltf_CafReader()'
3. /home/pts/Documents/Temp projects/temp/RWGltf_CafReader.hxx:25: error: undefined reference to `vtable for RWGltf_CafReader'
Could you please let me know, how I should fix this issue? (I have also attached the screenshot).
Fri, 07/12/2024 - 10:32
Hello, is it your custom project?
Did you link TKDEGLTF? And other dependecies libs?
CMake sample for link to lib: DE_Wrapper-Sample/src/CoreDE/CMakeLists.txt at main · dpasukhi/DE_Wrapper-Sample (github.com)
CMake sample to link to exe: DE_Wrapper-Sample/src/ConsoleCPP/CMakeLists.txt at main · dpasukhi/DE_Wrapper-Sample (github.com)
Best regards, Dmitrii.
Fri, 07/12/2024 - 12:08
Including TKDEGLTF, resolved the issues.
Thanks
Fri, 07/12/2024 - 14:33
One more question,
which dll is used for the "RWGltf_CafWriter" class?
also, tell me how to check which dll is useful for which class.
Fri, 07/12/2024 - 16:13
Hello, reference manual can help you. But looks like there are not for 7.8.0. The difference - cad related things splited into specific.
Open CASCADE Technology: Open CASCADE Technology
I will request to update that. Probably it will be ready in the next week.
Best regards, Dmitrii/
Fri, 07/12/2024 - 16:26
For now you can build by yourself (Open CASCADE Technology: Build Documentation)
Best regards, Dmitrii.