Cannot define method `vertices' because no Objective-C stub was pre-compiled for types - rubymotion

I have just been using RubyMotion and Joybox today.
After installed RubyMotion 2.22 and Joybox 1.1.1 (with rvm 1.25.15, ruby 2.0.0-p353#joybox, on Mac OS X 10.9), and go on with Joybox round 1 article, just after 'motion create --template=joybox-ios test01' and 'rake', I keep getting this error:
Cannot define method vertices' because no Objective-C stub was pre-compiled for types^{CGPoint=ff}#:'. Make sure you properly link with the framework or library that defines this message.
I spent hours searching on the net but still can't find a solution. I'm wondering could someone give me some insight?
Things I tried:
Checked https://github.com/rubymotion/Joybox/issues/42
Reinstalled xcode command line tools.
Removed/Re-installed Joybox gem.
Re-installed RubyMotion
Thank you,
-Long

I updated to version 2.22 of RubyMotion and this caused the same issue for me.
Downgrade RubyMotion
sudo motion update --cache-version=2.20
and set your rubymotion to $:.unshift("/Library/RubyMotion2.20/lib")
in you Rakefile.

Related

apache netbeans 11.3 C++ plugin timeout, unable to install

Im moving to Apache Netbeans 11.3 and trying to install the C++ plugin on Windows 10, got the follow repos
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
but everytime it hits the 99% it simply give me a timeout error when unpacking org-netbeans-modules-cnd-dwarfdiscovery.nbm
The Plugin Installer found problem timeout of loading C/C++ Repository[org.netbeans.modules.cnd.repository/1.32.6.1] while install the following plugins:
already try versions 10, 11.1, 11.2, 11.3, got the same issue, i even got rid of the windows firewall to no avail.
Check the Java version
For me, I have Java version 14
So this version has no program
unpack200.exe
Problem was solved by copying the unpack200.exe file from Java version 1.8 to the bin folder in java 14
copy and paste pack200, unpack200 and unpack.dil from bin of jdk13 into the bin of jdk14. This worked for me and I assure you that it will work for you. I did this with openjdk.

How to install Qt 3.3.8 in Ubuntu 14.04

Just recently I have begun to review the code for a project produced by a friend roughly 4 years ago. However, to compile this project I need an outdated version of Qt (version 3.3.8). Much of the code used in this project isn't supported in the same style as Qt4. So I'd first like to obtain Qt3 before I transition to Qt4.
Ubuntu has decided to no longer carry "qt3-dev-tools". Ubuntu has limited the selection to "qt4-dev-tools" in its repository. So installing via the command line option (sudo apt-get install qt3-dev-tools) results in an error:
"Unable to locate package qt3-dev-tools."
So, from here I did some digging for a manual installation? I found a great website to help me through the process, but I'm not very knowledgeable about Ubuntu, or Linux in general. Step 1 was simple. But step 2 and onward stumped me. I'm supposed to be both adding the environment variables listed in step two to the .profile file and then setting them, correct?
In step 2, is logging in again just meant for users with the .login shell? When I type in $HOME/.qt-license of step three, I suppose I'm typing this into the terminal?. Same with the ./configure? Both of these commands return no such file exists.
Does anyone know a better walk through to install Qt3 files, or can give a quick breakdown of this tutorial?
The website tutorial:
http://krm.am.gdynia.pl/doc/qt-3.3.8/INSTALL
If u can get .rpm package then open it in ubuntu software centre . It will get installed.
http://download.qt.io/archive/qt/3/ try downloading the package for qt3 from this qt archive & install it.

Upgrade ember-precompile without rails or grunt

I am writing an ember app, and not using rails nor grunt for anything. I previously had a short python program that took text files and did some markdown stuff with them, and then compiled them all to a templates.js file using ember-precompile:
ember-precompile templates/*.hbs -f templates/templates.js
This worked great until I upgraded ember, and now I'm getting this error.
Uncaught Template was precompiled with an older version of Handlebars than the current runtime.
Please update your precompiler to a newer version (>= 1.0.0) or downgrade your runtime to an older version (== 1.0.0-rc.3).
I need to upgrade my ember-precompile program, but solutions like changing a grunt config or changing gemfiles are no good for me, since I'm not using either of those tools.
Also, attempts to upgrade or reinstall haven't made any changes at all.
Ember version Version: v1.0.0
Last commit: e2ea0cf (2013-08-31 23:47:39 -0700)
Handlebars version Handlebars.VERSION = "1.0.0";
Feel free to fill in any gaps in my understanding. For short term development purposes I'm just going to put my templates in index.html but I want to do markdown stuff to my templates first, so that won't do forever.
You would need to recompile your handlebar files using the latest ember-precompile version that matches the run time version. Basically, ember-precompile that you are using is older version but you are currently running the newer version of ember. That is what the compliant is about.
Turns out I just needed to learn the magic of github and npm and download a non "release" version of the program and install it. Pretty stupid of me really.
If anyone in the future has this problem, just check out npm install and get one of the fixed versions from github in a zip file or whatever suits you.

Can't get premake working - gltut demos

https://bitbucket.org/alfonse/gltut/downloads
this is the repository for the several tutorials in this online-book
http://www.arcsynthesis.org/gltut
the author uses premake as alternative to cmake, and i have tried every possible command line options but nothing works.
I don't get why the author wants to use the latest tool on earth but i need to solve this and i don't even have a clue about Lua and this tool.
For who wants to help me with this you have to download this to actually build the demos and put it in the root folder of your gltut project.
The URL for the mercurial repository is
hg clone https://bitbucket.org/alfonse/gltut
My OS is Ubuntu 12.04 64 bit.
I just noticed that the premake version that comes with Ubuntu 12.04 is the 3.7, just download a newer version from the 4.x branch and the problem is solved.

Phonegap, Cordova, xCode 4.4 and Mountain Lion

Yesterday I cleaned my hard drive and I updated my OSX to Mountain Lion. I installed xCode 4.4, and after, I downloaded and installed the PhoneGap 2.0.
The problem is that I can't create projects using the template of Cordova Project... like I usually do before...
Does anybody know where is the problem?
Thanks!!!
Read this guide
http://docs.phonegap.com/en/2.0.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS
The template method for creating projects has changed in PhoneGap 2.0 I believe.
Check this tutorial as the official one is outdated
http://iphonedevlog.wordpress.com/2012/09/24/phonegap-2-1-0-in-mac-os-x-mountain-lion-10-8-from-download-to-ios-app-store/