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

 
 

bug #58753: Compile gives error with SDL libraries

Submitted by:  Simon <simonsmall>
Submitted on:  Sat 11 Jul 2020 10:18:07 PM UTC  
 
Severity:  3 - Normal Item Group:  Bug
Status:  Need Info Privacy:  Public
Assigned to:  Fran├žois Beerten <feb> Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-09 feb StatusNone => Need Info
        Assigned toNone => feb

    Back to the top


    Powered by Savane 3.6