Opened 9 years ago

Closed 4 years ago

#47418 closed defect (fixed)

GLC_lib @1.2.0_3: error: use of undeclared identifier 'gluLookAt'

Reported by: christophe.petit09@… Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: GLC_lib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

I have problems when trying to install GLC_lib @1.2.0_3 macport on OS X 10.9.5.

Here's the error :

# port install GLC_lib @1.2.0_3
--->  Computing dependencies for GLC_lib
--->  Building GLC_lib
Error: org.macports.build for port GLC_lib returned: command execution failed
Please see the log file for port GLC_lib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port GLC_lib failed

and the errors into the log :

:notice:build --->  Building GLC_lib
:debug:build Executing org.macports.build (GLC_lib)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
MOC='/opt/local/bin/moc'
PREFIX='/opt/local'
QMAKE='/opt/local/bin/qmake'
QMAKESPEC='macx-g++'
QTDIR='/opt/local'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0" && /usr/bin/make -j8 -w all CC=/usr/bin/clang'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0" && /usr/bin/make -j8 -w all CC=/usr/bin/clang 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0'
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_3dviewcollection.o glc_lib/sceneGraph/glc_3dviewcollection.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_material.o glc_lib/shading/glc_material.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_camera.o glc_lib/viewport/glc_camera.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_viewport.o glc_lib/viewport/glc_viewport.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_settargetmover.o glc_lib/viewport/glc_settargetmover.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_exception.o glc_lib/glc_exception.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_openglexception.o glc_lib/glc_openglexception.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_fileformatexception.o glc_lib/glc_fileformatexception.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_ext.o glc_lib/glc_ext.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Iglc_lib -Iglc_lib/shading -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_state.o glc_lib/glc_state.cpp
:info:build In file included from glc_lib/sceneGraph/glc_3dviewcollection.cpp:28:
:info:build In file included from glc_lib/sceneGraph/glc_3dviewcollection.h:32:
:info:build In file included from glc_lib/sceneGraph/glc_3dviewinstance.h:35:
:info:build In file included from glc_lib/sceneGraph/../geometry/glc_3drep.h:28:
:info:build glc_lib/sceneGraph/../geometry/../geometry/glc_vbogeom.h:122:9: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build         inline const bool containsMaterial(const GLC_uint key) const
:info:build                ^~~~~~
:info:build In file included from glc_lib/shading/glc_material.cpp:28:
:info:build glc_lib/shading/../geometry/glc_vbogeom.h:122:9: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build         inline const bool containsMaterial(const GLC_uint key) const
:info:build                ^~~~~~
:info:build In file included from glc_lib/sceneGraph/glc_3dviewcollection.cpp:28:
:info:build In file included from glc_lib/sceneGraph/glc_3dviewcollection.h:32:
:info:build glc_lib/sceneGraph/glc_3dviewinstance.h:114:9: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build         inline const bool isEmpty() const
:info:build                ^~~~~~
:info:build glc_lib/sceneGraph/glc_3dviewinstance.h:118:9: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build         inline const bool isSelected(void) const {return m_IsSelected;}
:info:build                ^~~~~~
:info:build glc_lib/viewport/glc_camera.cpp:431:2: error: use of undeclared identifier 'gluLookAt'
:info:build         gluLookAt(m_Eye.X(), m_Eye.Y(), m_Eye.Z(),
:info:build         ^
:info:build In file included from glc_lib/viewport/glc_settargetmover.cpp:26:
:info:build In file included from glc_lib/viewport/glc_viewport.h:31:
:info:build In file included from glc_lib/viewport/glc_imageplane.h:30:
:info:build glc_lib/viewport/../geometry/glc_vbogeom.h:122:9: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build         inline const bool containsMaterial(const GLC_uint key) const
:info:build                ^~~~~~
:info:build In file included from glc_lib/viewport/glc_viewport.cpp:28:
:info:build In file included from glc_lib/viewport/glc_viewport.h:31:
:info:build In file included from glc_lib/viewport/glc_imageplane.h:30:
:info:build glc_lib/viewport/../geometry/glc_vbogeom.h:122:9: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build         inline const bool containsMaterial(const GLC_uint key) const
:info:build                ^~~~~~
:info:build glc_lib/shading/glc_material.cpp:459:15: error: use of undeclared identifier 'gluErrorString'
:info:build                 errString = gluErrorString(errCode);
:info:build                             ^
:info:build In file included from glc_lib/viewport/glc_viewport.cpp:33:
:info:build glc_lib/viewport/../sceneGraph/glc_3dviewinstance.h:114:9: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build         inline const bool isEmpty() const
:info:build                ^~~~~~
:info:build glc_lib/viewport/../sceneGraph/glc_3dviewinstance.h:118:9: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build         inline const bool isSelected(void) const {return m_IsSelected;}
:info:build                ^~~~~~
:info:build glc_lib/viewport/glc_settargetmover.cpp:84:2: error: use of undeclared identifier 'gluUnProject'
:info:build         gluUnProject((GLdouble) x, (GLdouble) (m_pViewport->viewVSize() - y) , Depth
:info:build         ^
:info:build glc_lib/viewport/glc_viewport.cpp:133:2: error: use of undeclared identifier 'gluPerspective'
:info:build         gluPerspective(m_dFov, AspectRatio, m_dCamDistMin, m_dCamDistMax);
:info:build         ^
:info:build glc_lib/sceneGraph/glc_3dviewcollection.cpp:659:16: error: use of undeclared identifier 'gluErrorString'
:info:build                         errString = gluErrorString(errCode);
:info:build                                     ^
:info:build glc_lib/viewport/glc_viewport.cpp:148:2: error: use of undeclared identifier 'gluPerspective'
:info:build         gluPerspective(m_dFov, ratio, m_dCamDistMin, m_dCamDistMax);
:info:build         ^
:info:build 1 error generated.
:info:build glc_lib/sceneGraph/glc_3dviewcollection.cpp:682:16: error: use of undeclared identifier 'gluErrorString'
:info:build                         errString = gluErrorString(errCode);
:info:build                                     ^
:info:build make: *** [Build/glc_camera.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build glc_lib/sceneGraph/glc_3dviewcollection.cpp:828:15: error: use of undeclared identifier 'gluErrorString'
:info:build                 errString = gluErrorString(errCode);
:info:build                             ^
:info:build 1 warning and 1 error generated.
:info:build make: *** [Build/glc_material.o] Error 1
:info:build 1 warning and 1 error generated.
:info:build make: *** [Build/glc_settargetmover.o] Error 1
:info:build 3 warnings and 2 errors generated.
:info:build make: *** [Build/glc_viewport.o] Error 1
:info:build 3 warnings and 3 errors generated.
:info:build make: *** [Build/glc_3dviewcollection.o] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0" && /usr/bin/make -j8 -w all CC=/usr/bin/clang 
:info:build Exit code: 2
:error:build org.macports.build for port GLC_lib returned: command execution failed
:debug:build Error code: CHILDSTATUS 7862 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for GLC_lib: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port GLC_lib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/main.log

I noticed the main errors :

error: use of undeclared identifier 'gluErrorString'
:info:build                 errString = gluErrorString(errCode);

Have I got to install others "OpenGL like" libraries ?

gluErrorString is defined on my machine into :

# grep -ri gluErrorString /System/Library/Frameworks/OpenGL.framework/
/System/Library/Frameworks/OpenGL.framework//Headers/glu.h:extern const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10_0, 10_9);
Binary file /System/Library/Frameworks/OpenGL.framework//Libraries/libGLU.dylib matches
/System/Library/Frameworks/OpenGL.framework//Resources/BridgeSupport/OpenGL.bridgesupport:<function name='gluErrorString'>
/System/Library/Frameworks/OpenGL.framework//Versions/A/Headers/glu.h:extern const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10_0, 10_9);
Binary file /System/Library/Frameworks/OpenGL.framework//Versions/A/Libraries/libGLU.dylib matches
/System/Library/Frameworks/OpenGL.framework//Versions/A/Resources/BridgeSupport/OpenGL.bridgesupport:<function name='gluErrorString'>
/System/Library/Frameworks/OpenGL.framework//Versions/Current/Headers/glu.h:extern const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10_0, 10_9);
Binary file /System/Library/Frameworks/OpenGL.framework//Versions/Current/Libraries/libGLU.dylib matches
/System/Library/Frameworks/OpenGL.framework//Versions/Current/Resources/BridgeSupport/OpenGL.bridgesupport:<function name='gluErrorString'>

Attachments (5)

patch-glc_3dviewcollection.cpp.diff (374 bytes) - added by master5597@… 9 years ago.
patch-glc_camera.cpp.diff (331 bytes) - added by master5597@… 9 years ago.
patch-glc_material.cpp.diff (351 bytes) - added by master5597@… 9 years ago.
patch-glc_settargetmover.cpp.diff (430 bytes) - added by master5597@… 9 years ago.
patch-glc_viewport.cpp.diff (357 bytes) - added by master5597@… 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: GLC_lib @1.2.0_3 OpenGL removed
Owner: changed from macports-tickets@… to macports@…
Port: @1.2.0_3 removed
Summary: troubles when installing macport GLC_lib @1.2.0_3GLC_lib @1.2.0_3: error: use of undeclared identifier 'gluLookAt'

First, please clean and try again.

Changed 9 years ago by master5597@…

Changed 9 years ago by master5597@…

Attachment: patch-glc_camera.cpp.diff added

Changed 9 years ago by master5597@…

Attachment: patch-glc_material.cpp.diff added

Changed 9 years ago by master5597@…

Changed 9 years ago by master5597@…

Attachment: patch-glc_viewport.cpp.diff added

comment:2 Changed 9 years ago by master5597@…

I was having the same issues with the same version. I was able to fix it by adding #include <GL/glu.h> to the 5 files with errors. See attached patch files. There probably is a better way, this just worked for me.

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Owner: macports@… deleted
Status: newassigned

See #54038.

comment:4 Changed 4 years ago by kencu (Ken)

Owner: set to kencu
Resolution: fixed
Status: assignedclosed

In 06d3394794e9367e19f0f5b1cbd739fc08b11eee/macports-ports (master):

GLC_lib: update to 2.2.0

closes: #55854
closes: #47418
see: #39424

Examples work.
There is a newer version 3.0.1
see: #55854

that uses qt5 but didn't build for Ryan two years ago
and didn't build for me either after some trying

This gets the port into a working state while it is
decided how best to handle 3.0.1 and whether to keep
both a qt4 and qt5 version of this in MacPorts

Note: See TracTickets for help on using tickets.