BrianPeek.com
A Compendium of Random Uselessness

help please! not working!

rated by 0 users
This post has 4 Replies | 0 Followers

Posted: Thu, Jun 18 2009 4:02 PM

i copied and pasted the single-wiimote code after referencing the Wiimotelib. i built, and then debug-ran the code, but it said i had three errors and wouldn't run. one error was the first void, one was the first Wiimote with empty parenthases (after the new), and the third was the } between the wm.SetReportTypeblahblahblah and the void wm_WiimoteExtblahblah...

what do i do???

LOL my reCAPTCHA thing says "zebra Spa"

replied on Thu, Jun 18 2009 4:10 PM

hmmm..... now that i'm investigating, whenever i try to build it it says "Build failed". this would explain why Project1.exe is missing. but still, i can't figure out the errors... the first two are 'expected class, delagate, enum, interface, or struct' errs, and the curly bracket err is 'Type or namespace definition, or end-of-file expected'. hmmm... no puntuation in those lines... seems awfully fishy....Indifferent just kidding. but those are the errors.Hmm

Top 10 Contributor
Male
Posts 1,335

We would need to see the actual error messages and code to be able to help.

replied on Thu, Jun 18 2009 8:50 PM

the code is the one-wiimote code here, the errors are these:

sorry for the size :^P

Top 10 Contributor
Male
Posts 1,335

I need to see the actual code you're trying to compile.  What's in CodeFile1.cs?

If you just copy/pasted the code from the textbox on the C4F site, keep in mind it's just a snippet.  You can't just copy/paste that chunk and expect it to work...  They're just methods from the test application without a surrounding class, namespace, etc.

Page 1 of 1 (5 items) | RSS