ARToolKit | Mailing List Archive |
![]() |
From: | Kasim Rehman <kasim_rehman@y ........> | Received: | Jan 26, 2002 |
To | Junaidi <junaidia@y ........>, artoolkit@h .................. | ||
Subject: | Compiler errors | ||
In order to compile Projects using ARToolkit you need to set following in Project Settings: In C++/Preprocessor:"additional include directories" to to ARToolkit2.431-Win32/include In Link/Input "Object Libraries": the ARToolkit libs(AR32.lib, ARgsub32.lib, ARvideo32.lib...) In Link/Input "Additional Library Path": ARToolkit2.431-Win32/include See, if that works. Some general remarks for people new to ARToolkit and Visual C++: For those who get linker errors regarding default libraries (msvcrt.lib, libc.lib), check http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/lnk4098.asp And people who have Vision SDK related errors...read the Vision SDK installation instructions very carefully. There are things people may overlook the first time. And before starting to work with ARToolkit, it's a good idea to build all projects provided. Sometimes you have to build the Vision SDK dlls and replace the one in ARToolkits bin directory --- Junaidi <junaidia@y ........> wrote: > Hi, > > I'm a new user to MSVC++, I've tried to create a > video > window using arVideoOpen, arVideoInqSize and > arVideoCapStart. When I compiled the file, I got > this > message: > > Cpp1.obj : error LNK2001: unresolved external symbol > _arVideoCapStart > Cpp1.obj : error LNK2001: unresolved external symbol > _arVideoInqSize > Cpp1.obj : error LNK2001: unresolved external symbol > _arVideoOpen > ../../../bin/Cpp1.exe : fatal error LNK1120: 3 > unresolved externals > > I would appreciate if anybody could help. Thank you. > > Junaidi. > > __________________________________________________ > Do You Yahoo!? > Great stuff seeking new owners in Yahoo! Auctions! > http://auctions.yahoo.com __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com |
From: | Junaidi <junaidia@y ........> | Received: | Jan 26, 2002 |
To | Kasim Rehman <kasim_rehman@y ........>, artoolkit@h .................. | ||
Subject: | Re: Compiler errors | ||
Thanks, It works. I've got another problem. I'm using ARToolKit2.43 under win2k. Before I build calib_dist.dsw, the calib_dist.exe program runs well. The followings are the things that I've done in order to build calib_dist.dsw. 1. I rebuild all the libraries (Debug and Release version) in folder ARToolKit2.43.win32\lib\src. But then, I've problem when compiling libARvideo.lib. So I fixed it with this: In video32.cpp: //new CVisImageSource imagesource = VisFindImageSource(""); sequence.ConnectToSource(imagesource, true, false); //end new //old //VisFindImageSource(sequence); //end old 2. Then I've got this error: Procedure entry point XXX could not be located in the dynamic link library xx.dll So, I've replaced VisCore.dll, VisCoreDB.dll, VisImSrc.dll, VisImSrcDB.dll that exist in ARToolKit\bin with the one in Projects\VisSDK\bin. 3. Then, I still have linking error regarding libc.lib. So, I put libc.lib under nodefault library. 4. Now, when I build calib_dist.dsw I receive 0 error but when I run calib_dist.exe a window pops out but no live video in it (only black). And suprisingly the size of the window becomes half of the original size. Is there anything else that I might have done wrong? Thank you in advance. Junaidi. --- Kasim Rehman <kasim_rehman@y ........> wrote: > In order to compile Projects using ARToolkit you > need > to set following in Project Settings: > > In C++/Preprocessor:"additional include directories" > to to ARToolkit2.431-Win32/include > > In Link/Input "Object Libraries": the ARToolkit > libs(AR32.lib, ARgsub32.lib, ARvideo32.lib...) > > In Link/Input "Additional Library Path": > ARToolkit2.431-Win32/include > > See, if that works. > > Some general remarks for people new to ARToolkit and > Visual C++: > > For those who get linker errors regarding default > libraries (msvcrt.lib, libc.lib), check > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/lnk4098.asp > > And people who have Vision SDK related errors...read > the Vision SDK installation instructions very > carefully. There are things people may overlook the > first time. > > And before starting to work with ARToolkit, it's a > good idea to build all projects provided. > > Sometimes you have to build the Vision SDK dlls and > replace the one in ARToolkits bin directory > > > > > > > --- Junaidi <junaidia@y ........> wrote: > > Hi, > > > > I'm a new user to MSVC++, I've tried to create a > > video > > window using arVideoOpen, arVideoInqSize and > > arVideoCapStart. When I compiled the file, I got > > this > > message: > > > > Cpp1.obj : error LNK2001: unresolved external > symbol > > _arVideoCapStart > > Cpp1.obj : error LNK2001: unresolved external > symbol > > _arVideoInqSize > > Cpp1.obj : error LNK2001: unresolved external > symbol > > _arVideoOpen > > ../../../bin/Cpp1.exe : fatal error LNK1120: 3 > > unresolved externals > > > > I would appreciate if anybody could help. Thank > you. > > > > Junaidi. > > > > __________________________________________________ > > Do You Yahoo!? > > Great stuff seeking new owners in Yahoo! Auctions! > > > http://auctions.yahoo.com > > > __________________________________________________ > Do You Yahoo!? > Great stuff seeking new owners in Yahoo! Auctions! > http://auctions.yahoo.com ===== HIZBI homepage http://www.hizbi.org Junaidi's homepage http://mybusiness.freehomepage.com __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com |
From: | Kasim Rehman <kasim_rehman@y ........> | Received: | Jan 26, 2002 |
To | Junaidi <junaidia@y ........>, artoolkit@h .................. | ||
Subject: | Re: Compiler errors | ||
Does ExCamera work? --- Junaidi <junaidia@y ........> wrote: > Thanks, > > It works. > > I've got another problem. > > I'm using ARToolKit2.43 under win2k. Before I build > calib_dist.dsw, the calib_dist.exe program runs > well. > > The followings are the things that I've done in > order > to build calib_dist.dsw. > > 1. I rebuild all the libraries (Debug and Release > version) in folder ARToolKit2.43.win32\lib\src. But > then, I've problem when compiling libARvideo.lib. So > I > fixed it with this: > > In video32.cpp: > > //new > CVisImageSource imagesource = > VisFindImageSource(""); > sequence.ConnectToSource(imagesource, true, false); > //end new > > //old > //VisFindImageSource(sequence); > //end old > > 2. Then I've got this error: > > Procedure entry point XXX could not be located in > the > dynamic link library xx.dll > > So, I've replaced VisCore.dll, VisCoreDB.dll, > VisImSrc.dll, VisImSrcDB.dll that exist in > ARToolKit\bin with the one in Projects\VisSDK\bin. > > 3. Then, I still have linking error regarding > libc.lib. So, I put libc.lib under nodefault > library. > > 4. Now, when I build calib_dist.dsw I receive 0 > error > but when I run calib_dist.exe a window pops out but > no > live video in it (only black). And suprisingly the > size of the window becomes half of the original > size. > > Is there anything else that I might have done wrong? > > Thank you in advance. > > Junaidi. > > --- Kasim Rehman <kasim_rehman@y ........> wrote: > > In order to compile Projects using ARToolkit you > > need > > to set following in Project Settings: > > > > In C++/Preprocessor:"additional include > directories" > > to to ARToolkit2.431-Win32/include > > > > In Link/Input "Object Libraries": the ARToolkit > > libs(AR32.lib, ARgsub32.lib, ARvideo32.lib...) > > > > In Link/Input "Additional Library Path": > > ARToolkit2.431-Win32/include > > > > See, if that works. > > > > Some general remarks for people new to ARToolkit > and > > Visual C++: > > > > For those who get linker errors regarding default > > libraries (msvcrt.lib, libc.lib), check > > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/lnk4098.asp > > > > And people who have Vision SDK related > errors...read > > the Vision SDK installation instructions very > > carefully. There are things people may overlook > the > > first time. > > > > And before starting to work with ARToolkit, it's a > > good idea to build all projects provided. > > > > Sometimes you have to build the Vision SDK dlls > and > > replace the one in ARToolkits bin directory > > > > > > > > > > > > > > --- Junaidi <junaidia@y ........> wrote: > > > Hi, > > > > > > I'm a new user to MSVC++, I've tried to create a > > > video > > > window using arVideoOpen, arVideoInqSize and > > > arVideoCapStart. When I compiled the file, I got > > > this > > > message: > > > > > > Cpp1.obj : error LNK2001: unresolved external > > symbol > > > _arVideoCapStart > > > Cpp1.obj : error LNK2001: unresolved external > > symbol > > > _arVideoInqSize > > > Cpp1.obj : error LNK2001: unresolved external > > symbol > > > _arVideoOpen > > > ../../../bin/Cpp1.exe : fatal error LNK1120: 3 > > > unresolved externals > > > > > > I would appreciate if anybody could help. Thank > > you. > > > > > > Junaidi. > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Great stuff seeking new owners in Yahoo! > Auctions! > > > > > http://auctions.yahoo.com > > > > > > __________________________________________________ > > Do You Yahoo!? > > Great stuff seeking new owners in Yahoo! Auctions! > > > http://auctions.yahoo.com > > > ===== > HIZBI homepage > http://www.hizbi.org > > Junaidi's homepage > http://mybusiness.freehomepage.com > > __________________________________________________ > Do You Yahoo!? > Great stuff seeking new owners in Yahoo! Auctions! > http://auctions.yahoo.com __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com |