Closed P0W3 closed 7 months ago
The latest commit was 3caaddd.
Sorry @P0W3, I have funeral and family stuff this weekend. Will try and have a look when I can, assuming @Plombo, @msmalik681, or @fgames9000 don't beat me to it.
You dont need any dependencies openbor has everything it needs try renaming your mingw64 folder to bak.mingw64 then run build.bat again
Okay. I renamed the folder from mingw64 to bak.mingw64 in the Git directory.
I ran build.bat in the OpenBOR-engine directory.
And, these errors showed up.
-------------------------------------------------------
OpenBOR v3.0 Build 7138 (commit hash 3caaddd) - http://www.ChronoCrash.com
All rights reserved.
See LICENSE and README within OpenBOR root for details.
Copyright (c) 2004 - 2018 OpenBOR Team
-------------------------------------------------------
-------------------------------------------------------
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...
Compiling PSP Port: psp/kernel/kernel.S...
Compiling PSP Port: psp/graphics.c...
openbor.c:751:1: error: missing braces around initializer [-Werror=missing-braces]
openbor.c:751:1: error: (near initialization for 'playercontrols1.settings') [-Werror=missing-braces]
openbor.c:752:1: error: missing braces around initializer [-Werror=missing-braces]
openbor.c:752:1: error: (near initialization for 'playercontrols2.settings') [-Werror=missing-braces]
openbor.c:753:1: error: missing braces around initializer [-Werror=missing-braces]
openbor.c:753:1: error: (near initialization for 'playercontrols3.settings') [-Werror=missing-braces]
openbor.c:754:1: error: missing braces around initializer [-Werror=missing-braces]
openbor.c:754:1: error: (near initialization for 'playercontrols4.settings') [-Werror=missing-braces]
openbor.c: In function 'clearsettings':
openbor.c:2480:5: error: implicit declaration of function 'control_clearmappings' [-Werror=implicit-function-declaration]
openbor.c: In function 'savesettings':
openbor.c:2505:5: error: implicit declaration of function 'control_savemappings' [-Werror=implicit-function-declaration]
openbor.c: In function 'loadsettings':
openbor.c:2569:5: error: implicit declaration of function 'control_loadmappings' [-Werror=implicit-function-declaration]
Compiling PSP Port: psp/audiodrv.c...
openbor.c: In function 'keyboard_setup':
openbor.c:38170:53: error: 's_playercontrols' has no member named 'deviceID'
openbor.c:38171:9: error: implicit declaration of function 'control_getmappings' [-Werror=implicit-function-declaration]
openbor.c:38171:24: error: initialization makes pointer from integer without a cast [-Werror]
openbor.c:38180:17: error: too many arguments to function 'control_getkeyname'
psp/control.h:102:7: note: declared here
openbor.c:38203:13: error: implicit declaration of function 'control_getremappedkey' [-Werror=implicit-function-declaration]
openbor.c:38213:17: error: implicit declaration of function 'control_remapdevice' [-Werror=implicit-function-declaration]
openbor.c:38281:21: error: implicit declaration of function 'control_resetmappings' [-Werror=implicit-function-declaration]
openbor.c: In function 'safe_set_device':
openbor.c:38315:37: error: 's_playercontrols' has no member named 'deviceID'
openbor.c:38317:37: error: 's_playercontrols' has no member named 'deviceID'
openbor.c:38320:34: error: 's_playercontrols' has no member named 'deviceID'
openbor.c: In function 'menu_options_input':
openbor.c:38332:51: error: 's_playercontrols' has no member named 'deviceID'
openbor.c:38349:13: error: implicit declaration of function 'control_getdevicename' [-Werror=implicit-function-declaration]
openbor.c:38349:13: error: 's_playercontrols' has no member named 'deviceID'
openbor.c:38361:13: error: implicit declaration of function 'control_isvaliddevice' [-Werror=implicit-function-declaration]
openbor.c:38361:63: error: 's_playercontrols' has no member named 'deviceID'
openbor.c:38438:62: error: 's_playercontrols' has no member named 'deviceID'
openbor.c:38466:47: error: 'MAX_DEVICES' undeclared (first use in this function)
openbor.c:38466:47: note: each undeclared identifier is reported only once for each function it appears in
openbor.c:38483:95: error: 's_playercontrols' has no member named 'deviceID'
Compiling PSP Port: psp/sblaster.c...
Compiling PSP Port: psp/control.c...
Compiling PSP Port: psp/vertex.c...
Compiling PSP Port: psp/timer.c...
openbor.c: At top level:
cc1.exe: error: unrecognized command line option "-Wno-stringop-truncation" [-Werror]
cc1.exe: error: unrecognized command line option "-Wno-format-truncation" [-Werror]
cc1.exe: all warnings being treated as errors
..\tools\bin\make.exe: *** [openbor.o] Error 1
..\tools\bin\make.exe: Compiling*** Waiting for un fiPSPnished jobs....
Port: psp/video.c...
Compiling PSP Port: psp/image.c...
..\tools\bin\make.exe: *** Waiting for unfinished jobs....
..\tools\bin\make.exe: *** Waiting for unfinished jobs....
Removing All PSP Files...
Done!
-------------------------------------------------------
ERROR - VITA Environment Failed
SDK Installed?
-------------------------------------------------------
-------------------------------------------------------
Windows SDK (windows32) ix86-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/sblaster.c...
In file included from openbor.h:23,
from openbor.c:14:
sdl/video.h:15:10: fatal error: SDL.h: No such file or directory
15 | #include "SDL.h"
| ^~~~~~~
compilation terminated.
In file included from sdl/sblaster.c:13:
sdl/sdlport.h:12:10: fatal error: SDL.h: No such file or directory
12 | #include <SDL.h>
| ^~~~~~~
compilation terminated.
..\tools\bin\make.exe: *** [openbor.o] Error 1
..\tools\bin\make.exe: *** Waiting for unfinished jobs....
In file included from source/globals.h:41,
from .. tools\bin\make.exe: source/scriptlib/depends.h:13 ** [sdl/sblaster.o] Error 1,
from
source/scriptlib/Interpreter.h:11,
from In file included from source/openborscript/config.h:12source/globals.h:41,
from
from openborscript.c:30sdl/control.c:14:
sdl/sdlport.h:12:10:sdl/sdlport.h:12:10: fatal error: fatal error: SDL.h: No such file or directory
12 | #include
12 | #include <SDL.h><SDL.h>
|
| ^~~~~~~^~~~~~~
c
ompilation terminated.
ompilation terminated.
..\tools\bin\make.exe: *** [openborscript.o] Error 1
Removing All WIN Files...
Done!
-------------------------------------------------------
WII SDK (windows32) Environment Loaded!
-------------------------------------------------------
abnormal program termination
zsh: fork failed: no such file or directory
Removing All WII Files...
Done!
abnormal program termination
zsh: fork failed: no such file or directory
Compiling WII Port: openbor.c...
Compiling WII Port: openborscript.c...
Compiling WII Port: wii/control.c...
Compiling WII Port: wii/sblaster.c...
Compiling WII Port: wii/timer.c...
Compiling WII Port: wii/video.c...
Compiling WII Port: wii/threads.c...
Compiling WII Port: wii/menu.c...
wii/menu.c:14:10:Co piling Wfatal error: I wupc/wupc.h: No such file or directory
14 | #include Port"wupc/wupc.h":
| wi /wiiport.c...^~~~~~~~~~~~~
compilation terminated.
..\tools\bin\make.exe: *** [wii/menu.o] Error 1
..\tools\bin\make.exe: *** Waiting for unfinished jobs....
abnormal program termination
zsh: fork failed: no such file or directory
Removing All WII Files...
Done!
------------------------------------------------------
Validating Platforms Built w/Bash
------------------------------------------------------
Windows Platform Failed To Build!
Press any key to continue . . .
This will normally work on a clean install of windows my guess is you have installed development tools that are causing conflicts. If your not using it for anything else try uninstalling cygwin and you are running the setup in a windows terminal right ?
I think that I just realized something.
The build that I was trying to compile was Build 7138 (v3.0).
The latest build that I have is Build 7142 (v4.0).
I was searching for the latest build of OpenBOR.
I am new to this coding, and I have all of the installed dependencies from the system packages that are needed, so here is what I have done so far.
I used Git (v2.32.0.2) to type the following commands, but the building failed at this point.