0
votes

Im new to QNX and and not experienced with larger software projects in general. Im trying to include the tinyXML2 library into my QNX Momentics project. I have the .cpp and the .h file of the library but I dont understand how I should correctly include these files into my project so they can be referenced from my main code(included with an #include statement)

hope someone can help

thanks

1
Im using QNX Momentics on Windows - Claude Hasler

1 Answers

0
votes
  1. First you should put library source files (*.cpp and *.h) into /src/ for library building.
  2. When you need to use this library in your project - just #include "library_name/lib.h" library header.