View previous topic :: View next topic |
Author |
Message |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Mon Jan 18, 2010 11:05 pm Post subject: |
|
|
You seem to continually have problems with "\r" and newline.
\r is the carriage return character and on Windows these appear before \n (the newline) character at the end of every line of code to advance it to the next line; Windows uses those and every other operating system pretty much doesn't.
Assuming you are following the instructions right with the alc-on and everything, I'd reinstall Cygwin and very carefully look at the questions being asked and make sure you use the "default" answers. _________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ... |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Tue Jan 19, 2010 1:49 am Post subject: |
|
|
new lines are generally not an issue.
also, you seem to be lacking as3.h which is the real error.
are you sure you're using the correct gcc? check your path. gcc --dumpspecs or something and make sure its got the right target. or something. _________________ What's a signature? |
|
Back to top |
|
 |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Tue Jan 19, 2010 2:07 am Post subject: |
|
|
Spike wrote: | also, you seem to be lacking as3.h which is the real error. |
JasonX,
That file should be in c:\alchemy\avm2-libc\include and should be part of the default Alchemy install which you obviously have. If you mess up anywhere from steps #9 to #16 .... you have no choice but to delete everything and start again from nothing. Those steps build scripts and setup symlinks. If you did them wrong, you have to delete everything and start over because you have created broken scripts that were generated; there is no fixing it afterwards ... humpty dumpty is broken -- redoing everything is your only option.
(I had to do that several times ... when I finally got it right, I documented it thoroughly ... qbism obviously followed them ... it works. It is time consuming to setup and it's not fun. I'd ignore the big 685 MB download file I was hoping would simplify the process ... it does not appear to be working for you and it didn't work for qbism either.) _________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ... |
|
Back to top |
|
 |
crusher
Joined: 22 Jan 2010 Posts: 1
|
Posted: Fri Jan 22, 2010 4:39 pm Post subject: |
|
|
you can live with warnings (no newline...)
however, missing as3.h means that you did not issue
"alc-on" at the prompt BEFORE "make -f makeswc"!
that you can verify simply by issuing:
which gcc
at prompt.
if you get
/usr/bin/gcc
that means you indeed forgot it.
real deal shall look like
/alchemy............./achacks/gcc |
|
Back to top |
|
 |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Thu Feb 04, 2010 3:25 am Post subject: |
|
|
A tutorial by qbism from http://qbism.com/filemanager
http://qbism.com/filemanager/content.php?get_action=download&file=%2Fflash+makaqu%2Fflash+makaqu+install.txt
Quote: | Flash Makaqu development installation on Windows
----------------------------------------------------
These instructions and install zips are experimental. The immediate goal is feedback. The intended audience:
A. Coders who already have installed and compiled Flash Quake, and are willing to provide feedback.
OR
B. Hearty, pioneering coders planning to do a fresh install of the tools and willing to take the
potential risk to their computers and sanity.
Besides my post directing you to these instructions, also see a detailed installation discussion
at inside3d.com forum, topic "Flash Quake Source Code and SVN".
1. Install Cygwin with the auto-installer from http://cygwin.com/ by clicking "install cygwin now".
2. Install FlashDevelop: http://www.flashdevelop.org/wikidocs/index.php?title=Main_Page
and configure it - instructions: http://www.flashdevelop.org/wikidocs/index.php?title=Configuration
3. Download flashQ-alchemy.zip and extract to a temporary folder.
Relocate the extracted directory directly under c: drive. C:\alchemy
(Sure, you could extract alchemy straight to C: without a temp folder, but that's fool-hardy!)
4. Download flashQ-flex.zip and extract to a temporary folder.
Relocate the extracted directory directly under c: drive. (C:\flex_sdk_3.2.0.3958)
5. Download flashQ-jre6.zip and extract to a temporary folder.
Relocate the extracted directory as follows: C:\cygwin\jre6
6. Add the c:\cygwin\jre6\bin folder (Java binaries) to the Windows system path:
Right Click on My Computer [or press Windows key + Break]
Select the Advanced Tab (Vista: says "Advanced System Settings")
Click Environmental Variables
Select PATH in the list box
Select Edit
Add the folder to the end of the current path, add ";c:\cygwin\jre6\bin" to the end
7. Install Flash 10 stand-alone debug player http://www.adobe.com/support/flashplayer/downloads.html
Note, you may have to uninstall the browser flash player, although I did not. Using Firefox in Vista.
8. Open c:\cygwin\etc\profile in a text editor. Find the PATH and add the Java JDK 6 and Flex binaries to the
Cygwin path- /jre6/bin and /cygdrive/c/flex_sdk_3.2.0.3958/bin
The result will look something like:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/jre6/bin:/cygdrive/c/flex_sdk_3.2.0.3958/bin:$PATH
9. Start Cygwin and type: cd $ALCHEMY_HOME\samples\FlashQuakeV2\quakeswf
(Cygwin has path autocomplete if you type a couple of characters.)
10. Compile the swc. Type: make -j3 -f makeswf
A list of compiled .o files will scroll by. The end should look similar to:
WARNING: While resolving call to function 'main' arguments were dropped!
2296.achacks.swf, 1972726 bytes written
frame rate: 60
frame count: 1
69 : 4
72 : 1972661
76 : 28
1 : 0
0 : 0
frame rate: 24
frame count: 1
69 : 4
77 : 506
64 : 31
63 : 16
65 : 4
9 : 3
41 : 26
82 : 471
1 : 0
0 : 0
converting to DOS line endings
catalog.xml: done.
adding: catalog.xml (deflated 76%)
adding: library.swf (deflated 76%)
cp Release/quake.swc lib/quake.swc
11. Copy Quake shareware pak0.pak to the embed folder under quakeswf
C:\alchemy\samples\FlashQuakeV2\quakeswf\embed).
Note, I've uploaded the quake106.zip shareware installer just to be handy.
12. Start up FlashDevelop, open the project located in C:\alchemy\samples\FlashQuakeV2\quakeswf,
and compile.
Many thanks to Baker for his Flash quakePro port and his installation help and instructions on inside3d.
Thanks to Michael Rennie for the initial port and to Manoel Kasimier for Makaqu quake.
Jeff Ford
01-17-2010 |
_________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ... |
|
Back to top |
|
 |
qbism

Joined: 04 Nov 2004 Posts: 82
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2004 phpBB Group
|