NitrogenEmulator / Nitrogen

Nitrogen Emulator
123 stars 23 forks source link

Trying to Compile Nitrogen #3

Open albshin opened 9 years ago

albshin commented 9 years ago

So I tried to compile Nitrogen with "make install" and I get the following error.

The following build commands failed:
    CompileC build/Nitrogen.build/Release-iphoneos/Nitrogen.build/Objects-normal/armv7/ArmLJit.o desmume/src/ArmLJit.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
make: *** [install] Error 65

I have Xcode 6.1 installed, I edited Nitrogen.xcodeproj to not be signed and Xcode has been modified to work around not signing code.

inb4ohnoes commented 9 years ago

You need to change yourarchive scheme to debug instead of release.

albshin commented 9 years ago

Same error.

Went into the project and went to Product > Scheme > Edit Scheme and changed Archive to debug then closed Xcode.

Run is on Debug, Test is on Debug, Profile is on Release, Analyze is on Debug, and Archive is on Debug.

inb4ohnoes commented 9 years ago

I mean in the makefile

albshin commented 9 years ago

I'm honestly clueless how to use Makefiles with XCode. I tried adding this to the end of the make file:

archive:
    xcodebuild -configuration Debug

But I'm guessing this isn't how you do it.

inb4ohnoes commented 9 years ago

Change this line in the makefile:

build:
    xcodebuild -configuration Release

to

build:
    xcodebuild -configuration Debug

It should work as a workaround until we figure out what's going on.

albshin commented 9 years ago

Nope same error. I did exactly this before and I was still getting an error so I assumed that I was doing something wrong. Apparently not.

inb4ohnoes commented 9 years ago

Sorry about that, we'll take a look and see what's going on.

albshin commented 9 years ago

Here's my console output if it's helpful.

xcodebuild -configuration Release
=== BUILD TARGET Nitrogen OF PROJECT Nitrogen WITH CONFIGURATION Release ===

Check dependencies

CompileC build/Nitrogen.build/Release-iphoneos/Nitrogen.build/Objects-normal/armv7/ArmLJit.o desmume/src/ArmLJit.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/albertshin/Nitrogen
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/sbin:/opt/X11/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -Ofast -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -miphoneos-version-min=5.0 -iquote /Users/albertshin/Nitrogen/build/Nitrogen.build/Release-iphoneos/Nitrogen.build/Nitrogen-generated-files.hmap -I/Users/albertshin/Nitrogen/build/Nitrogen.build/Release-iphoneos/Nitrogen.build/Nitrogen-own-target-headers.hmap -I/Users/albertshin/Nitrogen/build/Nitrogen.build/Release-iphoneos/Nitrogen.build/Nitrogen-all-target-headers.hmap -iquote /Users/albertshin/Nitrogen/build/Nitrogen.build/Release-iphoneos/Nitrogen.build/Nitrogen-project-headers.hmap -I/Users/albertshin/Nitrogen/build/Release-iphoneos/include -I/Users/albertshin/Nitrogen/Classes -I/Users/albertshin/Nitrogen/desmume/src -I/Users/albertshin/Nitrogen -I/Users/albertshin/Nitrogen/desmume/src/android -I/Users/albertshin/Nitrogen/build/Nitrogen.build/Release-iphoneos/Nitrogen.build/DerivedSources/armv7 -I/Users/albertshin/Nitrogen/build/Nitrogen.build/Release-iphoneos/Nitrogen.build/DerivedSources -F/Users/albertshin/Nitrogen/build/Release-iphoneos -F/Users/albertshin/Nitrogen -F/Users/albertshin/Nitrogen/Nitrogen/frameworks -F/Users/albertshin/Nitrogen/Nitrogen -F/Users/albertshin/Nitrogen/Nitrogen/dropbox -F/Users/albertshin/Nitrogen/Nitrogen/Reveal -DNS_BLOCK_ASSERTIONS=1 -DANDROID -fexceptions -ftree-vectorize -fprefetch-loop-arrays -marm -DCOMPRESS_MT -DIOS -DHAVE_LIBZ -include /var/folders/w7/l0td6d4j04j60cpny6mb7pv40000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/Nitrogen-Prefix-cgqepogrqozjcacmwrqijwhmnapx/Nitrogen-Prefix.pch -MMD -MT dependencies -MF /Users/albertshin/Nitrogen/build/Nitrogen.build/Release-iphoneos/Nitrogen.build/Objects-normal/armv7/ArmLJit.d --serialize-diagnostics /Users/albertshin/Nitrogen/build/Nitrogen.build/Release-iphoneos/Nitrogen.build/Objects-normal/armv7/ArmLJit.dia -c /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp -o /Users/albertshin/Nitrogen/build/Nitrogen.build/Release-iphoneos/Nitrogen.build/Objects-normal/armv7/ArmLJit.o
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:256:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/asm-common.h:33:9: warning: '__lightning_asm_common_h' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef __lightning_asm_common_h
        ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/asm-common.h:34:9: note: '__lightning_asm_common_h_' is defined here; did you mean '__lightning_asm_common_h'?
