Compiling on Windows
Posted: 12 April 2008 03:11 PM   [ Ignore ]
New Member
Rank
Total Posts:  4
Joined  2008-04-12

Hi,

Myself and some classmates are doing a software engineering project (Third year) in College (Trinity College Dublin). We’re trying to build a multi-touch touch-screen that can be used to make music. The music will be generated by Chuck (a programming language invented at Princeton). The front-end will be in OpenGL. We’re also going to use touchlib to send OSC packets to the back-end, where the packets will be re-formated and sent on to Chuck (a running Chuck program can be updated on the fly). So when someone touches the screen, they will be able to make music smile We’re also incorporating Wii-motes into the whole show as well, which can be used to make lots of more noise!

I’m trying to compile Touchlib on a Windows machine. The reason I’m doing this is because when we used the OSC.exe binary, we found out it was sending us too much information. We’e using oscpack to help us receive the packets on our side. We really just want the x and y coordinates of the touch on the screen. So we’re going to try and modify osc.cpp, just so it sends us the barest of information. I’ve just spent the day installing all the software needed to perform the compilation. I compiled it following the instructions here - http://www.multigesture.net/articles/touchlib-compiling-instructions/ . So far its worked out, but when I checked the bins folder, i found that executables have the letter d after the name. For example OSCd.exe. When I try to run the program using the command-line, an error pops up and says “This application has failed to started because highgui100.dll cannot be found”. To be honest, I’ve no idea what to do next.

Is there anyone else who’s encountered the same problem?

Cheers for this!

Profile
 
 
Posted: 12 April 2008 03:13 PM   [ Ignore ]   [ # 1 ]
New Member
Rank
Total Posts:  4
Joined  2008-04-12

another question, whats the difference between OSC.exe and OSCd.exe?

Profile
 
 
Posted: 12 April 2008 04:09 PM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  1358
Joined  2007-04-08

The d on the end means you’re compiling the debug mode version. If you don’t need a debug version, change it to compile in release mode in Visual Studio (if that’s what you’re using).

 Signature 

My Multitouch Blog
My Youtube
Multitouch FAQ - Need Help? Click here!

Profile
 
 
Posted: 12 April 2008 04:49 PM   [ Ignore ]   [ # 3 ]
New Member
Rank
Total Posts:  4
Joined  2008-04-12

Thanks for that smile

I got the executable but when I run it, the program starts as normal and then crashes.

Any idea what could be wrong. It compiles successfully.

Image Attachments
error.GIF
Profile
 
 
Posted: 12 April 2008 05:28 PM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  1358
Joined  2007-04-08

Did you run configapp.exe first? Run that and make sure your settings are good first. Then start osc.exe

 Signature 

My Multitouch Blog
My Youtube
Multitouch FAQ - Need Help? Click here!

Profile
 
 
Posted: 16 April 2008 10:16 AM   [ Ignore ]   [ # 5 ]
New Member
Rank
Total Posts:  14
Joined  2008-03-18

The work that has been done on touchlib is amazing. It really helps those of us who are just starting. I’m trying to compile using the latest version of Visual Studio.

Has anyone compiled “touchtest” under Visual Studio 2008? So far I have found that the member “data.Area” should be “data.area”. Has this code compiled recently? Who gets bug reports?

Profile
 
 
Posted: 25 July 2008 10:12 PM   [ Ignore ]   [ # 6 ]
New Member
Rank
Total Posts:  5
Joined  2008-07-25
darren - 12 April 2008 03:11 PM

Hi,

Myself and some classmates are doing a software engineering project (Third year) in College (Trinity College Dublin). We’re trying to build a multi-touch touch-screen that can be used to make music. The music will be generated by Chuck (a programming language invented at Princeton). The front-end will be in OpenGL. We’re also going to use touchlib to send OSC packets to the back-end, where the packets will be re-formated and sent on to Chuck (a running Chuck program can be updated on the fly). So when someone touches the screen, they will be able to make music smile We’re also incorporating Wii-motes into the whole show as well, which can be used to make lots of more noise!

I’m trying to compile Touchlib on a Windows machine. The reason I’m doing this is because when we used the OSC.exe binary, we found out it was sending us too much information. We’e using oscpack to help us receive the packets on our side. We really just want the x and y coordinates of the touch on the screen. So we’re going to try and modify osc.cpp, just so it sends us the barest of information. I’ve just spent the day installing all the software needed to perform the compilation. I compiled it following the instructions here - http://www.multigesture.net/articles/touchlib-compiling-instructions/ . So far its worked out, but when I checked the bins folder, i found that executables have the letter d after the name. For example OSCd.exe. When I try to run the program using the command-line, an error pops up and says “This application has failed to started because highgui100.dll cannot be found”. To be honest, I’ve no idea what to do next.

Is there anyone else who’s encountered the same problem?

Cheers for this!

Hey Darren.

I’m finnishing a postgrad in multimedia (now interactive digital media) in Trinity. I’m having similar problems with OSC [link]

let me know if you et it working, an good luck with the project.

Scott

Profile