bugBos Wars - Bugs: bug #58753, Compile gives error with SDL...

 
 

bug #58753: Compile gives error with SDL libraries

Submitter:  Simon <simonsmall>
Submitted:  Sat 11 Jul 2020 10:18:07 PM UTC
   
 
Severity:  3 - Normal Item Group:  * Bug
Status:  Fixed Privacy:  Public
Assigned to:  feb Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 13 Jun 2023 12:46:08 PM UTC, comment #2: 

As too many distros are affected, a work around has been applied in the development version. Thank you for the bug report.

François Beerten <feb>
Group administrator
Mon 09 Nov 2020 09:50:14 PM UTC, comment #1: 

Old SDL1 contains a copy of glext.h which conflicts with the one delivered by the new Mesa. That's actually an issue in the distribution. See for example https://github.com/Wargus/stratagus/issues/241 and the patch they used: https://src.fedoraproject.org/rpms/SDL/raw/master/f/SDL-1.2.15-Use-system-glext.h.patch

For the build dependencies, did you follow the explanations in doc/install.html ?

François Beerten <feb>
Group administrator
Sat 11 Jul 2020 10:18:07 PM UTC, original submission:  

I am running a Debian Buster Linux system. I have installed and played Boswars using the Debian package. I decided to try the source code.

Using the source downloaded (10 July 2020) with the link on https://www.boswars.org/development.shtml (svn ...) and running make.py starts compiling, but then gives a few errors:

 1) I got various errors as I did not have all the packages required ('subversion', 'liblua5.1-0-dev', 'mesa-common-dev' and 'libsdl1.2-dev' were added).

 2) I get an error "GL_GLEXT_VERSION redefined". This was defined in SDL/SDL_opengl.h and GL/glext.h. I found a post on the internet suggesting this was a problem with the SDL1 library, so I edited its SDL_opengl.h file and commented out the definition of GL_GLEXT_VERSION.

It would be useful to know which packages are required, and confirmation on using SDL or SDL2. The 'fix' that I applied may not be correct.

Simon <simonsmall>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by feb (Posted a comment)
  • -email is unavailable- added by simonsmall (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-13 feb StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2020-11-09 feb StatusNone Need Info
        Assigned toNone feb

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code