#define __lightning_asm_common_h_
        ^~~~~~~~~~~~~~~~~~~~~~~~~
        __lightning_asm_common_h
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:33:9: warning: '__lightning_core_common_h' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef __lightning_core_common_h
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:34:9: note: '__lightning_core_common_h_' is defined here; did you mean '__lightning_core_common_h'?
#define __lightning_core_common_h_
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
        __lightning_core_common_h
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:168:9: warning: 'jit_movi_p' macro redefined
#define jit_movi_p(r0, i0)              arm_movi_p(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:228:9: note: previous definition is here
#define jit_movi_p(d, is)               (jit_movi_ul((d),       (long) (is)), _jit->x.pc)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:318:9: warning: 'jit_notr_i' macro redefined
#define jit_notr_i(r0, r1)              arm_notr_i(_jit, r0, r1)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:268:11: note: previous definition is here
#  define jit_notr_i(d, rs)             jit_xori_i((d), (rs), ~0)
          ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:332:9: warning: 'jit_negr_i' macro redefined
#define jit_negr_i(r0, r1)              arm_negr_i(_jit, r0, r1)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:242:15: note: previous definition is here
#      define jit_negr_i(d, rs)         (jit_xori_i((d), (rs), -1), jit_addi_l((d), (d), 1))
              ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:404:9: warning: 'jit_addcr_ui' macro redefined
#define jit_addcr_ui(r0, r1, r2)        arm_addcr_ui(_jit, r0, r1, r2)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:92:13: note: previous definition is here
#    define jit_addcr_ui(d, s1, s2)     jit_addr_ui((d), (s1), (s2))
            ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:419:9: warning: 'jit_addci_ui' macro redefined
#define jit_addci_ui(r0, r1, i0)        arm_addci_ui(_jit, r0, r1, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:91:13: note: previous definition is here
#    define jit_addci_ui(d, rs, is)     jit_addi_ui((d), (rs), (is))
            ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:520:9: warning: 'jit_subi_i' macro redefined
#define jit_subi_i(r0, r1, i0)          arm_subi_i(_jit, r0, r1, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:253:11: note: previous definition is here
#  define jit_subi_i(d, rs, is)         jit_addi_i((d), (rs), -(is))
          ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:562:9: warning: 'jit_subcr_ui' macro redefined
#define jit_subcr_ui(r0, r1, r2)        arm_subcr_ui(_jit, r0, r1, r2)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:94:13: note: previous definition is here
#    define jit_subcr_ui(d, s1, s2)     jit_subr_ui((d), (s1), (s2))
            ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:577:9: warning: 'jit_subci_ui' macro redefined
#define jit_subci_ui(r0, r1, i0)        arm_subci_ui(_jit, r0, r1, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:93:13: note: previous definition is here
#    define jit_subci_ui(d, rs, is)     jit_subi_ui((d), (rs), (is))
            ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:664:9: warning: 'jit_rsbr_i' macro redefined
#define jit_rsbr_i(r0, r1, r2)          arm_rsbr_i(_jit, r0, r1, r2)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:261:11: note: previous definition is here
#  define jit_rsbr_i(d, s1, s2)         jit_subr_i((d), (s2), (s1))
          ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:674:9: warning: 'jit_rsbi_i' macro redefined
