Spin2Cpp - PropWare
AS
Posts: 149
David Zemon,
I got this error when trying test Spin2Cpp
How can I install your last version (to Raspberry), I already see here (http://david.zemon.name/PropWare/Download.xhtml) but is the 2.0.0 version.
I can do it from Github (https://github.com/parallaxinc/PropWare/tree/develop)?
Thanks!
I got this error when trying test Spin2Cpp
pi@raspberrypi:~/PropellerProjects/PropWare/Examples/Spin2Cpp/bin $ cmake .. CMake Error at /home/pi/cmake/cmake-3.3.2/Modules/FindPackageHandleStandardArgs. cmake:148 (message): Could NOT find PropWare: Found unsuitable version "2.0.0", but required is at least "2.1" (found /home/pi/PropWare) Call Stack (most recent call first): /home/pi/cmake/cmake-3.3.2/Modules/FindPackageHandleStandardArgs.cmake:386 (_F PHSA_FAILURE_MESSAGE) /home/pi/cmake/cmake-3.3.2/Modules/FindPropWare.cmake:457 (find_package_handle _standard_args) CMakeLists.txt:4 (find_package) -- Configuring incomplete, errors occurred!
How can I install your last version (to Raspberry), I already see here (http://david.zemon.name/PropWare/Download.xhtml) but is the 2.0.0 version.
I can do it from Github (https://github.com/parallaxinc/PropWare/tree/develop)?
Thanks!
Comments
In fact... I don't think Eric offers Raspberry Pi builds of Spin2Cpp... you're going to have to compile it yourself. Fortunately, it's really easy.
Woohoo! It should take all of 10 seconds on a Raspberry Pi 2.
Once it is installed, you can take a look at the options and examples provided in the README to convert Spin files "manually." You might very well find it easier to do this than upgrading PropWare on a Pi.
(I can´t go here:http://david.zemon.name:8111/repository/download/PropWare_Develop/lastSuccessful/PropWare-2.1.0.19-Generic-standalone-cmake.zip&guest=1)
When I wrote "make" I have this error: any sugestion?
Thanks!
Ah, sorry about that. Use the first link (this one) and then just choose PropWare-2.1.0.XX-Generic-standalone-cmake.zip. The "XX" is the build number, so it changes every time I commit - that's why the link didn't work (I made a commit between when I posted that, and when you clicked the link).
Ah, looks like you're missing some dependencies. I'm not sure how many there are... perhaps just this one? bison can be installed with the command
This is great to learn C. I will test this a lot!!
Really thanks