It looks like it is a known problem:
http://www.xray.mpe.mpg.de/mailing-lists/perldl/2002-12/msg00000.html
It seems to be related to PDL installation options, see
INSTALL file. It might be looking for libraries in the wrong place.
Q: I want TriD, but include files are not found.
A: You need to add -I/usr/openwin/include etc. (or whatever is appropr
+iate
on your platform) to the relevant entry in perldl.conf (see above),
i.e. something like
OPENGL_INC => '-I/usr/openwin/include',
Additionally, you might have to specify name and location of the appro
+priate
library on your platform, e.g.
OPENGL_LIBS =>
'-L/usr/openwin/lib -L/usr/X11R6/lib -L/usr/lib/mesa -lGL'.
' -lGLU -lXext -lX11',
You may also need to pass some flags to cpp, see the README in the
PDL/Graphics/TriD/OpenGL directory for details.
OPENGL_DEFINE => '-DGL_GLEXT_LEGACY',
Then, start the build process again as described above
(from the toplevel):
perl Makefile.PL
etc...
Q: Compilation of TriD complains about undefined functions or somesuch
+.
A: Please see the file Graphics/TriD/OpenGL/README. If that doesn't h
+elp
please report this problem to pdl-porters@jach.hawaii.edu, include
+the
appropriate platform and GL version information.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|