#define jit_rsbi_i(r0, r1, i0)          arm_rsbi_i(_jit, r0, r1, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:687:10: note: previous definition is here
# define jit_rsbi_i(d, rs, is)          (jit_subi_i((d), (rs), (is)), jit_negr_i((d), (d)))
         ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2204:9: warning: 'jit_ntoh_us' macro redefined
#define jit_ntoh_us(r0, r1)             arm_ntoh_us(_jit, r0, r1)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:339:9: note: previous definition is here
#define jit_ntoh_us(d, rs)              ((d) == (rs) ? (void)0 : jit_movr_i((d), (rs)))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2226:9: warning: 'jit_ntoh_ui' macro redefined
#define jit_ntoh_ui(r0, r1)             arm_ntoh_ui(_jit, r0, r1)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:338:9: note: previous definition is here
#define jit_ntoh_ui(d, rs)              ((d) == (rs) ? (void)0 : jit_movr_i((d), (rs)))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2249:9: warning: 'jit_extr_c_i' macro redefined
#define jit_extr_c_i(r0, r1)            arm_extr_c_i(_jit, r0, r1)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:293:11: note: previous definition is here
#  define jit_extr_c_i(d, rs)           (jit_lshi_i((d), (rs), 24), jit_rshi_i((d), (d), 24))
          ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2269:9: warning: 'jit_extr_c_ui' macro redefined
#define jit_extr_c_ui(r0, r1)           arm_extr_c_ui(_jit, r0, r1)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:287:11: note: previous definition is here
#  define jit_extr_c_ui(d, rs)          jit_andi_ui((d), (rs), 0xFF)
          ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2287:9: warning: 'jit_extr_s_i' macro redefined
#define jit_extr_s_i(r0, r1)            arm_extr_s_i(_jit, r0, r1)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:296:11: note: previous definition is here
#  define jit_extr_s_i(d, rs)           (jit_lshi_i((d), (rs), 16), jit_rshi_i((d), (d), 16))
          ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2307:9: warning: 'jit_extr_s_ui' macro redefined
#define jit_extr_s_ui(r0, r1)           arm_extr_s_ui(_jit, r0, r1)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:290:11: note: previous definition is here
#  define jit_extr_s_ui(d, rs)          jit_andi_ui((d), (rs), 0xFFFF)
          ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2339:9: warning: 'jit_prolog' macro redefined
