[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Build issues on Mac OS X 10.5 - OpenGL renderer namespace is
From: |
Michael Brancato |
Subject: |
[Gnash-dev] Build issues on Mac OS X 10.5 - OpenGL renderer namespace issue? |
Date: |
Thu, 12 Jun 2008 01:07:56 -0400 |
User-agent: |
Thunderbird 2.0.0.12 (Macintosh/20080213) |
Hello,
I have been reading through some of the history of the OS X Aqua port in
the mailing lists, and on the Wiki. My source is from CVS as of
Yesterday, 06/11/2008. I have basically followed the instructions at
http://wiki.gnashdev.org/Building_on_Mac_OS_X to build the experimental
Aqua/Carbon version with minor changes.
I used glibtoolize (from fink), and it seemed to work fine. I also
didn't need to include library paths in my configure command-line
arguments, but I did include --enable-npapi and --enable-nspr. I am
using OS X 10.5.3 with Xcode 3.1 installed and I've used fink
exclusively to install my prereqs.
Here is where make is dying, long into the build (maybe 30-45 minutes in):
<snip>
Making all in backend
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I. -I.. -I../server -I../server/parser -I../libbase
-I../backend -I../libgeometry -D_THREAD_SAFE -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -I/sw/include -I/sw/include
-I/usr/local/include/boost-1_35 -framework Carbon -framework
ApplicationServices -framework OpenGL -framework AGL
-I/System/Library/Frameworks/OpenGL.framework/Headers -g -O2
-D_THREAD_SAFE -W -Wall -Wcast-align -Wcast-qual
-Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused
-Wextra -ansi -MT render_handler_ogl.lo -MD -MP -MF
".deps/render_handler_ogl.Tpo" -c -o render_handler_ogl.lo
render_handler_ogl.cpp; \
then mv -f ".deps/render_handler_ogl.Tpo"
".deps/render_handler_ogl.Plo"; else rm -f
".deps/render_handler_ogl.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server
-I../server/parser -I../libbase -I../backend -I../libgeometry
-D_THREAD_SAFE -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
-I/sw/include -I/sw/include -I/usr/local/include/boost-1_35 -framework
Carbon -framework ApplicationServices -framework OpenGL -framework AGL
-I/System/Library/Frameworks/OpenGL.framework/Headers -g -O2
-D_THREAD_SAFE -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith
-Wreturn-type -Wnon-virtual-dtor -Wunused -Wextra -ansi -MT
render_handler_ogl.lo -MD -MP -MF .deps/render_handler_ogl.Tpo -c
render_handler_ogl.cpp -fno-common -DPIC -o .libs/render_handler_ogl.o
/usr/local/include/boost-1_35/boost/thread/pthread/timespec.hpp: In
function 'timespec boost::detail::get_timespec(const boost::system_time&)':
/usr/local/include/boost-1_35/boost/thread/pthread/timespec.hpp:18:
warning: missing initializer for member 'timespec::tv_nsec'
/usr/local/include/boost-1_35/boost/thread/xtime.hpp: In function
'boost::xtime boost::get_xtime(const boost::system_time&)':
/usr/local/include/boost-1_35/boost/thread/xtime.hpp:59: warning:
missing initializer for member 'boost::xtime::nsec'
render_handler_ogl.cpp: At global scope:
render_handler_ogl.cpp:365: warning: unused parameter 'vertex_data'
render_handler_ogl.cpp:365: warning: unused parameter 'weight'
render_handler_ogl.cpp:899: warning: unused parameter 'masked'
render_handler_ogl.cpp:927: warning: unused parameter 'enable'
render_handler_ogl.cpp:1191: warning: unused parameter 'mat'
render_handler_ogl.cpp: In member function 'bool
gnash::render_handler_ogl::apply_line_style(const gnash::line_style&,
const gnash::cxform&, const gnash::matrix&)':
render_handler_ogl.cpp:1260: warning: unused variable 'pointSize'
render_handler_ogl.cpp: At global scope:
render_handler_ogl.cpp:1350: warning: unused parameter 'fill_styles'
render_handler_ogl.cpp:1515: warning: unused parameter 'pixel_scale'
render_handler_ogl.cpp:1665: warning: unused parameter 'ranges'
../server/shape.h: In member function 'void
gnash::Path<T>::transform(const gnash::matrix&) [with T = int]':
render_handler_ogl.cpp:1504: instantiated from here
../server/shape.h:536: error: no matching function for call to
'gnash::matrix::transform(gnash::geometry::Point2d<int>&) const'
../server/matrix.h:139: note: candidates are: void
gnash::matrix::transform(gnash::point&) const
../server/matrix.h:145: note: void
gnash::matrix::transform(gnash::point*, const gnash::point&) const
../server/matrix.h:151: note: void
gnash::matrix::transform(gnash::geometry::Range2d<float>&) const
../server/shape.h: In member function 'void
gnash::Edge<T>::transform(const gnash::matrix&) [with T = int]':
../server/shape.h:537: instantiated from 'void
gnash::Path<T>::transform(const gnash::matrix&) [with T = int]'
render_handler_ogl.cpp:1504: instantiated from here
../server/shape.h:98: error: no matching function for call to
'gnash::matrix::transform(gnash::geometry::Point2d<int>&) const'
../server/matrix.h:139: note: candidates are: void
gnash::matrix::transform(gnash::point&) const
../server/matrix.h:145: note: void
gnash::matrix::transform(gnash::point*, const gnash::point&) const
../server/matrix.h:151: note: void
gnash::matrix::transform(gnash::geometry::Range2d<float>&) const
../server/shape.h:99: error: no matching function for call to
'gnash::matrix::transform(gnash::geometry::Point2d<int>&) const'
../server/matrix.h:139: note: candidates are: void
gnash::matrix::transform(gnash::point&) const
../server/matrix.h:145: note: void
gnash::matrix::transform(gnash::point*, const gnash::point&) const
../server/matrix.h:151: note: void
gnash::matrix::transform(gnash::geometry::Range2d<float>&) const
make[2]: *** [render_handler_ogl.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Regards,
--
Mike Brancato, CISSP
- [Gnash-dev] Build issues on Mac OS X 10.5 - OpenGL renderer namespace issue?,
Michael Brancato <=