[MacPorts] #16981: openvrml-0.17.9: new port
MacPorts
noreply at macports.org
Sat Oct 25 08:50:55 PDT 2008
#16981: openvrml-0.17.9: new port
---------------------------------+------------------------------------------
Reporter: raphael at ira.uka.de | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Submissions
Component: ports | Version: 1.6.0
Resolution: | Keywords: vrml new port
Port: openvrml |
---------------------------------+------------------------------------------
Changes (by devans at macports.org):
* keywords: openvrml, new port => vrml new port
Comment:
I tried building openvrml from your portfile but it failed with the
following error:
{{{
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/g++-4.0
-DHAVE_CONFIG_H -I. -I.. -I../src/libopenvrml -I../src/libopenvrml
-I../src/libopenvrml-gl -I../src/libopenvrml-gl -I/opt/local/include
-D_THREAD_SAFE -O2 -MT libopenvrml-gl/openvrml/gl
/libopenvrml_gl_libopenvrml_gl_la-viewer.lo -MD -MP -MF libopenvrml-
gl/openvrml/gl/.deps/libopenvrml_gl_libopenvrml_gl_la-viewer.Tpo -c -o
libopenvrml-gl/openvrml/gl/libopenvrml_gl_libopenvrml_gl_la-viewer.lo
`test -f 'libopenvrml-gl/openvrml/gl/viewer.cpp' || echo './'`libopenvrml-
gl/openvrml/gl/viewer.cpp
mkdir libopenvrml-gl/openvrml/gl/.libs
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I.. -I../src/libopenvrml
-I../src/libopenvrml -I../src/libopenvrml-gl -I../src/libopenvrml-gl
-I/opt/local/include -D_THREAD_SAFE -O2 -MT libopenvrml-gl/openvrml/gl
/libopenvrml_gl_libopenvrml_gl_la-viewer.lo -MD -MP -MF libopenvrml-
gl/openvrml/gl/.deps/libopenvrml_gl_libopenvrml_gl_la-viewer.Tpo -c
libopenvrml-gl/openvrml/gl/viewer.cpp -fno-common -DPIC -o libopenvrml-
gl/openvrml/gl/.libs/libopenvrml_gl_libopenvrml_gl_la-viewer.o
libopenvrml-gl/openvrml/gl/viewer.cpp: In function
'void<unnamed>::insertExtrusionCaps(GLUtesselator&, unsigned int, size_t,
const std::vector<openvrml::vec3f, std::allocator<openvrml::vec3f> >&,
const std::vector<openvrml::vec2f, std::allocator<openvrml::vec2f> >&)':
libopenvrml-gl/openvrml/gl/viewer.cpp:2054: error: invalid conversion from
'GLvoid (*)()' to 'GLvoid (*)(...)'
libopenvrml-gl/openvrml/gl/viewer.cpp:2054: error: initializing argument
3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
libopenvrml-gl/openvrml/gl/viewer.cpp:2056: error: invalid conversion from
'GLvoid (*)()' to 'GLvoid (*)(...)'
libopenvrml-gl/openvrml/gl/viewer.cpp:2056: error: initializing argument
3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
libopenvrml-gl/openvrml/gl/viewer.cpp:2058: error: invalid conversion from
'GLvoid (*)()' to 'GLvoid (*)(...)'
libopenvrml-gl/openvrml/gl/viewer.cpp:2058: error: initializing argument
3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
libopenvrml-gl/openvrml/gl/viewer.cpp: In function
'void<unnamed>::insertShellTess(GLUtesselator&, const
std::vector<<unnamed>::vertex_data, std::allocator<<unnamed>::vertex_data>
>&, const std::vector<openvrml::int32, std::allocator<openvrml::int32> >&,
bool, const std::vector<openvrml::color, std::allocator<openvrml::color>
>&, const std::vector<openvrml::int32, std::allocator<openvrml::int32> >&,
bool, const std::vector<openvrml::vec3f, std::allocator<openvrml::vec3f>
>&, const std::vector<openvrml::int32, std::allocator<openvrml::int32>
>&)':
libopenvrml-gl/openvrml/gl/viewer.cpp:2906: error: invalid conversion from
'GLvoid (*)()' to 'GLvoid (*)(...)'
libopenvrml-gl/openvrml/gl/viewer.cpp:2906: error: initializing argument
3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
libopenvrml-gl/openvrml/gl/viewer.cpp:2909: error: invalid conversion from
'GLvoid (*)()' to 'GLvoid (*)(...)'
libopenvrml-gl/openvrml/gl/viewer.cpp:2909: error: initializing argument
3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
libopenvrml-gl/openvrml/gl/viewer.cpp:2912: error: invalid conversion from
'GLvoid (*)()' to 'GLvoid (*)(...)'
libopenvrml-gl/openvrml/gl/viewer.cpp:2912: error: initializing argument
3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
libopenvrml-gl/openvrml/gl/viewer.cpp:2915: error: invalid conversion from
'GLvoid (*)()' to 'GLvoid (*)(...)'
libopenvrml-gl/openvrml/gl/viewer.cpp:2915: error: initializing argument
3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
libopenvrml-gl/openvrml/gl/viewer.cpp:2917: error: invalid conversion from
'GLvoid (*)()' to 'GLvoid (*)(...)'
libopenvrml-gl/openvrml/gl/viewer.cpp:2917: error: initializing argument
3 of 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
make[3]: *** [libopenvrml-gl/openvrml/gl/libopenvrml_gl_libopenvrml_gl_la-
viewer.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
Also you might want to add a mode line as the first line of the Portfile.
See [http://guide.macports.org/#development.creating-portfile].
--
Ticket URL: <http://trac.macports.org/ticket/16981#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list