Compiling touchlib App
Posted: 25 October 2007 10:28 AM   [ Ignore ]
Rank
Joined  2007-10-25
Total Posts:  1
New Member

Hi !
First, I’m using VC++ 8.0 on windows XP Media Center SP2

I has compiled touchlib config and i got no error ... but when i execute the application, it crash and i didn’t know why! So, i found the error : I’ve used a newer version of OpenCV (actually, i used the 1.0 executable for windows or chopencv-2.5.0 binary, i don’t remember). When i retry with the OpenCV beta 5, everyting going right ... i can now execute the config and the other apps i recompiled with no problem.

EDIT : Sorry, I didn’t say nothing ... http://www.multigesture.net/articles/touchlib-compiling-instructions/ =)

In the same time, i have a question : how can i include external library without adding the include (headers files) directory in the project. When i add the library in the additional dependencies, i should also add the “include/” directory in the Additional include directory (example with the glut, i’ve added the glut32.lib in the additional dependencies, but i still with the “Cannot open include file: ‘glut.h’” error when i compile.

What can i do ?

Profile
 
 
Posted: 25 November 2007 06:29 AM   [ Ignore ]   [ # 1 ]
Avatar
RankRankRank
Joined  2007-03-13
Total Posts:  365
Sr. Member

i dont think there is a way in c++ to link to an external library,be it a lib or dll,without the header. thats how your app knows whats available to it in what library.

 Signature 

the all new Multitouch South Africa http://www.multitouchsa.co.za
those that say it can’t be done shouldn’t interrupt those doing it

Profile
 
 
Posted: 29 November 2007 01:39 AM   [ Ignore ]   [ # 2 ]
Rank
Joined  2007-11-13
Total Posts:  42
New Member

I get the ouchlib_beta_v1.0 on the web,but I can’t make osc work whith my computer ,it’s say “application configuration is incorrect ...” all the app can’t execute
I think my computor is 64-bit ?
thanks.

Profile
 
 
Posted: 29 November 2007 03:38 AM   [ Ignore ]   [ # 3 ]
Avatar
RankRankRank
Joined  2007-03-13
Total Posts:  365
Sr. Member

download the visual c 2005 redistributable. a quick google will find it.that should fix it. (i would have given a link but im not at home at the moment)

 Signature 

the all new Multitouch South Africa http://www.multitouchsa.co.za
those that say it can’t be done shouldn’t interrupt those doing it

Profile