#define jit_prolog(n)                   arm_prolog(_jit, n)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:516:9: note: previous definition is here
#define jit_prolog(numargs)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2459:9: warning: 'jit_getarg_c' macro redefined
#define jit_getarg_c(r0, i0)            arm_getarg_c(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:525:9: note: previous definition is here
#define jit_getarg_c(reg, ofs)          jit_extr_c_l  ((reg), (ofs))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2471:9: warning: 'jit_getarg_uc' macro redefined
#define jit_getarg_uc(r0, i0)           arm_getarg_uc(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:530:9: note: previous definition is here
#define jit_getarg_uc(reg, ofs)         jit_extr_uc_ul((reg), (ofs))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2483:9: warning: 'jit_getarg_s' macro redefined
#define jit_getarg_s(r0, i0)            arm_getarg_s(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:529:9: note: previous definition is here
#define jit_getarg_s(reg, ofs)          jit_extr_s_l  ((reg), (ofs))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2495:9: warning: 'jit_getarg_us' macro redefined
#define jit_getarg_us(r0, i0)           arm_getarg_us(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:533:9: note: previous definition is here
#define jit_getarg_us(reg, ofs)         jit_extr_us_ul((reg), (ofs))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2507:9: warning: 'jit_getarg_i' macro redefined
#define jit_getarg_i(r0, i0)            arm_getarg_i(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:526:9: note: previous definition is here
#define jit_getarg_i(reg, ofs)          jit_extr_i_l  ((reg), (ofs))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2508:9: warning: 'jit_getarg_ui' macro redefined
#define jit_getarg_ui(r0, i0)           arm_getarg_i(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:531:9: note: previous definition is here
#define jit_getarg_ui(reg, ofs)         jit_extr_ui_ul((reg), (ofs))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2509:9: warning: 'jit_getarg_l' macro redefined
#define jit_getarg_l(r0, i0)            arm_getarg_i(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:527:9: note: previous definition is here
#define jit_getarg_l(reg, ofs)          jit_movr_l    ((reg), (ofs))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2510:9: warning: 'jit_getarg_ul' macro redefined
#define jit_getarg_ul(r0, i0)           arm_getarg_i(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:532:9: note: previous definition is here
#define jit_getarg_ul(reg, ofs)         jit_movr_ul   ((reg), (ofs))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2511:9: warning: 'jit_getarg_p' macro redefined
#define jit_getarg_p(r0, i0)            arm_getarg_i(_jit, r0, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:528:9: note: previous definition is here
#define jit_getarg_p(reg, ofs)          jit_movr_p    ((reg), (ofs))
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2740:9: warning: 'jit_finishr' macro redefined
#define jit_finishr(rs)                 arm_finishr(_jit, rs)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:512:9: note: previous definition is here
#define jit_finishr(reg)                jit_callr(reg)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:2761:9: warning: 'jit_finish' macro redefined
#define jit_finish(i0)                  arm_finishi(_jit, i0)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:25:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/lightning.h:296:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/core-common.h:508:9: note: previous definition is here
#define jit_finish(sub)                 jit_calli(sub)
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:43:9: warning: 'M_PI' macro redefined
#define M_PI            3.14159265358979323846  /* pi */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:683:9: note: previous definition is here
#define M_PI        3.14159265358979323846264338327950288   /* pi             */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:44:9: warning: 'M_PI_2' macro redefined
#define M_PI_2          1.57079632679489661923  /* pi/2 */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:684:9: note: previous definition is here
#define M_PI_2      1.57079632679489661923132169163975144   /* pi/2           */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:45:9: warning: 'M_PI_4' macro redefined
#define M_PI_4          0.78539816339744830962  /* pi/4 */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:685:9: note: previous definition is here
#define M_PI_4      0.785398163397448309615660845819875721  /* pi/4           */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:46:9: warning: 'M_E' macro redefined
#define M_E                     2.7182818284590452354   /* e */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:678:9: note: previous definition is here
#define M_E         2.71828182845904523536028747135266250   /* e              */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:47:9: warning: 'M_LOG2E' macro redefined
#define M_LOG2E         1.4426950408889634074   /* log_2 e */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:679:9: note: previous definition is here
#define M_LOG2E     1.44269504088896340735992468100189214   /* log2(e)        */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:48:9: warning: 'M_LOG10E' macro redefined
#define M_LOG10E        0.43429448190325182765  /* log_10 e */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:680:9: note: previous definition is here
#define M_LOG10E    0.434294481903251827651128918916605082  /* log10(e)       */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:49:9: warning: 'M_LN2' macro redefined
#define M_LN2           0.69314718055994530942  /* log_e 2 */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:681:9: note: previous definition is here
#define M_LN2       0.693147180559945309417232121458176568  /* loge(2)        */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:50:9: warning: 'M_LN10' macro redefined
#define M_LN10          2.30258509299404568402  /* log_e 10 */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:682:9: note: previous definition is here
#define M_LN10      2.30258509299404568401799145468436421   /* loge(10)       */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:51:9: warning: 'M_1_PI' macro redefined
#define M_1_PI          0.31830988618379067154  /* 1/pi */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:686:9: note: previous definition is here
#define M_1_PI      0.318309886183790671537767526745028724  /* 1/pi           */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:52:9: warning: 'M_2_PI' macro redefined
#define M_2_PI          0.63661977236758134308  /* 2/pi */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:687:9: note: previous definition is here
#define M_2_PI      0.636619772367581343075535053490057448  /* 2/pi           */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:53:9: warning: 'M_2_SQRTPI' macro redefined
#define M_2_SQRTPI      1.12837916709551257390  /* 2/sqrt(pi) */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:688:9: note: previous definition is here
#define M_2_SQRTPI  1.12837916709551257389615890312154517   /* 2/sqrt(pi)     */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:54:9: warning: 'M_SQRT2' macro redefined
#define M_SQRT2         1.41421356237309504880  /* sqrt(2) */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:689:9: note: previous definition is here
#define M_SQRT2     1.41421356237309504880168872420969808   /* sqrt(2)        */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:38:
/Users/albertshin/Nitrogen/desmume/src/android/math-neon/math_neon.h:55:9: warning: 'M_SQRT1_2' macro redefined
#define M_SQRT1_2       0.70710678118654752440  /* 1/sqrt(2) */
        ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:36:
