Please help me with OpenGL.pm...
It compiled and installed ok but watch this:
mh@x30:~$ perl -MOpenGL -e 1
Can't load '/home/mh/perl510/lib/site_perl/5.10.0/i686-linux-thread-mu
+lti/auto/OpenGL/OpenGL.so' for module OpenGL: /usr/lib/xorg/modules/e
+xtensions/libglx.so: undefined symbol: xf86Screens at /home/mh/perl51
+0/lib/5.10.0/i686-linux-thread-multi/DynaLoader.pm line 203.
I don't understand this messages about "undefined symbol: xf86Screens" - it does not seem to be a linker symbol, when I do an ldd on the libs all symbols are resolved so I don't know how to attack this...
As I am absolutely new to OpenGL and don't know that much about X11 I am at a loss... can someone please help me here?
I run Ubuntu 8.04 on a very old Thinkpad X30 (yeah - probably not the right machine for OpenGL but I just want to play around with it a bit) and Perl 5.10.
I can compile and run OpenGL demos in C++, so the OpenGL installation as such should be ok - I assume it's just some config stuff that I am missing ... unfortunately Google does not help much here...
Here some lcpci output that may be relevant:
00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (
+rev 04)
00:02.0 VGA compatible controller: Intel Corporation 82830 CGC [Chipse
+t Graphics Controller] (rev 04)
00:02.1 Display controller: Intel Corporation 82830 CGC [Chipset Graph
+ics Controller]
Many thanks!
-
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.
|