Re: [AD] Build errors on OS X release mode

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Fri, February 12, 2010 2:27 pm, Peter Hull said:
> This might be me but I get errors building the CMake-generated
> makefiles in release mode:
> [ 13%] Building CXX object CMakeFiles/allegro.dir/src/macosx/osxgl.m.o
> /Users/peterhull/Projects/allegro/4.9/src/macosx/osxgl.m: In function
> ?osx_set_opengl_pixelformat_attributes?:
> /Users/peterhull/Projects/allegro/4.9/src/macosx/osxgl.m:628: error:
> ?allegro_pixel_format_names? undeclared (first use in this function)
> /Users/peterhull/Projects/allegro/4.9/src/macosx/osxgl.m:628: error:
> (Each undeclared identifier is reported only once
> /Users/peterhull/Projects/allegro/4.9/src/macosx/osxgl.m:628: error:
> for each function it appears in.)
>
> Any ideas?

Here's a patch that fixes those. Though I'm not sure this is the best way to do it, so I didn't
just go ahead and commit it.

Trent :{)>

Attachment: osxgl.diff
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/