DCEmulation

dreamcast development • homebrew software • hardware hacking • indie games • emulators • and more!
Back to main site
It is currently Tue Sep 27, 2016 11:55 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: bug in libgl port
PostPosted: Mon Dec 28, 2015 10:02 am 
Offline
Developer/Wiki Editor
Developer/Wiki Editor
User avatar

Joined: Sun Apr 20, 2014 7:45 am
Posts: 347
The kos-port libgl was renamed to libGL due to the naming convention of OpenGL.
Due to this, kos-ports/include/GL points to
/opt/toolchains/dc/kos/../kos-ports/libGL/inst/include instead of
/opt/toolchains/dc/kos/../kos-ports/libgl/inst/include

This causes errors on case-sensitive filesystems.

_________________
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream


Top
 Profile  
Reply with quote  
 Post subject: Re: bug in libgl port
PostPosted: Mon Dec 28, 2015 10:13 am 
Offline
Developer/Wiki Editor
Developer/Wiki Editor
User avatar

Joined: Sun Apr 20, 2014 7:45 am
Posts: 347
Same problem with /opt/toolchains/kos-ports/lib/libGL.a -> /opt/toolchains/dc/kos/../kos-ports/libGL/inst/lib/libGL.a
The folder name needs to be libgl.

_________________
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream


Top
 Profile  
Reply with quote  
 Post subject: Re: bug in libgl port
PostPosted: Mon Dec 28, 2015 11:00 am 
Offline
Developer/Wiki Editor
Developer/Wiki Editor
User avatar

Joined: Sun Apr 20, 2014 7:45 am
Posts: 347
Here's patch that changes -lgl to -lGL.
Ph3nom probably didn't catch these errors because he's running Windows, which is case insensitive.


Attachments:
patch_makefile_libgl_case.patch [15.11 KiB]
Downloaded 6 times

_________________
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
Top
 Profile  
Reply with quote  
 Post subject: Re: bug in libgl port
PostPosted: Mon Dec 28, 2015 11:36 am 
Offline
The Crabby Overlord
The Crabby Overlord
User avatar

Joined: Mon May 27, 2002 9:31 am
Posts: 4851
Actually, the problem in kos-ports is my fault (and thus the issue with the Makefiles too). The ports tree itself is fixed now. :wink:

I'll deal with the examples in a little bit.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group