compilation problems

Hi! I’m new to oF & CodeBlock and I created a project (using Artoolkitplus addon), but I have a problem. Infact when I click on “build” button, I receive this message:

_-------------- Build: release in ArtoolkitPlus_k ---------------

Compiling: …\addons\ofxARtoolkitPlus-Fish\src\ofxARToolkitPlus.cpp
Linking console executable: bin\ArtoolkitPlus_k.exe
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:uuid.lib ' unrecognized Warning: .drectve-defaultlib:uuid.lib ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve -defaultlib:LIBCMT ' unrecognized Warning: .drectve-defaultlib:OLDNAMES ’ unrecognized
Warning: .drectve /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized obj\release\addons\ofxARtoolkitPlus-Fish\src\ofxARToolkitPlus.o:ofxARToolkitPlus.cpp:(.text+0xe7f): undefined reference to_imp___ZN13ARToolKitPlus18TrackerMultiMarkerC1Eiiiiiii’
obj\release\addons\ofxARtoolkitPlus-Fish\src\ofxARToolkitPlus.o:ofxARToolkitPlus.cpp:(.text+0x107a): undefined reference to `_imp___ZN13ARToolKitPlus6Camera13printSettingsEv’
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 6 seconds)
2 errors, 17 warnings
_

Can someone help me?

I´m having exactly the same problem, only in my case the addon is recognized

heeelpppp

I have read in this other post that it might be a problem with the MinGW version (64bits)

http://forum.openframeworks.cc/t/help-troubleshooting-ofxkinect-in-codeblocks-on-windows/7429/0

actually the addon doesn’t come with a windows lib of Artoolkit
see in the ReadMe here: https://github.com/karldd/ofxARToolkitPlus/blob/master/README

“This has been tested on Mac with OF 007 (Xcode 3.2.6). To get it going on Windows/Linux you will need to compile ARToolkitPlus and add the compile library to the lib folder of the addon.”

So if you can find a windows code::blocks lib for ArToolkitPlus or if you can compile the lib then you should be set.

Looks like there is a lib here someone compiled which you could prob grab:
http://forum.openframeworks.cc/t/augmented-reality/743/114 ( see attached file )