nakayubi / zengl

Automatically exported from code.google.com/p/zengl
0 stars 0 forks source link

[Linux] Problems by using dynamic library #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to to use ZenGL dynamically with FPC 2.2.41,but can't run any the 
demos. Everything works fine when I am using static linking of all units. I 
tested various options in "zgl_config.cfg", but no help from that.

First demo gives such output in console:

Error while loading ZenGL 
Runtime error 217 at $08048C20
  $08048C20
  $08048999
  $08048243

all the rest just drops an error "Error while loading ZenGL". I changed the 
path so demos would load the libZenGL.so from executable directory and also 
pasted library into /usr/lib/ folder.  

Original issue reported on code.google.com by GintisDX@gmail.com on 24 Aug 2010 at 5:14

GoogleCodeExporter commented 9 years ago
Seems you doing something wrong... What distro did you use? On my ArchLinux 
x86_64 all works ok after "make" and "make install" in src directory.

Original comment by dr.andru@gmail.com on 24 Aug 2010 at 5:57

GoogleCodeExporter commented 9 years ago
Yeah,seems you was right. I was always building the library with Lazarus IDE. 
It works like a charm now after I build it from source with "make" command. I 
will try to get some fun with your engine :)

Original comment by GintisDX@gmail.com on 24 Aug 2010 at 9:16

GoogleCodeExporter commented 9 years ago

Original comment by dr.andru@gmail.com on 25 Aug 2010 at 4:21