I can't get OpenBOR to compile anymore [Solved]

Viper Snake

Member
When OpenBOR was on sourceforge, I used tortoiseSVN to download the engine and tools folders and all I had to do was run the build.bat and it compiled correctly. Ever since the move to github I've been having issues, the tools that it comes with always failed to compile. Using a previous old tools folder from sourceforge worked for awhile, but not anymore. What am I supposed to be doing? The tools that come with it do not work and neither do the tools linked in the COMPILING document: http://svn.code.sf.net/p/openbor/tools/tools/

m7obBhP.png


I've tried this on two different Windows 7 computers and have the exact same result.
 
I wish someone would write a tutorial on how to setup and compile each port of openbor.  These is a ton of support for developing mods but not so much on engine development since its opensource there should be more support for this.
 
I downloaded everything from the github svn and I run the build.bat from the trunk folder (as well as others) and it failed to compile here is my errors :


Code:
-------------------------------------------------------
           SVN - Not Found, Installing SVN!
-------------------------------------------------------


7-Zip (A) 4.62  Copyright (c) 1999-2008 Igor Pavlov  2008-12-02




Error:
cannot find archive


-------------------------------------------------------
           SVN - Installation Has Completed!
-------------------------------------------------------
-------------------------------------------------------
OpenBOR v3.0 Build  - http://www.ChronoCrash.com


All rights reserved.
See LICENSE and README within OpenBOR root for details.


Copyright (c) 2004 - 2017 OpenBOR Team
-------------------------------------------------------
-------------------------------------------------------
        PSP SDK - Not Found, Installing SDK!
-------------------------------------------------------


7-Zip (A) 4.62  Copyright (c) 1999-2008 Igor Pavlov  2008-12-02




Error:
cannot find archive


-------------------------------------------------------
        PSP SDK - Installation Has Completed!
-------------------------------------------------------
-------------------------------------------------------
          PSP SDK (SVN) Environment Loaded!
-------------------------------------------------------


Removing All PSP Files...
Done!


Compiling PSP Port: openbor.c...
Compiling PSP Port: openborscript.c...
Compiling PSP Port: psp/control/control.S...
Compiling PSP Port: psp/dvemgr/dvemgr.S...
zsh: command not found: psp-gcc
..\tools\bin\make.exe: *** [openbor.o] Errozrsh: command not found: psp-gcc
z s1h: command not found: psp-gcc


..\tools\bin\make.exe: *** Waiting for unfinished jobs....
zsh: command not found: psp-gcc
..\tools\bin\make.exe: *** [openborscript.o] Error 1
..\tools\bin\make.exe: *** [psp/control/control.o] Error 1


Removing All PSP Files...
Done!


-------------------------------------------------------
            ERROR - VITA Environment Failed
                   SDK Installed?
-------------------------------------------------------
-------------------------------------------------------
      Windows SDK - Not Found, Installing SDK!
-------------------------------------------------------


7-Zip (A) 4.62  Copyright (c) 1999-2008 Igor Pavlov  2008-12-02




Error:
cannot find archive


-------------------------------------------------------
      Windows SDK - Installation Has Completed!
-------------------------------------------------------
-------------------------------------------------------
     Windows SDK (SVN) i686-pc Environment Loaded!
-------------------------------------------------------


Removing All WIN Files...
Done!


Compiling WIN Port: openbor.c...
Compiling WIN Port: openborscript.c...
Compiling WIN Port: sdl/control.c...
Compiling WIN Port: sdl/joysticks.c...
zsh: no such file or directory: .z.s\ht: onoo such file or directoryl:s \.w.i\nt-osodlks\\bwiinn\-gscdck.\ebxien
\gcc.exe
..\tools\bin\make.exe: *** [openbor.o] Error 1
..\tools\bin\make.exe: *** Waiting for unfinished jobs....
..\tools\bin\make.exe: *** [openborscript.o] Error 1
zsh: no such file or directory: ..\tools\win-sdk\bin\gcc.exe
zsh: no such file or directory: ..\tools\win-sdk\bin\gcc.exe
..\tools\bin\make.exe: *** [sdl/control.o] Error 1


Removing All WIN Files...
Done!


-------------------------------------------------------
         WII SDK - Not Found, Installing SDK!
-------------------------------------------------------


7-Zip (A) 4.62  Copyright (c) 1999-2008 Igor Pavlov  2008-12-02




Error:
cannot find archive


-------------------------------------------------------
         WII SDK - Installation Has Completed!
-------------------------------------------------------
-------------------------------------------------------
         WII SDK (SVN) Environment Loaded!
