1 of 6
1
Creating multitouch applications
Posted: 03 July 2008 03:04 PM   [ Ignore ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

Hi,

This doesn’t really have to do with TouchLib, but it does have to do with multitouch. I’m trying to use parts of Multi-Touch Vista (can be found on CodePlex) to create multitouch programmes in Visual C#, but I cannot figure out how to compile the files using Pipeline Builder.

Any help? Message me if you need more info.

Profile
 
 
Posted: 03 July 2008 03:19 PM   [ Ignore ]   [ # 1 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

You have to install Pipeline Builder before compiling Multitouch.Contracts.sln. After installation DO NOT generate new contracts. Just open Multitouch.Contracts.sln and compile it.

Download Pipeline Builder here.

Profile
 
 
Posted: 04 July 2008 03:28 PM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

Well, I open it and it gives me the error, saying that the source control provider for the project can’t be found. Then it asks me if I want to permanently remove the sources from the project. I click no, and it open the Multitouch.Contracts.sln. It then shows all the sources etc. in the “solutions” window, with a gray background in the designer window.

So, is this supposed to happen, or how do I compile it once I open it?

from nickdb93 <--------is very confused

Profile
 
 
Posted: 04 July 2008 03:51 PM   [ Ignore ]   [ # 3 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

you have to say yes, remove source control from project. it will remove “connection” between source code and codeplex. it makes this only local on your disk. actualy codeplex could make this automaticaly but they don’t do it.

Profile
 
 
Posted: 07 July 2008 01:51 PM   [ Ignore ]   [ # 4 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

okay,

now i have the file opened. where do i go to compile it?

thanks

Profile
 
 
Posted: 07 July 2008 02:00 PM   [ Ignore ]   [ # 5 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

what do you mean? you have to use build menu in visual studio.

Profile
 
 
Posted: 07 July 2008 02:06 PM   [ Ignore ]   [ # 6 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

i opened the file in Visual C#, i opened the “build” menu. the build menu showed the options: “Build Solution” and “Rebuild Solution”. those were the only two :(

i searched the others (menus), but i didn’t find it sill. I don’t have visual studio 2008 itself, only some parts (VB 2008 EE, V C# 2008, V C++ 2008 EE and Visual Programming Language)

please don’t say you don’t know, dude! ppl are counting on this.

thanks again

Profile
 
 
Posted: 07 July 2008 02:11 PM   [ Ignore ]   [ # 7 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

"Build Solution” is what you need

Profile
 
 
Posted: 07 July 2008 02:13 PM   [ Ignore ]   [ # 8 ]
New Member
Rank
Total Posts:  86
Joined  2008-05-16
nickdb93 - 07 July 2008 02:06 PM

i opened the file in Visual C#, i opened the “build” menu. the build menu showed the options: “Build Solution” and “Rebuild Solution”. those were the only two :(

uhh.. that is how you would compile it.

Profile
 
 
Posted: 07 July 2008 02:18 PM   [ Ignore ]   [ # 9 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

lol, im such a n00b.  when i try to build it it gives me an error and a warning, something with PipelineHints:

error: “The object referenced by C:\......\PipelineHints.dll was not found. If this assembly is produced by another project, please build that project first.”

warning: “The referenced component “PipelineHints” could not be found.”

Profile
 
 
Posted: 07 July 2008 03:16 PM   [ Ignore ]   [ # 10 ]
Sr. Member
Avatar
RankRankRank
Total Posts:  265
Joined  2007-09-22

You installed Pipelinebuilder in a diferent directory , it needs to be installed in C:\Program Files\Microsoft\Visual Studio Pipeline Builder\PipelineHints.dll

Profile
 
 
Posted: 07 July 2008 08:52 PM   [ Ignore ]   [ # 11 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

good,

that directory thing worked. but, now when i go to compile Multitouch.InputProviders.sln, it gives me 9 errors when i press “build” after i remove the source code connections. they all say “Unsafe code may only appear when compiling with /unsafe.” they are all from the file “RawInput.cs” and from the project “MultipleMice”. I will not be using multiple mice, so if i can get around that, that would be good, but I would prefer to understand how to do it for multiple mice also.

i attached a picture of my screen to this post

Image Attachments
unsafe screen pic.jpg
Profile
 
 
Posted: 08 July 2008 12:03 AM   [ Ignore ]   [ # 12 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

Actualy unsafe code is already enabled for MultipleMice. You can go to project properties (right click on MultipleMice in Solution Explorer and then Properties). Then go to Build tab and check “Allow unsafe code”.
If you don’t want to compile some project go to Build menu then Configuration Manager. You will get a list of all projects with check boxes on the right (Build column). Uncheck projectes that you don’t want to be build.

Profile
 
 
Posted: 08 July 2008 02:52 PM   [ Ignore ]   [ # 13 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

great, that worked Daniel. thank you. now, on to Multitouch.Service.sln :(

when i try to open it, it says its not compatible with this installation of visual studio (but, in like 4 different windows). it also gives me 5 errors, and 4 warnings when i try to build it.
the majority of both are dealing with Multitouch.ServiceLogic.sln , dwmaxxLib , DWMInjector Class and DWEx .

Profile
 
 
Posted: 08 July 2008 03:29 PM   [ Ignore ]   [ # 14 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

for dwmaxxaddin you have to register dwmaxxps.dll and dwmaxx.dll as com components before compiling.
regsvr32 dwmaxxps.dll
regsvr32 dwmaxx.dll

don’t know about other errors. need more info.

Profile
 
 
Posted: 09 July 2008 09:34 AM   [ Ignore ]   [ # 15 ]
New Member
Avatar
Rank
Total Posts:  96
Joined  2007-12-12
Daniel D - 08 July 2008 03:29 PM

for dwmaxxaddin you have to register dwmaxxps.dll and dwmaxx.dll as com components before compiling.
regsvr32 dwmaxxps.dll
regsvr32 dwmaxx.dll

don’t know about other errors. need more info.

I got as far as Nick did (to the Multitouch Service.sln) It’s giving me those 4 compatiblility errors as well as the others he mentioned.  I will copy the errors into this thread asap.

How do you “register dwmaxxps.dll and dwmaxx.dll as com components”?

 Signature 

http://multitouchproject.blogspot.com/

Profile
 
 
   
1 of 6
1