Hi Sam,
you are compiling ARToolKit in-tree which is not supported anymore - it
will find the old config.h in include/AR which I need to remove in order
to make sure the "error" is more obvious. Please follow the tutorial
here: http://osgart.org/wiki/Building_ARToolKit ... its for Windows,
just ignore DirectShow things etc. pp. - most important is the part
about creating a build directory which should not be the source directory.
Cheers,
Hartmut
On 25/6/09 4:00 PM, Sam wrote:
> Hi,
>
> I try to compile hartmut-pre-2_8 on ubuntu9.04, I got the erroe below,
>
>
> [ 1%] Building C object lib/SRC/AR/CMakeFiles/AR.dir/arDetectMarker.o
> In file included from /home/sam/Desktop/hartmut-pre-2_8/artoolkit/include/AR/ar.h:47,
> from /home/sam/Desktop/hartmut-pre-2_8/artoolkit/lib/SRC/AR/arDetectMarker.c:2:
> /home/sam/Desktop/hartmut-pre-2_8/artoolkit/bin/include/AR/config.h:82:19: error: missing expression between '(' and ')'
> /home/sam/Desktop/hartmut-pre-2_8/artoolkit/bin/include/AR/config.h:232:4: error: #error Unknown default pixel format defined in config.h.
> make[2]: *** [lib/SRC/AR/CMakeFiles/AR.dir/arDetectMarker.o] Error 1
> make[1]: *** [lib/SRC/AR/CMakeFiles/AR.dir/all] Error 2
> make: *** [all] Error 2
>
> Any help is great appreciate!
> Sam
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.hitlabnz.org/pipermail/artoolkit/attachments/20090625/d7520cec/attachment.html
> _______________________________________________
> ARToolKit mailing list
> ARToolKit@l .................
> http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
>
_______________________________________________
ARToolKit mailing list
ARToolKit@l .................
http://lists.hitlabnz.org/mailman/listinfo.cgi/artoolkit
|