openMSX 0.9.0 on PPC Powerbook

Pagina 1/3
| 2 | 3

Door hbarcellos

Hero (630)

afbeelding van hbarcellos

28-09-2012, 16:35

Hello openMSX dev team...
Sometime ago I got a Powerbook G4 to run MorphOS on it...

Anyway, it's now a dual-boot machine with Leopard on it.
When I tried to install openMSX on it (binary version from SF and binary from FiXato as well) I got an error about libXML2. Something like openMSX needs 10.0 but you only have 9.0. I'm away from the PB now, but any clues about what it can be?

Rgds!

Aangemeld of registreer om reacties te plaatsen

Van FiXato

Scribe (1721)

afbeelding van FiXato

28-09-2012, 16:46

Hmm.. Running MorphOS probably explains why it doesn't work while it should work on Mac OS X; it probably ships with an outdated version of LibXML2.

Not sure if http://www.explain.com.au/oss/libxml2xslt.html is of any use to you as it is meant for OS X.

For completeness sake, this is the error message you pasted in #openMSX a few days ago:

Exception Type:  EXC_BREAKPOINT (SIGTRAP)                                                                     
Exception Codes: 0x0000000000000001, 0x000000008fe0105c                                                       
Crashed Thread:  0                                                                                            
Dyld Error Message:                                                                                           
  Library not loaded: /usr/lib/libxml2.2.dylib                                                                
  Referenced from: /Applications/openMSX.app/Contents/MacOS/openmsx                                           
  Reason: Incompatible library version: openmsx requires version 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

28-09-2012, 16:54

Well, Im not (yet) trying to compile it under MorphOS. I installed the binary OSX version on Leopard...
That error is from Leopard's finder.

Van anonymous

incognito ergo sum (116)

afbeelding van anonymous

28-09-2012, 17:08

Ah, okay. Well, then the above link might be of some use. Hopefully mth can help you further though if it doesn't. Smile

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

30-09-2012, 00:37

Fixato, take a look at line 44 of the following file: platform-darwin.mk

Quote:

DK_PATH:=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/
> ifneq ($(shell [ -d $(SDK_PATH) ] && echo exists)$(filter $(OPENMSX_TARGET_CPU),ppc),exists)
> # The SDK path for the older stand-alone Xcode:
> SDK_PATH:=/Developer/SDKs/MacOSX10.6.sdk
> endif

It was not supposed to be compiled using 10.4?

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

30-09-2012, 01:59

several libraries downloaded and, finally...

Quote:

Compiling Reactor.cc...
In file included from src/fdc/Disk.hh:7,
from src/fdc/SectorBasedDisk.hh:6,
from src/fdc/DirAsDSK.hh:6,
from src/fdc/DiskFactory.hh:6,
from src/Reactor.cc:9:
src/fdc/RawTrack.hh: In member function 'openmsx::byte* openmsx::RawTrack::getRawBuffer()':
src/fdc/RawTrack.hh:113: error: 'class std::vector >' has no member named 'data'
src/fdc/RawTrack.hh: In member function 'const openmsx::byte* openmsx::RawTrack::getRawBuffer() const':
src/fdc/RawTrack.hh:114: error: 'const class std::vector >' has no member named 'data'
make: *** [derived/ppc-darwin-ppc/obj/Reactor.o] Error 1

hmmm...

Van Manuel

Ascended (18256)

afbeelding van Manuel

30-09-2012, 12:54

Which version of which compiler (I guess clang) are you using exactly?

In C++11 standard a vector<> does have a member function data(), but it means you need a pretty recent C++ compiler.

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

30-09-2012, 15:01

AFAIK, clang 3.1.
installed latest xcode available for Leopard and clang 3.1 through macports. All other libraries were installed through macports as well.

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

30-09-2012, 15:10

Well,

Quote:

C++11 (formerly known as C++0x[1]) is the most recent iteration of the C++ programming language. It was approved by ISO on 12 August 2011, replacing C++03.

Quote:

Mac OS X Leopard (version 10.5) is the sixth major release of Mac OS X, Apple's desktop and server operating system for Macintosh computers. Leopard was released on 26 October 2007

Starting on which version you guys are using data() function on vector<>s?
Maybe I can try an older version...

Van FiXato

Scribe (1721)

afbeelding van FiXato

30-09-2012, 15:34

If I recall correctly, I had to get Apple's version of clang to get things to work, instead of the latest vanilla clang...

Van hbarcellos

Hero (630)

afbeelding van hbarcellos

30-09-2012, 15:37

Do you have the URL? I can try to see if its compatible with leopard...

Pagina 1/3
| 2 | 3