Main Site Documentation

How do I rebuild the gyro module code?


#1

I want to add a function to the gyro code.

How do I do this?

Tom Dean


#2

#3

Or just grab from codeplex, make changes, rebuild that driver only and copy over the output. That’s what I do for the music module.


#4

Actually I do the same (using debug version),so I can debug the code if needed. :slight_smile:


#5

Thanks,

I do not understand the build process. I am from a UNIX background.
I have Microsoft Visual C# 2010, etc., from tinyclr.

I have built a dozen projects from scratch, using modules from GHI.

I have gadgeteer-16948 - I have not modified the code - just want to figure out how to build and install the solution.

If I burrow down main->modules->seeed->gyro->software and double click on Gyro, the visual studio solution, I get
’Invalid license data. Reinstall is required.'
If I use ‘open with’ and choose ms visual c# 2010 express, I get a message about 'the source control provider associated with the project count not be found’
I choose to not remove source control association from the solution and continue.
The project opens (I think)

Attempting to build the solution gives:
Error 1 The “Candle” task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\WixTasks.dll. Could not load file or assembly ‘file:///C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\WixTasks.dll’ or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

Seems like I am missing something.

How do I uninstall the driver?
How do I build the driver from source?
How do I install the driver?

Tom Dean


#6

No problem. You will need to install Wix 3.5


#7

Thanks,

The build succeeded.

How do I uninstall the old driver and install the new one?

Tom Dean


#8

Just copy new dll over the old one.


#9

Where are these files?

Tom Dean


#10

The dll should be in bin/release or bin/debug. The installed one somewhere inside the Program Files. Use search.

Sorry, can’t point to exact location (not close to my computer)


#11

Found it…


#12

In the source tree, I have an installer directory.

Will this put the correct files in the correct place?

Tom Dean


#13

It should.