RBuild

Sage
Posts: 1,403
Joined: 2005.07
Post: #16
the two files its compliaing about look like this:

ruby.h
Code:
73 #if SIZEOF_LONG != SIZEOF_VOIDP
74 # error ---->> ruby requires sizeof(void*) == sizeof(long) to be compiled. <<----
75 #endif
76 typedef unsigned long VALUE;
77 typedef unsigned long ID;

aiff.h
Code:
78 typedef unsigned long                   ID;
79 typedef short                           MarkerIdType;
80 struct ChunkHeader {
81   ID                  ckID;
82   long                ckSize;
83 };
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #17
Check that it's using the OpenAL framework you deleted the include from?

I dunno, that should the only place Carbon.h is being included.
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #18
OMG OSC YOU GOD!!!
That was it, i looked for OpenAL in frameworks and there was two so i sudo rm'd alut.h then cp'd the altered version and it built!
Its because the OpenAL framework in RubyGameCommon/External/openal/build/ wasnt being used like you guessed!
It build RubyGameCommon!
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #19
Ok, Maze still wont compile though:

Code:
Build Failed: No rule to build ../RubyGameCommon/External/openal/macosx/build/OpenAL.framework

It shouldnt need to build OpenAL, if already got it sorted out before...

Same happens with

RubyFreeTypeOpenGLTest
and
SimpleRubyOpenALExample

Is the only problem I get
I have a feeling that its going to work once this is fixed probably,

Mad Cry Mad Cry Mad
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #20
GameShell works though...
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #21
just move the AL framework to where it's looking for it. That's where it should have been built...
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #22
Yesssssssssssss!!!!!!!!!!!!!!!!

\(^_^)/


Thats it working, thanks so much for fixing that.
Quote this message in a reply
Sage
Posts: 1,066
Joined: 2004.07
Post: #23
Ok. I googled the term, downloaded the installer, ran it, and tried the svn checkout ... line in terminal but I get an error telling me that svn is not a recognized command. Any ideas? I'd like to give this a try. Plus I was told I'd need it to really check out OSC's code.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #24
Mac subversion packages are here: http://homepage.mac.com/martinott/

I'd suggest checking out from http://onesadcookie.com/svn/repos so your checkout doesn't break if my IP changes Wink
Quote this message in a reply
Sage
Posts: 1,066
Joined: 2004.07
Post: #25
I tried that link as well and this is all I can get after installing the package:
Code:
Last login: Tue Aug 23 00:07:12 on ttyp1
Welcome to Darwin!
Nicholas-Gravelyns-Computer:~ NicholasGravelyn$ svn checkout http://onesadcookie.com/svn/repos
-bash: svn: command not found
Any ideas why this isn't working for me?
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #26
you need to add /usr/local/bin to your path.

if you're using bash, edit ~/.bash_profile and add

Code:
export PATH=/usr/local/bin:$PATH

make sure there's a newline at the end of the file.
Quote this message in a reply
Sage
Posts: 1,066
Joined: 2004.07
Post: #27
Maybe I'm making this harder than it is, but where can I find that file? Searching my computer for 'bash' doesn't get it. I also haven't had luck with anything in terminal.
Quote this message in a reply
Sage
Posts: 1,482
Joined: 2002.09
Post: #28
To edit that file, it's easiest to use the terminal because it's invisible. The 'open' command will act as though you clicked on something in the Finder. Try that first by typing:
Code:
open ~/.bash_profile

Which will *probably* open it in TextEdit. If it doesn't, try:
Code:
nano ~/.bash_profile

nano is a terminal based text editor. Should be fairly straight forward. To save press Ctrl-X, then 'y', then return.

Open a new terminal window, and you should now be able to use svn correctly.


As a side note, the period at the beginning of the name makes it invisible, make sure you are searching accordingly.
Quote this message in a reply
Sage
Posts: 1,066
Joined: 2004.07
Post: #29
Cool. thanks. Now I have SVN for my own personal use as well. Fun Fun.
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #30
Ok this is not good, im trying to rebuild the whole RubyGameCommon and everything in OSC's repo
I cant seem to make freetype 1.2.8 and 1.2.10 (that 1.2.ten?!) doesnt work either

I get this
Code:
/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
/bin/sh: -c: line 2: syntax error: unexpected end of file
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I./builds/unix -I/Users/ed/OSC'Srepos/RubyGameCommon/External/freetype-2.1.10/include -c -Wall  -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -o /ftsystem.lo builds/unix/ftsystem.c
/bin/sh: -c: line 1: unexpected EOF while looking for matching `''
/bin/sh: -c: line 2: syntax error: unexpected end of file
make: *** [/ftsystem.lo] Error 2

please put me out of my misery someone..

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Post Reply