In file included from /Users/albertshin/Nitrogen/desmume/src/MMU_timing.h:30:
In file included from /Users/albertshin/Nitrogen/desmume/src/NDSSystem.h:27:
In file included from /Users/albertshin/Nitrogen/desmume/src/SPU.h:26:
In file included from /Users/albertshin/Nitrogen/desmume/src/matrix.h:22:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/math.h:690:9: note: previous definition is here
#define M_SQRT1_2   0.707106781186547524400844362104849039  /* 1/sqrt(2)      */
        ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:935:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:1612:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:1686:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:1693:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:1848:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:1889:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:1922:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:1955:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:2041:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:2127:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:2239:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:2343:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:2455:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:2559:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:2671:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:2786:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:3010:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:3216:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:3440:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:3625:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:3832:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:4018:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:4196:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:4392:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:4483:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:4592:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:4690:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:4762:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:4875:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:4960:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5032:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5130:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5142:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5156:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6091:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6105:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6119:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6130:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6141:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6168:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6190:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6202:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6211:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6221:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6252:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6425:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6674:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6818:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6843:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6867:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6891:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6915:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6939:7: warning: unused variable 'PROCNUM' [-Wunused-variable]
                u32 PROCNUM = d.ProcessID;
                    ^
In file included from /Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:28:
In file included from /Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/core.h:37:
/Users/albertshin/Nitrogen/desmume/src/utils/lightning/arm/asm.h:517:1: warning: unused function 'encode_vfp_double' [-Wunused-function]
encode_vfp_double(int mov, int inv, unsigned lo, unsigned hi)
^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:6960:26: warning: variable 'iropdecoder_set' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static const IROpDecoder iropdecoder_set[IR_MAXNUM] = {
                         ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:7003:12: warning: function 'AllocCodeBuffer' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static u8* AllocCodeBuffer(size_t size)
           ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:7019:13: warning: function 'FreeCodeBuffer' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static void FreeCodeBuffer(size_t size)
            ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:7032:13: warning: function 'AddExecuteCycles' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static void AddExecuteCycles(u32 ConstCycles)
            ^
/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:7050:13: warning: function 'EndSubBlock' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static void EndSubBlock(u32 state_start, u32 state_end1, u32 state_end2, jit_insn* pt_end1)
            ^
fatal error: error in backend: Cannot select: 0x103decb10: v2i32 = bitcast 0x106236b10 [ORD=18] [ID=66] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5043
  0x106236b10: v4i32 = insert_vector_elt 0x104982810, 0x103d84310, 0x103deea10 [ORD=16] [ID=64] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5043
    0x104982810: v4i32 = insert_vector_elt 0x103d35710, 0x103cc5e10, 0x104982610 [ORD=16] [ID=62] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5043
      0x103d35710: v4i32 = insert_vector_elt 0x103ded210, 0x10623aa10, 0x103deca10 [ORD=16] [ID=60] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5043
        0x103ded210: v4i32 = insert_vector_elt 0x1061f0010, 0x103d84110, 0x103d35010 [ORD=16] [ID=58] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5043
          0x1061f0010: v4i32 = undef [ID=28]
          0x103d84110: i32,ch = load 0x103ded310:1, 0x103cc5710, 0x104982e10<LD4[%21]> [ORD=14] [ID=56] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5043
            0x103cc5710: i32 = add 0x103cc5910, 0x103dee310 [ORD=2] [ID=39] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
              0x103cc5910: i32,ch = CopyFromReg 0x106a8c308, 0x106220e10 [ORD=2] [ID=32] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
                0x106220e10: i32 = Register %vreg134 [ID=1]
              0x103dee310: i32 = Constant<44> [ID=2]
            0x104982e10: i32 = undef [ID=4]
          0x103d35010: i32 = Constant<0> [ID=3]
        0x10623aa10: i32,ch = load 0x103ded310:1, 0x103ea7810, 0x104982e10<LD1[%21+4](align=4), anyext from i8> [ORD=14] [ID=55] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5043
          0x103ea7810: i32 = add 0x103cc5910, 0x103def110 [ORD=4] [ID=36] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
            0x103cc5910: i32,ch = CopyFromReg 0x106a8c308, 0x106220e10 [ORD=2] [ID=32] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
              0x106220e10: i32 = Register %vreg134 [ID=1]
            0x103def110: i32 = Constant<48> [ID=23]
          0x104982e10: i32 = undef [ID=4]
        0x103deca10: i32 = Constant<1> [ID=12]
      0x103cc5e10: i32,ch = load 0x106a8c308, 0x103cc5710, 0x104982e10<LD4[%21]> [ORD=4] [ID=44] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
        0x103cc5710: i32 = add 0x103cc5910, 0x103dee310 [ORD=2] [ID=39] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
          0x103cc5910: i32,ch = CopyFromReg 0x106a8c308, 0x106220e10 [ORD=2] [ID=32] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
            0x106220e10: i32 = Register %vreg134 [ID=1]
          0x103dee310: i32 = Constant<44> [ID=2]
        0x104982e10: i32 = undef [ID=4]
      0x104982610: i32 = Constant<2> [ID=29]
    0x103d84310: i32,ch = load 0x106a8c308, 0x103ea7810, 0x104982e10<LD1[%21+4](align=4), anyext from i8> [ORD=4] [ID=42] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
      0x103ea7810: i32 = add 0x103cc5910, 0x103def110 [ORD=4] [ID=36] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
        0x103cc5910: i32,ch = CopyFromReg 0x106a8c308, 0x106220e10 [ORD=2] [ID=32] dbg:/Users/albertshin/Nitrogen/desmume/src/ArmLJit.cpp:5038
          0x106220e10: i32 = Register %vreg134 [ID=1]
        0x103def110: i32 = Constant<48> [ID=23]
      0x104982e10: i32 = undef [ID=4]
    0x103deea10: i32 = Constant<3> [ID=30]
In function: _ZN7ArmLJit17IR_SMLAxy_DecoderERK8_DecodedR11RegisterMap
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: arm-apple-darwin14.0.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/w7/l0td6d4j04j60cpny6mb7pv40000gn/T/ArmLJit-889744.cpp
clang: note: diagnostic msg: /var/folders/w7/l0td6d4j04j60cpny6mb7pv40000gn/T/ArmLJit-889744.sh
clang: note: diagnostic msg: 

********************
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 70
inb4ohnoes commented 9 years ago

It looks like you're still building with release.

albshin commented 9 years ago

Oh, derp. Apparently I had to change this line too.

install:
ifdef THEOS_DEVICE_IP
    xcodebuild -configuration Debug

Still gives me this though:

The following build commands failed:
    CompileC build/Nitrogen.build/Debug-iphoneos/Nitrogen.build/Objects-normal/armv7/ArmLJit.o desmume/src/ArmLJit.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ssgelm commented 9 years ago

I'm having the same problem. Anyone know a solution?

arcetera commented 9 years ago

I've contacted one of the developers, and they say that the application is currently broken on 32-bit devices. We'll just have to temporarily wait it out.

ssgelm commented 9 years ago

I am compiling for a 64-bit device.

Joride commented 9 years ago

I just downloaded this, and building debug on iPhone 6 plus (so 64 bit) works. On iPhone 5 neither debug nor release compile, spitting out the same error as above. I am using Xcode 6.1.1 (6A2008a) on OS X 10.9.5 (Mavericks).

Joride commented 9 years ago

@brujo5

The entire app is just what I cloned from here. Didn't change thing, just tried to run it on 64-bit and 32-bit devices.

brujo5 commented 9 years ago

@Joride

sorry for delay. finally got an compiled ipa, installed but crashes at launch any game in ip5S ios 8.2?

work for you?

Joride commented 9 years ago

@brujo5

Maybe I had the same issue. Check out this thread: https://github.com/NitrogenEmulator/Nitrogen/issues/20

brujo5 commented 9 years ago

Thats right, thx

funknut commented 9 years ago

Disappointing that no one has posted the solution to workaround the issue to only build for arm64. It's very simple, just add the "-arch arm64" argument to the xcodebuild command in the Makefile (or run directly from terminal).