adding a library in ccespeople.ucalgary.ca/~smithmr/2016webs/encm511_16/lectures/16_l… · select...

17
Adding a User-Built Library to your Project in CCES Prepared 5/10/2016 by Paul Kathol for Dr. Smith’s ENCM511 class

Upload: others

Post on 23-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Adding a User-Built Library to your Project in CCES

Prepared 5/10/2016 by Paul Kathol for Dr. Smith’s ENCM511 class

Page 2: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Go to Properties C/C++ General Paths and Symbols Include Tab Click Add…

Page 3: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

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

Page 4: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Click Workspace…

Page 5: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Select your library’s src folder and press Ok

Page 6: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Make sure all three boxes are checked, then press Ok

Page 7: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Your Library/src folder should now be listed as shown

Page 8: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Go to Properties C/C++ General Paths and Symbols Libraries Tab Click Add…

Page 9: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Click Workspace…

Page 10: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Select your library’s .dlb file (in the Debug folder) and press Ok

Page 11: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Make sure all three boxes are checked, then press Ok

Page 12: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Your Library/Debug/Library.dlb file should now be listed as shown

Page 13: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Go to Properties C/C++ General Paths and Symbols Library Paths Tab Click Add…

Page 14: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Click Workspace…

Page 15: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Select your library’s Debug folder and press Ok

Page 16: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Make sure all three boxes are checked, then press Ok

Page 17: Adding a Library in CCESpeople.ucalgary.ca/~smithmr/2016webs/encm511_16/Lectures/16_L… · Select your library’s.dlb file (in the Debug folder) and press Ok Make sure all three

Your Library/Debug folder should now be listed as shown