-
Notifications
You must be signed in to change notification settings - Fork 197
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
getting started #57
Comments
I figured it out and got Hello World to compile. I installed standard 64-bit cygwin, and got the error this guy talks about: So I installed 32-bit cygwin, and now it works. On to the other samples and hopefully getting some actual work done. It might be good to mention these incompatibilities in the readme (bundled cygwin not up to date, cygwin 64-bit not being compatible with crossbridge under 64-bit win8.1, etc) |
Edit: it no longer works. I never got any of the other samples to compile, either. I created my own super-simple hello world program with no makefile to try and narrow it down. Here's the code of hello.c:
and here's the output:
I'm running 32-bit cygwin installed in C:\cygwin. Java SDK 64-bit is reachable from cygwin:
Any ideas? What am I missing? |
You can try to add more memory to the process:
Also you can try to add a global java option for similar reasons:
Edit: You can try the updated SDK which is built using newer Cygwin: |
Thanks for the reply! I tried it, it didn't help. |
You mean you tried both three things (peflags, java_options, newer crossbridge)?
) |
I tried peflags, and -jvm-opt -Xmx4096m. I didn't know how to use java_options. However, I didn't see your edit until now, I'm trying that now. How do I tell for sure what crossbridge version I have? I THINK 1.0.1, but I can't remember... Thanks for the new community page! I had no idea https://adobe-flash.github.io/crossbridge/ was discontinued, though I kind of had a feeling. Have you taken over crossbridge then? I see your fork is listed as the github link on that community page instead of the adobe one. I'm downloading crossbridge 1.0.4 now, I'll let you know if it works. So glad to see that it's not completely abandoned :P |
Here's the result of gcc-v hello.c if you're interested:
|
OK, this is super strange. I downloaded and installed the new update of crossbridge from the community page. I extracted it and ran run.bat. It started downloading a bunch of cygwin updates. When it tried to install them, it errored out with the same code that I was seeing when trying to run gcc on the older cygwin install:
What am I missing? Is there something wrong with my computer LOL? |
Here is a link to the entire output of run.bat: http://khef.co/paste/cygwinerror.html |
I found that the cygwin that is part of the download is damaged in various ways. |
Ok, I'll try it using the existing cygwin32 installation I was using with the older version of crossbridge. |
Yes, I read your posts on other forums about your minimal path solution ddyer0. I'm honored that you commented on my thread :). What version of crossbridge was that with? |
I'm using the current standard release. It's a shame no one with real knowledge is minding the store. |
I got most of the samples to compile!!! Thanks so much for your help! Is the current standard release 1.0.4 from this page? http://sourceforge.net/projects/crossbridge-community/ Also, I can't get the Lua example to compile. It ends with a couple of TODOs. Even when I comment out the lines and overlay AIR SDK over Flex SDK so I have mxmlc it doesn't work. I'm no good with MXML, I tried to get the sample to compile in Flash Builder 4.7 as well but I can't quite make it work. The unfinished lines in the makefile read:
When I un-comment those lines, I get:
Can anyone shed any light? What am I missing? |
Also, when I try and compile the lua sample in Flash Builder 4.7, I get hung up on mx:TextArea errors and it can't find sample.lua.vfs.ISpecialFile |
Hi,
If you have any major issues with the software please report it using the github ticket system, more optimally send pull requests with fixes ; ) |
I have successfully converted the MXML Lua example to a mobile AIR project in FLash Builder. It only loads one lua script, however, and doesn't let you change scripts or alter it. I get 500 lua-controlled sprites on an iPhone5 at 30fps with no slowdown on an iphone 5. I haven't tried 60 fps yet because including the crossbridge lua script in the project bumped my build time up from a few minutes to a couple of hours. Also, I had to use --swf-verision=17 to get it to compile, as I got a mutex error on the device otherwise. If you want me to help package this example up for general consumption as a SWF, I would be willing to help out, though I know nothing about git and am a total crossbridge novice. |
Hi,
I'm on win8.1 update 1, x64.
I followed the readme file, and as soon as I run run.bat, I get the following error:
I tried changing my path per this issue, without success: #54
A bunch of googling turned up the following two entries from the mailing list:
https://cygwin.com/ml/cygwin/2012-04/msg00632.html
https://cygwin.com/ml/cygwin/2013-05/msg00145.html
From the information I found there, it looks like a.) something in Windows 8 broke the CWD command, and b.) they have apparently fixed it in a later version.
Can someone help me figure out how to update the cygwin install included in crossbridge? I'd rather not install a standalone cygwin, but I will if I have to.
The text was updated successfully, but these errors were encountered: