-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot successfully build on Ubuntu 12.04 LTS #2
Comments
Try downloading the latest version from firmata.org. No one is keeping the firmata_test files on github up to date. The developer maintains a separate repository and I occasionally copy those files over here. You can always get the latest from firmata.org. That's just the way it is. |
Thanks again for the prompt reply, Jeff I originally started with the source linked from firmata.org, building from source using both http://www.pjrc.com/teensy/firmata_test/firmata_test_OSL.tgz (which has unicode support) and http://www.pjrc.com/teensy/firmata_test/firmata_test.tar.gz (which I guess the OSL version was based on) as listed at http://firmata.org/wiki/Main_Page#Firmata_Test_Program After both those failed with similar compile errors, I attempted to use the github version, assuming it was the latest, but I got it backwards, sorry - pjrc.com is the original code. Happy to go to any place to file the firmata_test bug, against any recommended version, with or without unicode support. The prominence of the 'firmata_test' program at firmata.org led me to believe I should use that one as a firmata reference case, but that could be a mistake if it may not be being maintained. Happy to switch to a different set of API-based examples in any language as 'reference' examples for the use of StandardFirmata - perhaps listed in one of the "Host Software" projects at http://firmata.org/wiki/Download#Host_Software if anyone knows of an example which exercises StandardFirmata, and which is mature and representative. Regards the bug, I think it may be more of a wxWidgets backwards-compatibility-breakage bug, and I can have a go to iron out the bugs via a wx mailing list instead. If you think it's worth using firmata_test as a reference implementation, then I'll pursue this and let you know how I get on. |
Tried to rebuild firmata_test from source, modifying the path to wx-config to point to my own system wx-config (the Makefile seems to have the author's directory structure hard-coded into it).
I'm on a relatively vanilla Ubuntu Precise machine and just trying to find what in the repositories or makefile needs to be updated to get it to play ball.
Unfortunately I get a series of errors, whether building against wx2.6 or wx2.8 even when libwxgtk2.x-dev and libwxgtk2.x-dbg are both installed.
The errors are the sort of thing which I'm sure someone working with wx might recognise, but I can't figure what could fundamentally be wrong with code which built happily against previous wx versions, though something around Unicode support has been discussed, which suggests similar errors, but adding the flags...
or going through adding the wxT(...) macro around every literal string, following the Unicode guidance linked from http://wiki.wxwidgets.org/WxWidgets_Build_Configurations still leaves me with lots of errors such as...
The full set of errors from attempting to compile the original source on Ubuntu Precise look like this, though some of these errors are eliminated by using the unicode wxT() macro around literals, most aren't.
The text was updated successfully, but these errors were encountered: