SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] error building dynamics libraries:sci_gl.h not found


Chronological Thread 
  • From: McKay Davis <mdavis@sci.utah.edu>
  • To: Shi Jin <jinzishuai@yahoo.com>
  • Cc: scirun-users <scirun-users@sci.utah.edu>
  • Subject: Re: [SCIRUN-USERS] error building dynamics libraries:sci_gl.h not found
  • Date: Mon, 28 Feb 2005 16:25:10 -0700

Shi Jin,
This is a bug in the 1.24.0b release. The tarballs did not have correct permissions on two files: 'SCIRun/src/include/sci_gl.h' and 'SCIRun/src/include/sci_glx.h'. This will be fixed in the official 1.24.0 release, but in the meantime you can fix it by changing to the 'SCIRun/src/include' directory and executing the command:
> chmod a+r *

-McKay Davis
SCIRun Developer


Shi Jin wrote:

Hi there,

I just tried SCIRun yesterday. I built everything from
source code and it seemed to work.
But when I followed the SCIRun tutorialto do the
chapter 1 Geometry Visualization case, I encountered
compilation error.

The error messages are below(mainly sci_gl.h not found
but I do find it under the src/include directory which
is indeed inside the Makefile or my
~/SCIRun/on-the-fly-libs/Linux/Makefile):

---------------------Begin-----------------------
In file included from
/usr/local/src/SCIRun/src/Core/Geom/GeomCylinder.h:47,
                from
/usr/local/src/SCIRun/src/Core/Algorithms/Visualization/RenderField.h:45,
                from
RenderField.TetVolFielddouble.TetVolMeshNode.cc:3:
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:53:20:
sci_gl.h: No such file or directory
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:55:21:
sci_glx.h: No such file or directory
In file included from
/usr/local/src/SCIRun/src/Core/Geom/GeomCylinder.h:47,
                from
/usr/local/src/SCIRun/src/Core/Algorithms/Visualization/RenderField.h:45,
                from
RenderField.TetVolFielddouble.TetVolMeshNode.cc:3:
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:148:
error: syntax error before `*' token
gmake: ***
[RenderField.TetVolFielddouble.TetVolMeshNode.o] Error
1
DYNAMIC COMPILATION ERROR:
/home/seki/SCIRun/on-the-fly-libs/Linux/RenderField.TetVolFielddouble.TetVolMeshNode.so
does not compile!!
REMARK: Dynamic compilation completed.
ERROR: Could not compile algorithm for
'RenderField<TetVolField<double> , TetVolMesh::Node>'.
REMARK: Dynamically compiling some code.
DynamicLoader - Successfully created
/home/seki/SCIRun/on-the-fly-libs/Linux/RenderField.TetVolFielddouble.TetVolMeshNode.cc
DynamicLoader - Executing: cd
/home/seki/SCIRun/on-the-fly-libs/Linux;
/usr/bin/gmake
RenderField.TetVolFielddouble.TetVolMeshNode.so
DynamicLoader::compile_so() syscal error 512: command
was 'cd /home/seki/SCIRun/on-the-fly-libs/Linux;
/usr/bin/gmake
RenderField.TetVolFielddouble.TetVolMeshNode.so >
RenderField.TetVolFielddouble.TetVolMeshNode.log 2>&1'
set -e; g++ -M -Wall -O2 -I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/include
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tcl8.3.2/generic
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tk8.3.2/generic
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tk8.3.2/unix
-I/usr/X11R6/include -I/usr/local/src/SCIRun/build-dir
-I/usr/local/src/SCIRun/build-dir/include
-I/usr/local/src/SCIRun/src
-I/usr/local/src/SCIRun/src/Packages
-I/usr/local/src/SCIRun/src/include
RenderField.TetVolFielddouble.TetVolMeshNode.cc \
         | sed
's/\(RenderField.TetVolFielddouble.TetVolMeshNode\)\.o[
:]*/\1.o
RenderField.TetVolFielddouble.TetVolMeshNode.d : /g' >
RenderField.TetVolFielddouble.TetVolMeshNode.d; \
         [ -s
RenderField.TetVolFielddouble.TetVolMeshNode.d ] || rm
-f RenderField.TetVolFielddouble.TetVolMeshNode.d
In file included from
/usr/local/src/SCIRun/src/Core/Geom/GeomCylinder.h:47,
                from
/usr/local/src/SCIRun/src/Core/Algorithms/Visualization/RenderField.h:45,
                from
RenderField.TetVolFielddouble.TetVolMeshNode.cc:3:
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:53:20:
sci_gl.h: No such file or directory
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:55:21:
sci_glx.h: No such file or directory
rm -f RenderField.TetVolFielddouble.TetVolMeshNode.o
RenderField.TetVolFielddouble.TetVolMeshNode.so
RenderField.TetVolFielddouble.TetVolMeshNode.dylib
g++ -c -Wall -O2 -I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/include
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tcl8.3.2/generic
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tk8.3.2/generic
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tk8.3.2/unix
-I/usr/X11R6/include -I/usr/local/src/SCIRun/build-dir
-I/usr/local/src/SCIRun/build-dir/include
-I/usr/local/src/SCIRun/src
-I/usr/local/src/SCIRun/src/Packages
-I/usr/local/src/SCIRun/src/include
RenderField.TetVolFielddouble.TetVolMeshNode.cc -o
RenderField.TetVolFielddouble.TetVolMeshNode.o In file included from
/usr/local/src/SCIRun/src/Core/Geom/GeomCylinder.h:47,
                from
/usr/local/src/SCIRun/src/Core/Algorithms/Visualization/RenderField.h:45,
                from
RenderField.TetVolFielddouble.TetVolMeshNode.cc:3:
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:53:20:
sci_gl.h: No such file or directory
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:55:21:
sci_glx.h: No such file or directory
In file included from
/usr/local/src/SCIRun/src/Core/Geom/GeomCylinder.h:47,
                from
/usr/local/src/SCIRun/src/Core/Algorithms/Visualization/RenderField.h:45,
                from
RenderField.TetVolFielddouble.TetVolMeshNode.cc:3:
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:148:
error: syntax error before `*' token
gmake: ***
[RenderField.TetVolFielddouble.TetVolMeshNode.o] Error
1
DYNAMIC COMPILATION ERROR:
/home/seki/SCIRun/on-the-fly-libs/Linux/RenderField.TetVolFielddouble.TetVolMeshNode.so
does not compile!!
REMARK: Dynamic compilation completed.
ERROR: Could not compile algorithm for
'RenderField<TetVolField<double> , TetVolMesh::Node>'.
REMARK: Dynamically compiling some code.
DynamicLoader - Successfully created
/home/seki/SCIRun/on-the-fly-libs/Linux/RenderField.TetVolFielddouble.TetVolMeshNode.cc
DynamicLoader - Executing: cd
/home/seki/SCIRun/on-the-fly-libs/Linux;
/usr/bin/gmake
RenderField.TetVolFielddouble.TetVolMeshNode.so
DynamicLoader::compile_so() syscal error 512: command
was 'cd /home/seki/SCIRun/on-the-fly-libs/Linux;
/usr/bin/gmake
RenderField.TetVolFielddouble.TetVolMeshNode.so >
RenderField.TetVolFielddouble.TetVolMeshNode.log 2>&1'
set -e; g++ -M -Wall -O2 -I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/include
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tcl8.3.2/generic
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tk8.3.2/generic
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tk8.3.2/unix
-I/usr/X11R6/include -I/usr/local/src/SCIRun/build-dir
-I/usr/local/src/SCIRun/build-dir/include
-I/usr/local/src/SCIRun/src
-I/usr/local/src/SCIRun/src/Packages
-I/usr/local/src/SCIRun/src/include
RenderField.TetVolFielddouble.TetVolMeshNode.cc \
         | sed
