Jump to content

[TEST] Atlas on Linux


Recommended Posts

Can as much people as possible test the patch here ?

http://trac.wildfiregames.com/ticket/2847

It would allow the game to switch to SDL2 (Which would permit to fix the keys locked bug)

Thanks in advance

Regards Stan.

NOTE : THE PATCH Has been commited it's no longer necessary for you to patch your Svn. THANKS Z for pointing it out :)

Edited by stanislas69
Link to comment
Share on other sites

I put the diff in root, called patch and got:

ax@T3000:/Daten/Projects/Osiris/ps/trunk$ patch -p0 < fix-atlas-sdl2.diff (Stripping trailing CRs from patch; use --binary to disable.)can't find file to patch at input line 5Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff --git a/source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp b/source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp|index 54b8463..26b6b11 100644|--- a/source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp|+++ b/source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp--------------------------File to patch: 

What does it want?

Link to comment
Share on other sites

elexis wrote:

-Ubuntu 14.10

-compiled 0ad against SDL2

??

Well

First line is OS (Captain Obvious)

SecondLine is what was special about that build (you and him compiled with sld2 (it was the aim of the patch))

So just give your os and it'll be fine :)

Link to comment
Share on other sites

Here I'm completely lost.

ax@T3000:/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc$ make -j3==== Building tinygettext (release) ======== Building mocks_real (release) ======== Building network (release) ======== Building lobby (release) ======== Building glooxwrapper (release) ======== Building simulation2 (release) ======== Building scriptinterface (release) ======== Building engine (release) ======== Building graphics (release) ======== Building atlas (release) ======== Building gui (release) ======== Building lowlevel (release) ======== Building mongoose (release) ======== Building mocks_test (release) ======== Building AtlasObject (release) ======== Building Collada (release) ======== Building AtlasUI (release) ======== Building pyrogenesis (release) ======== Building test (release) ======== Building ActorEditor (release) ====test_root.cppLinking test../../../binaries/system/libengine.a(VideoMode.o): In function `CVideoMode::SetVideoMode(int, int, int, bool)':/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/ps/VideoMode.cpp:168: undefined reference to `SDL_SetVideoMode'/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/ps/VideoMode.cpp:196: undefined reference to `SDL_WM_GrabInput'/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/ps/VideoMode.cpp:168: undefined reference to `SDL_SetVideoMode'/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/ps/VideoMode.cpp:198: undefined reference to `SDL_WM_GrabInput'../../../binaries/system/libengine.a(VideoMode.o): In function `CVideoMode::InitSDL()':/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/ps/VideoMode.cpp:308: undefined reference to `SDL_SetGamma'../../../binaries/system/libengine.a(GameSetup.o): In function `InitSDL':/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/ps/GameSetup/GameSetup.cpp:665: undefined reference to `SDL_EnableUNICODE'../../../binaries/system/libengine.a(GameSetup.o): In function `InitGraphics(CmdLineArgs const&, int)':/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/ps/GameSetup/GameSetup.cpp:989: undefined reference to `SDL_WM_SetCaption'../../../binaries/system/libengine.a(GameSetup.o): In function `InitInput':/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/ps/GameSetup/GameSetup.cpp:550: undefined reference to `SDL_EnableKeyRepeat'../../../binaries/system/libengine.a(HWDetect.o): In function `ReportGLLimits':/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/ps/GameSetup/HWDetect.cpp:713: undefined reference to `SDL_GetWMInfo'../../../binaries/system/liblowlevel.a(x.o): In function `get_wminfo':/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/unix/x/x.cpp:124: undefined reference to `SDL_GetWMInfo'/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/unix/x/x.cpp:124: undefined reference to `SDL_GetWMInfo'/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/unix/x/x.cpp:124: undefined reference to `SDL_GetWMInfo'/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/unix/x/x.cpp:124: undefined reference to `SDL_GetWMInfo'../../../binaries/system/liblowlevel.a(x.o):/Daten/Projects/Osiris/ps/trunk/build/workspaces/gcc/../../../source/lib/sysdep/os/unix/x/x.cpp:124: more undefined references to `SDL_GetWMInfo' followcollect2: error: ld returned 1 exit statusmake[1]: *** [../../../binaries/system/test] Error 1make: *** [test] Error 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...