adding a library in ccespeople.ucalgary.ca/~smithmr/2016webs/encm511_16/lectures/16_l… · select...
TRANSCRIPT
Adding a User-Built Library to your Project in CCES
Prepared 5/10/2016 by Paul Kathol for Dr. Smith’s ENCM511 class
Go to Properties C/C++ General Paths and Symbols Include Tab Click Add…
Before You Begin
• Build a library with a .dlb file as detailed in the lab manual
• Add #include “LibraryName.h” to the header of your project
• For now, CrossCore will show an error for the unresolved inclusion
Click Workspace…
Select your library’s src folder and press Ok
Make sure all three boxes are checked, then press Ok
Your Library/src folder should now be listed as shown
Go to Properties C/C++ General Paths and Symbols Libraries Tab Click Add…
Click Workspace…
Select your library’s .dlb file (in the Debug folder) and press Ok
Make sure all three boxes are checked, then press Ok
Your Library/Debug/Library.dlb file should now be listed as shown
Go to Properties C/C++ General Paths and Symbols Library Paths Tab Click Add…
Click Workspace…
Select your library’s Debug folder and press Ok
Make sure all three boxes are checked, then press Ok
Your Library/Debug folder should now be listed as shown