Text archives Help
- From: Martin Cole <mjc@sci.utah.edu>
- To: Richard Coffey <richardc@phys.washington.edu>
- Cc: scirun-users@sci.utah.edu
- Subject: Re: [SCIRUN-USERS] Problems compiling SCIRun on RedHat Enterprise 4 update 5
- Date: Fri, 22 Jun 2007 11:10:17 -0600
Who is this Richard Coffey person??!?! :)
If you cd to your bin directory, and run ccmake ../src you will get the
interactive configuration for cmake. hit t to get toggle advanced mode
on, and scroll down to CMAKE_X_CFLAGS. It looks like you could modify
that variable and have some success.
Let me know how it goes.
--mc
On Thu, 2007-06-21 at 18:54 -0700, Richard Coffey wrote:
>
Hi all,
>
>
I'm sure I'm not the first to stumble on this problem, however, I
>
couldn't find anything on this using Google.
>
>
I'm having problems compiling SCIRun on a RedHat machine for an
>
Astronomer here at UW. It's failing on a undefined reference to
>
"XF86VidModeQueryVersion" and undefined reference to
>
"XF86VidModeGetModeLine"
>
>
Using the magic Google "inst-o-matic documentation feature", the
>
recommendation is to include the following library: -lXxf86vm to the
>
compilation.
>
>
If I hack the individual build.make file created by cmake it will
>
compile.
>
>
However, there are many instances that require this. I've been trying
>
to figure out how to pass to cmake this additional X11 library flag.
>
By using the -i feature in cmake, I was able to include the library
>
at this point:
>
>
Variable Name: CMAKE_X_LIBS
>
Description: Libraries and options used in X11 programs.
>
Current Value: -lXxf86vm;-lSM;-lICE;/usr/X11R6/lib/libX11.so;/usr/
>
X11R6/lib/libXext.so
>
>
However, it's still failing to compile:
>
>
Linking CXX executable ../scirun
>
Linking CXX executable ../scirunremote
>
/local/tmp/SCIRun/bin/lib/libCore_Geom.so: undefined reference to
>
`XF86VidModeQueryVersion'
>
/local/tmp/SCIRun/bin/lib/libCore_Geom.so: undefined reference to
>
`XF86VidModeGetModeLine'
>
collect2: ld returned 1 exit status
>
make[2]: *** [scirun] Error 1
>
make[1]: *** [Dataflow/CMakeFiles/scirun.dir/all] Error 2
>
make[1]: *** Waiting for unfinished jobs....
>
/local/tmp/SCIRun/bin/lib/libCore_Geom.so: undefined reference to
>
`XF86VidModeQueryVersion'
>
/local/tmp/SCIRun/bin/lib/libCore_Geom.so: undefined reference to
>
`XF86VidModeGetModeLine'
>
collect2: ld returned 1 exit status
>
make[2]: *** [scirunremote] Error 1
>
make[1]: *** [Dataflow/CMakeFiles/scirunremote.dir/all] Error 2
>
make: *** [all] Error 2
>
>
Thoughts?
>
>
Thanks!
>
R.C.
>
>
---
>
Richard Coffey, Director of IT
>
Physics and Astronomy, University of Washington
>
Rm. B215 - 206-543-7751
>
"Are you ready for the Summer of Love and Research?"
>
>
>
>
===========================================================================
>
== 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.