-------------------------------------------------------
makefile:674: ../tools/devkitpro/devkitPPC/wii_rules: No such file or directory
..\tools\bin\make.exe: *** No rule to make target `../tools/devkitpro/devkitPPC/wii_rules'.  Stop.
makefile:674: ../tools/devkitpro/devkitPPC/wii_rules: No such file or directory
..\tools\bin\make.exe: *** No rule to make target `../tools/devkitpro/devkitPPC/wii_rules'.  Stop.
makefile:674: ../tools/devkitpro/devkitPPC/wii_rules: No such file or directory
..\tools\bin\make.exe: *** No rule to make target `../tools/devkitpro/devkitPPC/wii_rules'.  Stop.
------------------------------------------------------
          Validating Platforms Built w/Bash
------------------------------------------------------


Windows Platform Failed To Build!
Press any key to continue . . .


I am running windows 10 Home x64 so what needs to be done to fix the compiling issue.  I noticed it was extracting z7 files on each run so I extracted them then removed the z7 files all the errors are still the same.
 
msmalik681 said:
that is what i did but when I run the build.bat file I get errors and nothing complies.


do you compile it from the build.bat or build.sh ?

About the same predicament as msmalik681 here just that my build attempt is much worse (here is a pic on what my build ran into)
Windows 10 OS. I got my github source get from here too - > https://github.com/DCurrent/openbor
Thanx in advance for help


[attachment deleted by admin]
 
I put this together a while ago. It's not finished yet (there's more steps for Android) but might help a little. Pay very close attention to the extraction steps and look closely at screenshots. This is almost always where compiling issues come from

DC
 
Damon Caskey said:
I put this together a while ago. It's not finished yet (there's more steps for Android) but might help a little. Pay very close attention to the extraction steps and look closely at screenshots. This is almost always where compiling issues come from

DC
Damon, thank you!
Okay so my build went okay for the windows port.  Although I ended up with slight modifications to the 'build' batch file (I mean other than choosing a specific port build, mine I chose "5" for the windows)
while the syntax really should be fine to call 'bash' program since the path to it was defined I still end up wrapping the call to it with a "pushd %~dp0" and a "popd" otherwise bash still ends up "unrecognizable" by the command module in Windows 10, so my version of that build batch file looks like this now.
Thank you again!

[attachment deleted by admin]
 
made a little progress here I complied the PSP build but no others. the only thing i changed was in all the tools sub folders any z7 files I extracted the contents to that folder not to the extracted folder you normally get.

to better explain in the folder "tools\psp-sdk" when I extract the file "psp-sdk.7z" it makes a folder called "psp-sdk" so the path would be "tools\psp-sdk\psp-sdk\extracted files" so i moved all extracted files up 1 directory so its "tools\psp-sdk\extracted files" also did this with other z7 zips in the tools folder but as I said only PSP build is compiling right now (for me anyway).

sorry the PSP and WII ports will compile now
 
Damon Caskey said:
I put this together a while ago. It's not finished yet (there's more steps for Android) but might help a little. Pay very close attention to the extraction steps and look closely at screenshots. This is almost always where compiling issues come from

DC

Thank you DC, it works now! Extracting the win-sdk was the step I didn't know about.
 
I still cant compile the windows engine here is what I get:


Code:
-------------------------------------------------------
OpenBOR v3.0 Build 4643 - http://www.ChronoCrash.com


All rights reserved.
See LICENSE and README within OpenBOR root for details.


Copyright (c) 2004 - 2017 OpenBOR Team
-------------------------------------------------------
-------------------------------------------------------
     Windows SDK (windows32) i686-pc Environment Loaded!
-------------------------------------------------------


Removing All WIN Files...
Done!


Compiling WIN Port: openbor.c...
Compiling WIN Port: openborscript.c...
Compiling WIN Port: sdl/joysticks.c...
Compiling WIN Port: sdl/control.c...
In file included from openbor.h:23:0,
                 from openbor.c:14:
sdl/video.h:15:17: fatal error: SDL.h: No such file or directory
 #include "SDL.h"
                 ^
compilation terminated.
..\tools\bin\make.exe: In f**i*l e [ionpcelnbuor.deod]  Efrrroorm  1sdl/joy
sticks.c:9:0:
sdl/sdl.p.\otrt.h:12:17: fatal error: SDL.h: No such file or directools\bin\make.exe: ory
 #include <SDL.h>
                 ^
*I*n file included from sdl/control.c:10:0:
*csdl/video.h:15:17: fatal error: SDL.h: No such file or directory
o  #include "SDL.h"
mW                 ^
apiting for unfinished jobs....ci
olmaptiiloant itoenr mtienramtienda.t
ed.
In file included from source/globals.h:35:0,
 ..\tools\bin\make.exe:                 from source/scriptlib/depends.h:13,
*** [sdl/joysticks.o] Error 1                 from source/scriptlib/Interpreter.h:11,


                 from source/openborscript/config.h:12,
..\tools\bin\make.exe:                  from openborscript.c:30:
*** [sdl/control.o] Error 1sdl/sdlport.h:12:17: fatal error: SDL.h: No such file or directory


 #include <SDL.h>
                 ^
compilation terminated.


Removing All WIN Files...
Done!


Press any key to continue . . .


I cant figure out what I did wrong!
 
there was a conflict I removed all mingw and sdl extras I installed and it complied just fine windows, psp and wii.

What about other ports like android, linux and mac ?
 
And that's the problem with ports. Inevitably they end up out of date, incomplete, or abandoned. That just makes the core engine look bad. If it were up to me, there would be no ports at all. Play it on PC - the end. Well technically it is up to me, lol, but I'm not going to be that hard nosed about it.

DC
 
Back
Top Bottom