Results 1 to 10 of 13

Thread: Glscene Ubuntu Working ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    PGDCE Developer Carver413's Avatar
    Join Date
    Jun 2010
    Location
    Spokane,WA,Usa
    Posts
    206
    Quote Originally Posted by Andru View Post
    There is no libc unit in FreePascal for 64-bit Linux, and not recommended to use it on 32-bit Linux. So, this is a problem with GLScene. Try to remove Libc from uses in GLSModuleLoader.pas, and add these functions after implementation:
    Code:
    function dlopen ( Name : PChar; Flags : longint) : Pointer; cdecl; external 'dl';
    function dlclose( Lib : Pointer) : Longint; cdecl; external 'dl';
    function dlsym  ( Lib : Pointer; Name : Pchar) : Pointer; cdecl; external 'dl';
    Maybe it will help, but I can't guarantee this
    thanks I'll give it a try

  2. #2
    Somebody got it working with the latest SVN snapshot?

  3. #3
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    What errors are you having trouble with? might be that you are missing some dev libs...
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •