Building the piv.tokend project
Hi, I was asked for some pointers on building the PIV.tokend project… (1) Check out the code svn checkout https://svn.macosforge.org/repository/smartcardservices (2) Launch Xcode and open trunk/Tokend.xcodeproj Switch from World to PIV (3) Build the code - choose “Update to recommended settings: (4) Open the build settings for Tokend: - switch C++ Standard library to: stdc++ (GNU c++) (5) Create the SecurityPieces/Frameworks directory and link to OpenSC.tokend/build get the OpenSC.tokend source code - note the frameworks in the build directory git clone https://github.com/OpenSC/OpenSC.tokend.git mkdir /usr/local/SecurityPieces/Frameworks ln -s Frameworks to OpenSC.tokend/build (6) Build again Token.h line 189 rename one of the two hKeys to something else. (7) Linking: rename tokend.framework/toked_debug to tokend …so that the linker finds it, or figure out why this happens! (8) Copy output PIV.tokend/Contents/MacOS/PIV_debug over /Library/Secuity/tokend/Contents/MacOS/PIV Job done! Hope that helps...
participants (1)
-
david.lloyd@fsmail.net