For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

.lib.....

Mathias Neyer's picture
Forums: 

In the moment i include ALL .lib files that are in the lib-directory. I wish to have it more structured and comfortably so i can find an single statement. (its very hard when i have about 100 libs included!!)

now my question is how can i quickly find out which .lib files are neccesary to build my project.
Do I have to add/remove each lib file -> make a build and see what happens? This would take a long long time :-(
a list of all my inlcudes:

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

#include
#include
#include
#include
#include
#include

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

Thanks in advance and best regards

mathias

Bearloga's picture

The best way is concluded in finding the name of the package of each used OCC class (all characters before underscore in the class name) in all files named "PACKAGES" in source directories whose names begin with "TK". The corresponding toolkit library should be included during linking.
Using grep:
grep "gp" src/TK*/PACKAGES
will give you src/TKMath/PACKAGES, so you should add TKMath.lib