Problems compiling Fox-1.6.36

View: New views
2 Messages — Rating Filter:   Alert me  

Problems compiling Fox-1.6.36

by Dr Gavin Tabor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All,

I am trying to get Fox compiled on my laptop, which is running OpenSUSE 11.1. I did have it running, and I have it running on my office computer, but I had occasion to do a reinstallation on the laptop which seems to have broken things. ./configure works fine, but when I try to make the package I get the following error;

FXGLCone.cpp: In member function ‘virtual void FX::FXGLCone::drawshape(FX::FXGLViewer*)’:
FXGLCone.cpp:110: error: ‘GLUquadric’ was not declared in this scope
FXGLCone.cpp:110: error: ‘quad’ was not declared in this scope
FXGLCone.cpp:110: error: ‘gluNewQuadric’ was not declared in this scope
FXGLCone.cpp:111: error: ‘GLU_FILL’ was not declared in this scope
FXGLCone.cpp:111: error: ‘gluQuadricDrawStyle’ was not declared in this scope
FXGLCone.cpp:118: error: ‘gluCylinder’ was not declared in this scope
FXGLCone.cpp:119: error: ‘GLU_INSIDE’ was not declared in this scope
FXGLCone.cpp:119: error: ‘gluQuadricOrientation’ was not declared in this scope
FXGLCone.cpp:120: error: ‘gluDisk’ was not declared in this scope
FXGLCone.cpp:121: error: ‘gluDeleteQuadric’ was not declared in this scope
make[1]: *** [FXGLCone.lo] Error 1
make[1]: Leaving directory `/opt/foam/OpenFOAM/ThirdParty/fox-1.6.36/src'
make: *** [all-recursive] Error 1

Dropping back to 1.4.35 and everything is OK again. Can some kind soul tell me what is going wrong here (or even just point me in the right direction) please?

Gavin
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

Re: Problems compiling Fox-1.6.36

by Jeroen van der Zijp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 29 May 2009, Tabor, Gavin wrote:

> Dear All,
>
> I am trying to get Fox compiled on my laptop, which is running OpenSUSE 11.1. I did have it running, and I have it running on my office computer, but I had occasion to do a reinstallation on the laptop which seems to have broken things. ./configure works fine, but when I try to make the package I get the following error;
>
> FXGLCone.cpp: In member function ‘virtual void FX::FXGLCone::drawshape(FX::FXGLViewer*)’:
> FXGLCone.cpp:110: error: ‘GLUquadric’ was not declared in this scope
> FXGLCone.cpp:110: error: ‘quad’ was not declared in this scope
> FXGLCone.cpp:110: error: ‘gluNewQuadric’ was not declared in this scope
> FXGLCone.cpp:111: error: ‘GLU_FILL’ was not declared in this scope
> FXGLCone.cpp:111: error: ‘gluQuadricDrawStyle’ was not declared in this scope
> FXGLCone.cpp:118: error: ‘gluCylinder’ was not declared in this scope
> FXGLCone.cpp:119: error: ‘GLU_INSIDE’ was not declared in this scope
> FXGLCone.cpp:119: error: ‘gluQuadricOrientation’ was not declared in this scope
> FXGLCone.cpp:120: error: ‘gluDisk’ was not declared in this scope
> FXGLCone.cpp:121: error: ‘gluDeleteQuadric’ was not declared in this scope
> make[1]: *** [FXGLCone.lo] Error 1
> make[1]: Leaving directory `/opt/foam/OpenFOAM/ThirdParty/fox-1.6.36/src'
> make: *** [all-recursive] Error 1
>
> Dropping back to 1.4.35 and everything is OK again. Can some kind soul tell me what is going wrong here (or even just point me in the right direction) please?

Try one of the following:


        1) if you need OpenGL support, make sure glu.h /libGLU is installed;


        2) if you don't, just pass --with-opengl=no on configure.  This will stub-out the
           opengl widgets.


Hope this helps,


                - Jeroen


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users