DCEmulation

dreamcast development • homebrew software • hardware hacking • indie games • emulators • and more!
Back to main site
It is currently Fri Apr 29, 2016 12:46 pm

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
Insane DCEmu
Insane DCEmu
User avatar

Joined: Sun Apr 20, 2014 7:45 am
Posts: 253
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.

_________________
Development wiki and tutorials: http://dcemulation.org/?title=Development
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with some 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
Insane DCEmu
Insane DCEmu
User avatar

Joined: Sun Apr 20, 2014 7:45 am
Posts: 253
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.

_________________
Development wiki and tutorials: http://dcemulation.org/?title=Development
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with some 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
Insane DCEmu
Insane DCEmu
User avatar

Joined: Sun Apr 20, 2014 7:45 am
Posts: 253
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 4 times

_________________
Development wiki and tutorials: http://dcemulation.org/?title=Development
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with some 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: 4748
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 1 guest


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:  
Powered by phpBB® Forum Software © phpBB Group