I am using ARToolKit 2.65 by Jürgen Zauner linking with static wrapper
libraries ARFrameGrabberdll.lib and AR32dll.lib.
Somehow I am not able to set any of the modes (like 'arFittingMode'
or 'arImageProcMode')that I want to change. If i try something like:
arMatchingPCAMode = AR_MATCHING_WITH_PCA;
arDebug = 1;
I get build errors like this:
Camera.obj : error LNK2001: unresolved external symbol _arMatchingPCAMode
Debug/ARTServer.exe : fatal error LNK1120: 1 unresolved externals
In 'ar.h' the modes are defined as 'extern ART_API_IMPORT' so I tried to
add 'ART_API_IMPORT int arDebug;' to one of my C files as is normal with
global extern variables. I am then able to build my project, but my
modes are still not changed...