's/\(RenderField.TetVolFielddouble.TetVolMeshNode\)\.o[
:]*/\1.o
RenderField.TetVolFielddouble.TetVolMeshNode.d : /g' >
RenderField.TetVolFielddouble.TetVolMeshNode.d; \
         [ -s
RenderField.TetVolFielddouble.TetVolMeshNode.d ] || rm
-f RenderField.TetVolFielddouble.TetVolMeshNode.d
In file included from
/usr/local/src/SCIRun/src/Core/Geom/GeomCylinder.h:47,
                from
/usr/local/src/SCIRun/src/Core/Algorithms/Visualization/RenderField.h:45,
                from
RenderField.TetVolFielddouble.TetVolMeshNode.cc:3:
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:53:20:
sci_gl.h: No such file or directory
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:55:21:
sci_glx.h: No such file or directory
rm -f RenderField.TetVolFielddouble.TetVolMeshNode.o
RenderField.TetVolFielddouble.TetVolMeshNode.so
RenderField.TetVolFielddouble.TetVolMeshNode.dylib
g++ -c -Wall -O2 -I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/include
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tcl8.3.2/generic
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tk8.3.2/generic
-I/opt/SCIRun/Thirdparty/1.24/Linux/gcc-3.3.2-32bit/src/tk8.3.2/unix
-I/usr/X11R6/include -I/usr/local/src/SCIRun/build-dir
-I/usr/local/src/SCIRun/build-dir/include
-I/usr/local/src/SCIRun/src
-I/usr/local/src/SCIRun/src/Packages
-I/usr/local/src/SCIRun/src/include
RenderField.TetVolFielddouble.TetVolMeshNode.cc -o
RenderField.TetVolFielddouble.TetVolMeshNode.o In file included from
/usr/local/src/SCIRun/src/Core/Geom/GeomCylinder.h:47,
                from
/usr/local/src/SCIRun/src/Core/Algorithms/Visualization/RenderField.h:45,
                from
RenderField.TetVolFielddouble.TetVolMeshNode.cc:3:
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:53:20:
sci_gl.h: No such file or directory
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:55:21:
sci_glx.h: No such file or directory
In file included from
/usr/local/src/SCIRun/src/Core/Geom/GeomCylinder.h:47,
                from
/usr/local/src/SCIRun/src/Core/Algorithms/Visualization/RenderField.h:45,
                from
RenderField.TetVolFielddouble.TetVolMeshNode.cc:3:
/usr/local/src/SCIRun/src/Core/Geom/GeomOpenGL.h:148:
error: syntax error before `*' token
gmake: ***
[RenderField.TetVolFielddouble.TetVolMeshNode.o] Error
1
DYNAMIC COMPILATION ERROR:
/home/seki/SCIRun/on-the-fly-libs/Linux/RenderField.TetVolFielddouble.TetVolMeshNode.so
does not compile!!
REMARK: Dynamic compilation completed.
ERROR: Could not compile algorithm for
'RenderField<TetVolField<double> , TetVolMesh::Node>'.




                
__________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================


===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page