Snow Leopard stuff

2 views
Skip to first unread message

3dnoob

unread,
Oct 23, 2009, 11:22:23 AM10/23/09
to G3D Users
First I know Snow Leopard will get it's attention in due course, Just
thought I would post the error I ran into. Let me know if you ever
need a tester :).

Second I'm a web programmer (scripter?), just beginning 3d programming
so please take the following from the semi-noobs perspective. I had a
little fit of excitement when I found G3D because it did so much of
what I wanted to make from scratch (which I doubt I even had the
experience to be able to do) so I rushed to my terminal and, from the
manual, tried the
./buildg3d install /usr/local

That couldn't find the target so I looked through the help and found
the --install and all command/target but settled on:
sudo ./buildg3d all

That seems to work, and the system builds quite a few chunks of g3d,
then it hits the file libavcodec/i386/cpuid.c, using this:

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -
D_ISOC9X_SOURCE -I. -I"/Users/myname/Documents/work/3d/G3D/temp/ffmpeg/
native/ffmpeg-export-2008-07-21" -pipe -force_cpusubtype_ALL -Wno-sign-
compare -mdynamic-no-pic -fomit-frame-pointer -Wdeclaration-after-
statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -
Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -
fno-math-errno -c -o libavcodec/i386/cpuid.o libavcodec/i386/
cpuid.c

And spits out:
{standard input}:7:suffix or operands invalid for `pop'
{standard input}:10:suffix or operands invalid for `push'
{standard input}:13:suffix or operands invalid for `pop'
make: *** [libavcodec/i386/cpuid.o] Error 1

I wish I could help from the code end, but I'm just picking up c++
after a 12 year hiatus :).

Thanks for your work on what appears to be an incredible set of
libraries and frameworks :).

- -:{3dnoob}:- -

P.S. any reports of g3d working on the wii?

corey taylor

unread,
Oct 23, 2009, 1:11:27 PM10/23/09
to g3d-...@googlegroups.com

Just replying to the last question for now.

You probably won't see G3D on the Wii.  The feature set that G3D tries to provide users isn't available on that hardware.  We are no longer going to try and provide support for systems will a limited subset of features so the future port to Wii is out of the question.

The only parts that might currently run are some helper math classes.

corey

M. Ryan

unread,
Oct 23, 2009, 8:10:16 PM10/23/09
to g3d-...@googlegroups.com
As far as I can remember, the Wii uses its own proprietary library for the backend so OpenGL, which G3D runs on, won't work unless you wrap it (which would take some serious work).

My advice, Learn C++, take classes, learn up on data structures, ditch MacOSX as soon as humanly possible, and THEN try to make a game. Don't even think of games on consoles until you become much more advanced, or use the XNA framework and C# to make games on the XBox 360.

Although if I'm right about this, and I have little reason to doubt myself, seeing as you mention the Wii specifically and use MacOSX, you are a die hard fanboy for both systems respectively and will scoff at my suggestion to make games for the 360 using XNA. I am saying this to save you alot of grief. Start small and learn so you can at least say you looked before you leaped. Web development (I'm guessing flash) and game development are two completely different animals.

Cesareo of Mexico

unread,
Oct 23, 2009, 8:16:33 PM10/23/09
to g3d-...@googlegroups.com
Im running the Xcode but I cant make a cocoa based application with G3D. Something wrong when exporting (just exporting) a proyect. I cannot program using just gcc because Im doing a real cocoa based app wich involves objetive C and OSX user interfaces...

Help!
--
Cesareo A.

Cesareo of Mexico

unread,
Oct 23, 2009, 8:21:49 PM10/23/09
to g3d-...@googlegroups.com
Why not to make a Xcode template so any user of your software could start at once? lets do it, okay? I would, but of course this have compiler errors dont know whats what at this moment.

--
Cesareo A.

3dnoob

unread,
Oct 24, 2009, 9:06:38 AM10/24/09
to G3D Users
A pity but understandable :).

- -:{3dnoob}:- -

On Oct 23, 1:11 pm, corey taylor <corey.tay...@gmail.com> wrote:
> Just replying to the last question for now.
>
> You probably won't see G3D on the Wii.  The feature set that G3D tries to
> provide users isn't available on that hardware.  We are no longer going to
> try and provide support for systems will a limited subset of features so the
> future port to Wii is out of the question.
>
> The only parts that might currently run are some helper math classes.
>
> corey
>

3dnoob

unread,
Oct 24, 2009, 9:25:49 AM10/24/09
to G3D Users
Your correct, it runs a GX system which is supposed to be similar but
not compatible to openGL. There have been some attempts in the
homebrew community to make a wrapper/translator but not much action
lately.

I'm just trying to become reacquainted with c++ and this library is
where I want to focus my energy. I've been learning straight openGL
and I really don't want to reinvent the wheel.

- -:{3dnoob}:- -

PS. RE: fanboi, blah blah, My main concern is cross compatibility, I
have a mac, I have a wii and I can say this, with little reason to
doubt myself, you have a small penis. Ok, that last one may be a low
blow but seriously, chill on the self-important rhetoric.


On Oct 23, 8:10 pm, "M. Ryan" <0rr...@gmail.com> wrote:
> As far as I can remember, the Wii uses its own proprietary library for the
> backend so OpenGL, which G3D runs on, won't work unless you wrap it (which
> would take some serious work).
>
> My advice, Learn C++, take classes, learn up on data structures, ditch
> MacOSX as soon as humanly possible, and THEN try to make a game. Don't even
> think of games on consoles until you become much more advanced, or use the
> XNA framework and C# to make games on the XBox 360.
>
> Although if I'm right about this, and I have little reason to doubt myself,
> seeing as you mention the Wii specifically and use MacOSX, you are a die
> hard fanboy for both systems respectively and will scoff at my suggestion to
> make games for the 360 using XNA. I am saying this to save you alot of
> grief. *Start small* and* learn* so you can at least say you looked before

3dnoob

unread,
Oct 24, 2009, 9:27:13 AM10/24/09
to G3D Users
hehe, I like your enthusiasm. I'm going to try and get my powerPC
running Leopard to compile the library and see how that works out.
I'll let you know, but it's a great idea... :)

- -:{3dnoob}:- -

On Oct 23, 8:21 pm, Cesareo of Mexico <666.versus.d...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages