Jump to content

tien_huu_1408

Members+
  • Posts

    23
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by tien_huu_1408

  1.  

    Re-read what I posted, you did something obviously wrong with muparser, probably linked to this "universal" setting, you are the only one who can fix it !

    When I make clean, I saw this

     

     

    TienHuusMacBook:muparser H2T$ make clean
    rm -rf ./.deps ./.pch
    rm -f ./*.o
    rm -f ./lib/libmuparser.a
    rm -f ./lib/libmuparser.2.2.4.dylib
    rm -f ./lib/libmuparser.dylib
    rm -f ./lib/libmuparser.dylib ./lib/libmuparser.2.dylib
    rm -f ./samples/example1/example1
     

     

    It means the file existed. I rebuilt the muparser and check libmuparser.a is in /usr/lib already.

     

     

    TienHuusMacBook:muparser H2T$ sudo make install
    Password:
    /usr/bin/install -c -d /usr/local/lib
    /usr/bin/install -c -m 644 ./lib/libmuparser.a /usr/local/lib
    /usr/bin/install -c -d /usr/local
    for f in include/muParser.h include/muParserBase.h include/muParserBytecode.h include/muParserCallback.h include/muParserDLL.h include/muParserDef.h include/muParserError.h include/muParserFixes.h include/muParserInt.h include/muParserStack.h include/muParserTemplateMagic.h include/muParserTest.h include/muParserToken.h include/muParserTokenReader.h; do \
    if test ! -d /usr/local/`dirname $f` ; then \
    /usr/bin/install -c -d /usr/local/`dirname $f`; \
    fi; \
    /usr/bin/install -c -m 644 ./$f /usr/local/$f; \
    done
    /usr/bin/install -c -d /usr/local/lib/pkgconfig
    /usr/bin/install -c -m 644 build/autoconf/muparser.pc /usr/local/lib/pkgconfig
     

    I try to remake Raine and it was built successfully.

     

     

    rofile.o darwin-sdl/objectd/sdl/gen_conv.o darwin-sdl/objectd/sdl/sasound.o -lz /usr/local/lib/libpng.a -lm /usr/local/lib/libmuparser.a -framework SDL -framework SDL_ttf -framework SDL_image -framework Cocoa -framework OpenGL /usr/local/lib/libSDL_sound.a /usr/local/lib/libintl.a -liconv
     

     

    Raine (Unix executable file) has been built. I copy this to overwrite in Raine app.

     

    Wow, it worked like a charm. Play game perfectly. No crash like rrshier buid version.

     

    Thanks a lot for your great support!

  2. @Tux: I continued to face another error after following your instruction. Hope you could help me solve it! I think it is the last step. Thanks!

    ld: warning: could not create compact unwind for __Z12do_soft_dipsi: stack subl instruction is too different from dwarf stack size
    1258 translated messages, 2 fuzzy translations, 270 untranslated messages.
    ld: warning: could not create compact unwind for _parse: stack subl instruction is too different from dwarf stack size
    ld: warning: could not create compact unwind for _get_script_name: stack subl instruction is too different from dwarf stack size
    ld: warning: could not create compact unwind for _init_scripts: stack subl instruction is too different from dwarf stack size
    ld: warning: could not create compact unwind for _do_list: stack subl instruction is too different from dwarf stack size
    ld: warning: could not create compact unwind for __ZL8open_asmj: stack subl instruction is too different from dwarf stack size
    ld: warning: could not create compact unwind for _disp_instruction: stack subl instruction is too different from dwarf stack size
    ld: warning: could not create compact unwind for __ZL12generate_asmPcjjPhS_: stack subl instruction is too different from dwarf stack size
    ld: warning: ignoring file /usr/local/lib/libmuparser.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libmuparser.dylib
    Undefined symbols for architecture i386:
      "mu::ParserBase::DefineOprt(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double (*)(double, double), unsigned int, mu::EOprtAssociativity, bool)", referenced from:
          _parse in parser.o
      "mu::ParserBase::AddCallback(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, mu::ParserCallback const&, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, mu::ParserCallback, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, mu::ParserCallback> > >&, char const*)", referenced from:
          _parse in parser.o
      "mu::ParserBase::SetVarFactory(double* (*)(char const*, void*), void*)", referenced from:
          _parse in parser.o
      "mu::ParserBase::DefineInfixOprt(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double (*)(double), int, bool)", referenced from:
          _parse in parser.o
      "mu::ParserBase::SetExpr(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
          _parse in parser.o
      "mu::ParserBase::DefineVar(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double*)", referenced from:
          _parse in parser.o
      "mu::ParserBase::~ParserBase()", referenced from:
          mu::Parser::~Parser() in parser.o
          TConsole::TConsole(char*, char*, int, int, commands_t*) in tconsole.o
      "mu::ParserError::ParserError(char const*, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
          AddVariable(char const*, void*) in parser.o
      "mu::ParserError::~ParserError()", referenced from:
          AddVariable(char const*, void*) in parser.o
      "mu::ParserCallback::ParserCallback(double (*)(char const*), bool)", referenced from:
          _parse in parser.o
      "mu::ParserCallback::ParserCallback(double (*)(double), bool, int, mu::ECmdCode)", referenced from:
          _parse in parser.o
      "mu::Parser::Parser()", referenced from:
          __GLOBAL__sub_I_parser.cpp in parser.o
          TConsole::TConsole(char*, char*, int, int, commands_t*) in tconsole.o
      "mu::ParserBase::GetVersion(mu::EParserVersionInfo) const", referenced from:
          TConsole::TConsole(char*, char*, int, int, commands_t*) in tconsole.o
      "mu::ParserBase::ValidNameChars() const", referenced from:
          _parse in parser.o
      "mu::ParserBase::Eval() const", referenced from:
          _parse in parser.o
      "mu::ParserError::GetMsg() const", referenced from:
          _parse in parser.o
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [raine] Error 1
     
    • Like 1
  3. TienHuusMacBook:raine-master H2T$ nasm -v

    NASM version 0.98.40 (Apple Computer, Inc. build 11) compiled on Aug 24 2016

    I am trying to install newest nasm to 2.12.02 successfully

    TienHuusMacBook:nasm-2.12.02 H2T$ nasm -v

    NASM version 2.12.02 compiled on Oct 3 2016

    After that, I try to rebuild Raine again. But I face the next error

     

    clang: error: no such file or directory: '/usr/local/lib/libmuparser.a'

    make: *** [raine] Error 1

    How to solve it? Thanks!
  4.  

    Well if you installed all the libs, it's the hardest part in building raine, now all you have to do is build it from source, this way you are 100% sure you are using the latest official version.

    Just use git clone https://github.com/zelurker/raine.git

    or download a zip file from the git section. Then cd to the source directory, if all the libs are already installed you should be able to type make and everything should work without problem, it should autodetect everything including the fact you are using osx. If something fails tell me.

    You can use the very last git commit, there were only fixes committed to git, nothing experimental.

    The only requirement maybe you are still missing is nasm, well check you have it and if you don't find a binary on internet, it's easy to find.

     

    If your build goes well but then it crashes again, then edit the makefile and uncomment the line to build a debug build, it must be the line containing RAINE_DEBUG, then save and rebuild and try again. If it crashes, uses gdb to run it and tell me where it crashes (you'll get the info from gdb). Of course in this case run it in windowed mode and not fullscreen.

    Good luck !

    I got error when compiling Raine as your instruction. I have installed gcc and nasm already via brew install gcc / nasm

     

     

    darwin-sdl/object/68000/star.exe -hog darwin-sdl/object/68000/s68000.asm

    STARSCREAM version 0.26r4

    Generating "darwin-sdl/object/68000/s68000.asm" with the following options:

    * CPU type: 68000 (24-bit addresses)

    * Identifiers begin with "s68000"

    * Stack calling conventions

    * Hog mode: On

    Decoding instructions: 0123456789ABCDEF done

    Building table: done

    routine_counter = 7244

    Assembling darwin-sdl/object/68000/s68000.asm...

    nasm: error: more than one input file specified

    type `nasm -h' for help

    make: *** [darwin-sdl/object/68000/s68000.o] Error 1

  5. @Tux

     

    About MacOSX version, it seems working for the first screen but after that, it crashes immediately. I am testing Samurai Spirits RPG with Raine 0.63.13 by @rrshier. It never happened with previous MacOSX before and Win version also.

     

    Again, I download Raine 0.63.4 provided by Raine website. It worked as a charm like before.

  6. Finally, I made it work perfectly under Mac OSX 10.11.6 as before. I have installed all required package and reinstall muparser with this command line:

     

    brew reinstall muparser --universal

     

    Moreover, could you help me compile Raine under Debian ARM like Raspberry Pi 3? If possible, hope you give me detailed instructions. Thanks a lot!

     

    post-56610-0-05903300-1475327906.png

  7. Also here is a screenshot of this running in Mac OS X 10.12.

     

    Hi sir,

    I could not make it work under 10.11.6. I don't know why. Hope you could help me resolve it. Thanks!

     

    Problem report:

     

    Process: Raine [22779]

    Path: /Applications/Raine v0.64.13.app/Contents/MacOS/Raine
    Identifier: org.vim.Raine
    Version: ???
    Code Type: X86 (Native)
    Parent Process: ??? [1]
    Responsible: Raine [22779]
    User ID: 501
    Date/Time: 2016-09-24 10:33:57.803 +0700
    OS Version: Mac OS X 10.11.6 (15G1004)
    Report Version: 11
    Anonymous UUID: 752862F8-4D25-D40C-CC9F-F5B375E16614
    Time Awake Since Boot: 53000 seconds
    System Integrity Protection: disabled
    Crashed Thread: 0
    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Exception Note: EXC_CORPSE_NOTIFY
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
    Library not loaded: /usr/local/opt/muparser/lib/libmuparser.2.dylib
    Referenced from: /Applications/Raine v0.64.13.app/Contents/MacOS/Raine
    Reason: image not found
    Binary Images:
    0x8fe20000 - 0x8fe54df7 dyld (360.22) <16F74106-838E-37A2-82C3-6B382F52101C> /usr/lib/dyld
    0x9378e000 - 0x9378ffff libSystem.B.dylib (1226.10.1) <BBE8292D-6EB4-3FBE-9269-0E3E20DE9128> /usr/lib/libSystem.B.dylib
    0x93d42000 - 0x93d50ff7 libz.1.dylib (61.20.1) <34A8BA7F-AA56-322E-AC39-ADF8DDE53FF1> /usr/lib/libz.1.dylib
    Model: MacBook5,1, BootROM MB51.007D.B03, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.40f2
    Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x029E, 0x434D33583447534431303636202020202020
    Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1067 MHz, 0x029E, 0x434D33583447534431303636202020202020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.24)
    Bluetooth: Version 4.4.6f1 17910, 3 services, 19 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: M4-CT256M4SSD2, 256.06 GB
    Serial ATA Device: CSD CAZ250S, 250.06 GB
    USB Device: USB Bus
    USB Device: BRCM2046 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: USB Bus
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: IR Receiver
    USB Device: USB Hub 2.0
    USB Device: USB Hub 2.0
    USB Device: USB Hub 2.0
    USB Device: USB-PS/2 Optical Mouse
    USB Device: Dell USB Keyboard
    USB Device: USB 2.0 Bus
    USB Device: Built-in iSight
    USB Device: USB 2.0 Bus
    Thunderbolt Bus:

    post-56610-0-15951100-1474687953_thumb.png

  8. Notice that a binary which comes from nowhere from someone unknown can very well contain bad things for your computer, I am not responsible for this... ! It's too bad to be obliged to think about it, but with all the hacks everywhere currently it's better to think about it !

     

    It means I should not try to download it. And continue to waiting official release. Right? Hic

×
×
  • Create New...