1
General / Mac OS X 10.6 x86_64 build
« on: October 02, 2009, 11:39:29 pm »
Well, maybe I'll get it to work
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
--disable-asm-optimizations : Disables the compilation of the
assembly routines. Many routines have assembly versions for
speed and `configure' is pretty good about knowing what is
supported, but you can use this option to build only from the
C sources. May be necessary for building on OS X (Intel)
sh-3.2# ./sndfile-play queen\ -\ another\ one\ bites\ the\ dust\ \(9\ sec.\).flac
Playing queen - another one bites the dust (9 sec.).flac
sh-3.2# ./sndfile-play Livin\'_On_Borrowed_Time_zero.ogg
Playing Livin'_On_Borrowed_Time_zero.ogg
^C
MBP:temp frozen$ svn checkout svn://connect.creativelabs.com/OpenAL truc
A truc/trunk
MBP:temp frozen$ svn --version
svn, version 1.6.3 (r38063)
compilé Jul 15 2009, 14:24:06
ranlib: archive member: .libs/libFLAC.a(lpc_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
#include <libkern/OSAtomic.h>
and changed: bool compare_and_swap(T *oldvalue, T *newvalue, T **pvalue)
{
return OSAtomicCompareAndSwap64((int64_t) oldvalue, (int64_t) newvalue, (int64_t*) pvalue); // HACK
//return CompareAndSwap64(UInt32(oldvalue), UInt32(newvalue), (UInt32 *)pvalue);
}
./configure && make
sudo glibtool --mode=install libsndfile.la ~
#include "SFML/Graphics.hpp"
int main(int argc, char *argv[])
{
puts("Loading items.jpg");
sf::Image img;
img.LoadFromFile("data/images/items.jpg")? puts("Okay"): puts("Oops");
}
Loading items.jpg
Failed to create image, its internal size is too high (256x128)
Oops