2. arb package not appearing in "fink list" (Matthew Cottrell)
   3. Re: arb package not appearing in "fink list" (Daniel Macks)


Dear Matthew and Daniel, yes, arb has been mauled by the leopard
and is awaiting rescue. Recently, I posted the message below to the
fink developers list. I post it here for your information, and hopefully
to attract someone able to troubleshoot the code. I don't have a 10.5
box yet either.
______________post to fink-devel list_________________

I am looking for some assistance compiling the phylogeny package,
ARB. Ben Hines will be looking at compiling ARB on Leopard but I
would like to get the latest source for ARB to compile on intel/
Tiger. So far, it compiles much of the way then stops with the
error: invalid conversion from 'int*' to 'GLint*'. I have seen
discussions of this kind of error but I would appreciate some expert
assistance on how to patch the ARB code.

Thanks, Mike Dyall-Smith, mlds (AT) unimelb (DOT) edu.au


------------------------------------------------------------------------
-------- Make everything in RNA3D
g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -
DARB_OPENGL -DFAKE_VTAB_PTR=char -D_ARB_RNA3D -c -o RNA3D_Main.o
RNA3D_Main.cxx -I. -I/sw2/src/fink.build/arb-20071029ogl-2007/./
INCLUDE -I/usr/X11R6/include -I/sw2/include/
g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -
DARB_OPENGL -DFAKE_VTAB_PTR=char -D_ARB_RNA3D -c -o RNA3D_Interface.o
RNA3D_Interface.cxx -I. -I/sw2/src/fink.build/arb-20071029ogl-2007/./
INCLUDE -I/usr/X11R6/include -I/sw2/include/
g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -
DARB_OPENGL -DFAKE_VTAB_PTR=char -D_ARB_RNA3D -c -o RNA3D_Graphics.o
RNA3D_Graphics.cxx -I. -I/sw2/src/fink.build/arb-20071029ogl-2007/./
INCLUDE -I/usr/X11R6/include -I/sw2/include/
g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -
DARB_OPENGL -DFAKE_VTAB_PTR=char -D_ARB_RNA3D -c -o
RNA3D_OpenGLEngine.o RNA3D_OpenGLEngine.cxx -I. -I/sw2/src/
fink.build/arb-20071029ogl-2007/./INCLUDE -I/usr/X11R6/include -I/sw2/
include/
g++ -DDARWIN -DNO_REGEXPR -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG -
DARB_OPENGL -DFAKE_VTAB_PTR=char -D_ARB_RNA3D -c -o
RNA3D_OpenGLGraphics.o RNA3D_OpenGLGraphics.cxx -I. -I/sw2/src/
fink.build/arb-20071029ogl-2007/./INCLUDE -I/usr/X11R6/include -I/sw2/
include/
RNA3D_OpenGLGraphics.cxx: In member function 'void
OpenGLGraphics::WinToScreenCoordinates(int, int, GLdouble*)':
RNA3D_OpenGLGraphics.cxx:110: error: invalid conversion from 'int*'
to 'GLint*'
RNA3D_OpenGLGraphics.cxx:110: error: initializing argument 2 of
'void glGetIntegerv(GLenum, GLint*)'
RNA3D_OpenGLGraphics.cxx:117: error: invalid conversion from 'int*'
to 'const GLint*'
RNA3D_OpenGLGraphics.cxx:117: error: initializing argument 6 of
'GLint gluUnProject(GLdouble, GLdouble, GLdouble, const GLdouble*,
const GLdouble*, const GLint*, GLdouble*, GLdouble*, GLdouble*)'
make[1]: *** [RNA3D_OpenGLGraphics.o] Error 1
make: *** [RNA3D/RNA3D.dummy] Error 2
### execution of /var/tmp/tmp.2.AmmNm4 failed, exit code 2


_____________for reference, lines 102-118 of
RNA3D_OpenGLGraphics.cxx: _________

void OpenGLGraphics::WinToScreenCoordinates(int x, int y, GLdouble
*screenPos) {
//project window coords to gl coord
glLoadIdentity();
GLdouble modelMatrix[16];
glGetDoublev(GL_MODELVIEW_MATRIX,modelMatrix);
GLdouble projMatrix[16];
glGetDoublev(GL_PROJECTION_MATRIX,projMatrix);
int viewport[4];
glGetIntegerv(GL_VIEWPORT,viewport);
gluUnProject(x, y, 0,
modelMatrix,
projMatrix,
viewport,
//the next 3 parameters are the pointers to the
final object coordinates.(double)
&screenPos[0], &screenPos[1], &screenPos[2]
);
}
______________________________________________________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to