MathewWi / mupen64gc

Automatically exported from code.google.com/p/mupen64gc
GNU General Public License v2.0
0 stars 0 forks source link

GC source from "trunk" does not compile #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. The "trunk" SVN does not compile for GC since r469

What is the expected output? What do you see instead?

gui/gui_GX-menu.o: In function `draw_background':
C:\devkitPro\Mupen64GC/gui/gui_GX-menu.c:680: undefined reference to 
`GX_Position2f32'
C:\devkitPro\Mupen64GC/gui/gui_GX-menu.c:681: undefined reference to 
`GX_TexCoord2f32'
...
C:\devkitPro\Mupen64GC/gui/gui_GX-menu.c:688: undefined reference to 
`GX_End'
gui/gui_GX-menu.o: In function `draw_rect':
C:\devkitPro\Mupen64GC/gui/gui_GX-menu.c:636: undefined reference to 
`GX_Position2f32'
...etc...
What version of the product are you using? On which system and loader?

Latest DevkitPro, latest "trunk" SVN source

Please provide any additional information below.

It looks like I am missing a file with GX definitions, which was not 
updated/included with latest revisions...

Original issue reported on code.google.com by DSh...@gmail.com on 27 Jan 2009 at 2:23

GoogleCodeExporter commented 9 years ago
Check your DKP file structure and the makefile you're using.

Original comment by sepp...@gmail.com on 27 Jan 2009 at 6:32

GoogleCodeExporter commented 9 years ago
OK, deleted and re-loaded "trunk" from SVN, using "Makefile.GLN64_dev" - 
compiled 
and linked to DOL output, but with tons of warnings about "dereferencing 
type-punned 
pointer" and:

gc_audio/audio.c
gc_audio/audio.c: In function 'copy_to_buffer':
gc_audio/audio.c:159: warning: implicit declaration of function 'floorf'
gc_audio/audio.c:159: warning: incompatible implicit declaration of built-in 
function 'floorf'
gc_audio/audio.c:162: warning: implicit declaration of function 'ceilf'
gc_audio/audio.c:162: warning: incompatible implicit declaration of built-in 
function 'ceilf'
gc_audio/audio.c: In function 'add_to_buffer':
gc_audio/audio.c:182: warning: incompatible implicit declaration of built-in 
function 'ceilf'
gc_audio/audio.c:193: warning: passing argument 1 of 'copy_to_buffer' from 
incompatible pointer type 

Attempt to load the DOL results in black screen - nothing happens...

Original comment by DSh...@gmail.com on 28 Jan 2009 at 7:00