-
Notifications
You must be signed in to change notification settings - Fork 109
hardcopy missing
Volker Enderlein edited this page Dec 25, 2019
·
4 revisions
You are here: Home → Documentation → Mac information page → Coin3D/Mac FAQ → Potential Errors and Warnings → hardcopy missing
The include paths for the HardCopy classes for vectorized printing are
#include <HardCopy/XXX>
instead of
#include <Inventor/annex/HardCopy/XXX>
This is intentional: It's the path that TGS Inventor uses, and we want Coin and Inventor to be as compatible as possible.
You options are:
- Add "-I/Library/Frameworks/Inventor.framework/Headers/annex" to your compiler flags. (This is how we do it on Windows and GNU/Linux.)
- Create a symbolic link /usr/local/include/HardCopy, which points to /Library/Frameworks/Inventor.framework/Headers/annex/HardCopy.
- If you write the code yourself: It is perfectly possible to write <Inventor/annex/HardCopy/XXX>, which will make your code more portable between Coin on different platforms, but not portable between Coin and TGS. (TGS doesn't support Mac OS X at all, so if you want Mac OS X support, that's probably your best option.)