Open Surge Forum

A fun 2D retro platformer inspired by Sonic games and a game creation system

You are not logged in.

Announcement

Our community has moved to Discord! https://discord.gg/w8JqM7m

#1 2015-09-05 18:51:40

Danfun64
Member
Registered: 2013-02-16
Posts: 16

Unable to compile in Ubuntu 15.10

For whatever reason, I can't compile opensurge with the latest Ubuntu (Beta). Complete make log follows...

Part 1:https://paste.debian.net/hidden/f0e96a7e/
Part 2:https://paste.debian.net/hidden/d73e553e/

Offline

#2 2015-09-13 03:05:57

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,300
Website

Re: Unable to compile in Ubuntu 15.10

odd stuff. In src/core/image.h, please remove the "inline" keyword before int image_width() and int image_height(). Do the same in src/core/image.c. Please let me know if it works for you.

Offline

#3 2015-09-16 16:19:05

Danfun64
Member
Registered: 2013-02-16
Posts: 16

Re: Unable to compile in Ubuntu 15.10

That seemed to have fixed the issue.

edit: I seem to crash when the game tries to access levels/cutscenes/cutscene3.lev

The only error messages I get are "Segmentation fault (core dumped)" and "Shutting down Allegro due to signal #11"

Last edited by Danfun64 (2015-09-16 16:23:35)

Offline

#4 2015-09-17 02:01:57

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,300
Website

Re: Unable to compile in Ubuntu 15.10

Danfun64 wrote:

That seemed to have fixed the issue.

edit: I seem to crash when the game tries to access levels/cutscenes/cutscene3.lev

The only error messages I get are "Segmentation fault (core dumped)" and "Shutting down Allegro due to signal #11"

Hi Danfun64,

can you please share your logfile.txt? thanks. smile

Offline

#5 2015-09-18 00:53:57

Danfun64
Member
Registered: 2013-02-16
Posts: 16

Re: Unable to compile in Ubuntu 15.10

Offline

#6 2015-09-23 23:35:19

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,300
Website

Re: Unable to compile in Ubuntu 15.10

I would guess this is because the scene list isn't properly finished yet. You press "start game" and the engine goes to the options screen. It will no longer be like that. Will be fixed soon. smile

Does the same error occur when you try to run cutscene3.lev separately? Go to the options screen, highlight the stage select option and press RIGHT 3 times. You'll hear a secret sound. Then, select the option.

Offline

#7 2015-10-12 15:56:26

Danfun64
Member
Registered: 2013-02-16
Posts: 16

Re: Unable to compile in Ubuntu 15.10

IDK why, but I don't crash anymore, whether I press it separately, or by playing the game regularly. IDK why...

Sorry for the non informative response...

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org