Page 3 of 7

Posted: Tue Aug 26, 2008 1:54 am
by FreakNigh
looks like it isn't finding libdc1394 and the right version of irrlicht still hasn't been fully installed =/

Posted: Tue Aug 26, 2008 3:28 pm
by grayman
i downloaded the latests libdc1394, compiled well and its where it can be found, in /usr/local/lib and the version of irrlicht is the SVN from yesterday and its in the same location... what could be? i think what the problem is from ARtoolkit and the files what it uses from V4L but i dont know, the lib compiles well but your software cant use it!

Posted: Tue Aug 26, 2008 4:35 pm
by grayman
I updated the Artoolkit from SVN and compiled it choosing the option 3, move the libs to the correct location and this is what i have


vladimir@vladimir-desktop:~/Escritorio/sourcecode/irrAR-0.3$ make
g++ -o test test.cpp irrAR.cpp -lIrrlicht -lARvideo -lAR -lARMulti -lGL -lGLU -lpthread -lm -lXxf86vm -lpng -ljpeg -lraw1394 -ldc1394 -ldv
test.cpp: In function ‘int main()’:
test.cpp:89: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:89: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:89: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:91: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:93: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:95: aviso: conversión obsoleta de una constante de cadena a ‘char*’
/tmp/cclLvlx0.o: In function `main':
test.cpp:(.text+0xea): undefined reference to `irr::createDevice(irr::video::E_DRIVER_TYPE, irr::core::dimension2d<int> const&, unsigned int, bool, bool, bool, irr::IEventReceiver*, char const*)'
collect2: ld devolvió el estado de salida 1
make: *** [default] Error 1


what is now? i have the SVN version of irrlicht, should i change it to?

Posted: Tue Aug 26, 2008 5:34 pm
by grayman
FINALLY!!! i did it!!!! after three days of hard battle i compile it!!! BUT!!!!

doesn't open!!!!... ok, really it tries to open but immediately it closes.


getting name: : hit
Time to load ascii X file: 140ms
Loaded mesh: media/dwarf.x
Loaded texture: media/stones.jpg
Loaded texture: media/water.jpg
Using supplied video config string [-dev=/dev/video0].
ARVideo may be configured using one or more of the following options,
separated by a space:

-mode=[PAL|NTSC]
specifies TV signal mode.

Fallo de segmentación


im not sure but i think what the camera is in /dev/dv1394 but i dont know how to make the symlink...

Posted: Tue Aug 26, 2008 6:58 pm
by grayman
the location of the camera is in /dev/dv1394/0

Using supplied video config string [-dev=/dev/dv1394/0].
ARVideo may be configured using one or more of the following options,
separated by a space:

-mode=[PAL|NTSC]
specifies TV signal mode.

Fallo de segmentación

now it knows where the camera is but how set that of NTSC?

Posted: Tue Aug 26, 2008 10:34 pm
by FreakNigh

Code: Select all

armgr->beginCamera("ardata/camera_para.dat","ardata/WDM_camera_flipV.xml", "-dev=/dev/dv1394/0 -mode=NTSC");
should work I guess. Congratulations !!! :D

Posted: Wed Aug 27, 2008 12:11 am
by grayman
:( dude so sad!! it doesnt work!

Using supplied video config string [-dev=/dev/dv1394/0 -mode=NTSC].
ARVideo may be configured using one or more of the following options,
separated by a space:

-mode=[PAL|NTSC]
specifies TV signal mode.

Fallo de segmentación


:cry: but when i open kino i can see perfect and capture without problem...

irrAR-0.3 demo error

Posted: Wed Sep 10, 2008 2:06 pm
by aceng
Hi there
I downloaded irrAR-0.3, and when i try test_irrAR.exe, it's run for a while and then closed (error). I try to recompile the source code with dev-cc and artollkit pack for dev-cc with success, but it still crashed when i run the exe
My webcam is Prolink PCC1300. I don't know what is the problem, any suggest ?

Sorry for my english and thanks a lot

Posted: Wed Sep 10, 2008 3:17 pm
by FreakNigh
did you read the readme about setting up the config file in windows to work with your camera? Artoolkit is kind of a pain in windows.

Posted: Thu Sep 11, 2008 1:04 am
by aceng
FreakNigh wrote:did you read the readme about setting up the config file in windows to work with your camera? Artoolkit is kind of a pain in windows.
Yes, i already follow the instruction in readme file, and it's still crash

Posted: Thu Sep 11, 2008 3:03 am
by FreakNigh
Can you get the artoolkit sample programs to work?

Posted: Thu Sep 11, 2008 7:14 am
by aceng
FreakNigh wrote:Can you get the artoolkit sample programs to work?
artoolkit sample works fine.

Posted: Thu Sep 11, 2008 12:28 pm
by FreakNigh
well then if you have the camera information right then its a matter of artoolkit not bringing in the data in a way i've seen before and you'll have to fix it yourself because I don't have your computer or camera.

Posted: Sat Sep 13, 2008 1:12 pm
by Mizjaaa
Hi there,

I am getting a lot of error's like below when compiling your project:

Error 1 error LNK2019: unresolved external symbol "public: class irr::video::ITexture * __thiscall IARManager::getCameraTexture(void)" (?getCameraTexture@IARManager@@QAEPAVITexture@video@irr@@XZ) referenced in function _main Nieuwe dan.obj

Is there anyone who knows what i am doing wrong here ?

Posted: Sat Sep 13, 2008 7:45 pm
by FreakNigh
you have to link to the right libraries