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.
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.
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?
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.
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.
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 :(
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.”
You installed Pipelinebuilder in a diferent directory , it needs to be installed in C:\Program Files\Microsoft\Visual Studio Pipeline Builder\PipelineHints.dll
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.
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.
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 .
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”?