libretro / bsnes-libretro-cplusplus98

libretro implementation of the core emulation in BSNES, a Super Nintendo (SNES) emulator.
http://byuu.org/
13 stars 10 forks source link

compile problem? #15

Closed ghost closed 2 years ago

ghost commented 7 years ago

I am not entirely sure as to for what system this core is suppose to or if anyone cares if something is successfully compiled or not, but the ones in buildbot is so outdated. latest is still oct 2015. buildbot log shows that this is compiled for unix, but even there it fails to compile

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/43279447-compile-problem?utm_campaign=plugin&utm_content=tracker%2F993445&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F993445&utm_medium=issues&utm_source=github).
orbea commented 7 years ago

Can you post the compile failure please? What OS are you trying to use to compile it on? I can compile it fine here on Slackware64-current. I would honestly use any of the other bsnes cores before this one if possible.

hizzlekizzle commented 7 years ago

This one only exists for use on ancient compilers that can't handle the c++11 features in the newer v094 ports. I haven't looked into why they fail but they probably shouldn't be built for most platforms anyway.

orbea commented 7 years ago

It seems to build everywhere except ios9 so far?

rm -f obj/*.o
rm -f obj/*.a
rm -f obj/*.so
rm -f obj/*.dylib
rm -f obj/*.dll
rm -f out/*.a
rm -f out/*.so
--------------------------------------------------
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- a
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- c
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- a
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- y
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- a
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- c
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- a
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- y
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from commands.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any commands; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no commands; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo commands.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.
  -N OPTION, --NeXT-option=OPTION
                              Turn on value of NeXT OPTION.

This program built for i386-apple-darwin11.3.0
Report bugs to <bug-make@gnu.org>

# Make data base, printed on Sat Dec  2 05:18:40 2017

# Variables

# environment
TARGET_ABIS = armeabi armeabi-v7a x86
# environment
SHELL = /bin/bash
# environment
_ = /usr/bin/make
# environment
CLEANUP = NO
# environment
jobid = recipes/apple/cores-ios9-generic
# environment
VERSION = 1.6.9
# environment
BUILDBOT_LINUX_ARMHF = 10.0.3.40
# environment
BUILD_LIBRETRO_GL = 1
# environment
BUILDBOT_LINUX_X86 = 10.0.3.159
# environment
RELEASE = NO
# environment
PATH = /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
# environment
CORE_JOB = YES
# environment
RA_ANDROID_MIN_API = android-9
# environment
BOT = osx-bot
# environment
UPLOAD = radius@bot.libretro.com:/srv/bot.libretro.com
# default
.FEATURES := target-specific order-only second-expansion else-if archives jobserver check-symlink
# environment
FORCE_RETROARCH_BUILD = NO
# environment
STY = 34921.buildbot
# environment
PWD = /Users/buildbot/buildbot/ios9/libretro-bsnes_cplusplus98
# environment
BUILDBOT_WIN7 = 192.168.122.171
# environment
MASTER_LOG_ID = 165587
# environment
HOME = /Users/buildbot
# environment
CLEANUP_OSX = NO
# environment
LOGURL = http://0bl.net/retrobot/log.py
# environment
LOGNAME = buildbot
# command line
platform = ios9
# environment
MAKE = make
# default
MAKECMDGOALS := armv7 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk" armv7 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk"
# environment
SHLVL = 5
# command line
CC = "cc
# environment
USER = buildbot
# environment
NDK_GL_HEADER_VER = android-18
# environment
RELEASE_OSX = NO
# environment
IOSSDK = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
# environment
TUNNEL_USER = radius
# environment
BASEDIR = /Users/buildbot
# environment
WINDOW = 0
# environment
OLDPWD = /Users/buildbot/buildbot/ios9
# default
.VARIABLES := 
# environment
TMPDIR = /Users/buildbot/.tmp/
# environment
SIG = ekkC3Zhw2LlPKpvqOxPNlrHEh27dCzL6gTIVbF36fSUBZBEOZGkh4gaF9LhpqRpX
# environment
SOS = NO
# environment
BUILDBOT_WIN = 192.168.122.70
# environment
BUILDBOT_OSX = o.0bl.net
# environment
PRIVATE = radius@bot.libretro.com:/srv/bot.libretro.com/.files/private/
# environment
define TERMCAP
SC|screen|VT 100/ANSI X3.64 virtual terminal:\
    :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
    :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
    :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
    :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
    :li#24:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
    :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
    :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
    :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
    :ti=\E[?1049h:te=\E[?1049l:k0=\E[10~:k1=\EOP:k2=\EOQ:\
    :k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
    :k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
    :kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:\
    :kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:
endef
# environment
RA_ANDROID_API = android-18
# environment
__CF_USER_TEXT_ENCODING = 0x1F5:0x0:0x0
# environment
PLATFORM = ios9
# environment
TUNNEL_HOST = bot.libretro.com
# environment
TUNNEL_PORT = 2222
# command line
CXX = "c++
# environment
NDK_NO_GL_HEADER_VER = android-9
# environment
JOBS = 6
# environment
TERM = screen
# environment
PS4 = +(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }
# variable set hash-table stats:
# Load=56/1024=5%, Rehash=0, Collisions=1/71=1%

# Pattern-specific Variable Values

# No pattern-specific variable values.

# Directories

# No files, no impossibilities in 0 directories.

# Implicit Rules

# No implicit rules.

# Files

# Not a target:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk":
#  Command-line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# Not a target:
armv7:
#  Command-line target.
#  Implicit rule search has not been done.
#  Modification time never checked.
#  File has not been updated.

# files hash-table stats:
# Load=2/1024=0%, Rehash=0, Collisions=0/4=0%
# VPATH Search Paths

# No `vpath' search paths.

# No general (`VPATH' variable) search path.

# # of strings in strcache: 0
# # of strcache buffers: 0
# strcache size: total = 0 / max = 0 / min = 4096 / avg = 0
# strcache free: total = 0 / max = 0 / min = 4096 / avg = 0

# Finished Make data base on Sat Dec  2 05:18:40 2017

COPY CMD: cp -fv out/bsnes_cplusplus98_libretro_ios.dylib /Users/buildbot/buildbot/ios9/dist/ios9/bsnes_cplusplus98_libretro_ios.dylib
cp: out/bsnes_cplusplus98_libretro_ios.dylib: No such file or directory

It might be easy to fix this, but I haven't a clue about ios9 development...

orbea commented 7 years ago

Seems that was fixed during my cleanup efforts somehow.

02:30 <@retrobot> bsnes_cplusplus98: [status: done] [recipes/apple/cores-ios-generic]
02:31 <@retrobot> bsnes_cplusplus98: [status: done] [recipes/linux/cores-linux-x64-generic]
02:31 <@retrobot> bsnes_cplusplus98: [status: done] [recipes/apple/cores-ios9-generic]
02:33 <@retrobot> bsnes_cplusplus98: [status: done] [recipes/windows/cores-windows-x64_seh-generic]
02:34 <@retrobot> bsnes_cplusplus98: [status: done] [recipes/apple/cores-osx-x64-generic]
02:34 <@retrobot> bsnes_cplusplus98: [status: done] [recipes/windows/cores-windows-x86_dw2-generic]
02:35 <@retrobot> bsnes_cplusplus98: [status: done] [recipes/linux/cores-linux-armhf-generic]

@retro-wertz or @twinaphex I think this issue can be closed.