Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

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.


Messages - FalkoTux

Pages: [1]
1
General / Problems with compiling!
« on: August 01, 2011, 11:02:43 pm »
Nothing? If there's anyone who use MAC OSX and works with this library please, contact me. Thanks!

2
General / Problems with compiling!
« on: July 22, 2011, 12:13:31 am »
I use Mac OSX snow Leopard and it is a 64 bit (intel core 2 Duo).. The project is the sample that I found in the SFML Audio directory. The compiler is the gcc (4 I think). To compile the example I used:

Code: [Select]

g++ -o Prova  provaSuono.cpp -framework sfml-audio -framework sfml-system

All is ok, but when i try to open ./Prova it gives me:


Code: [Select]
Library not loaded: /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
  Referenced from: /Library/Frameworks/sfml-audio.framework/Versions/A/sfml-audio
  Reason: no suitable image found.  Did find:
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
Trace/BPT trap


SFML version is the 1.6!

->The strange thing is that using Xcode it works! But by Terminal, isn't the same thing!

3
General / Problems with compiling!
« on: July 22, 2011, 12:06:10 am »
ok i found the errors...now it compiles but when I try to open the file it give me:
Code: [Select]


dyld: Library not loaded: /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
  Referenced from: /Library/Frameworks/sfml-audio.framework/Versions/A/sfml-audio
  Reason: no suitable image found.  Did find:
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
Trace/BPT trap

4
General / Problems with compiling!
« on: July 21, 2011, 11:33:41 pm »
Hello everybody, i tried to install sfml library and when I compile my program i get these warnings:

Code: [Select]
warning: in /Library/Frameworks//sfml-audio.framework/sfml-audio, missing required architecture x86_64 in file
ld: warning: in /Library/Frameworks//sfml-system.framework/sfml-system, missing required architecture x86_64 in file

and these errors:

Code: [Select]
ndefined symbols:
  "sf::SoundBuffer::SoundBuffer()", referenced from:
      _main in ccX944dt.o
  "sf::Sound::Sound(sf::SoundBuffer const&, bool, float, float, sf::Vector3<float> const&)", referenced from:
      _main in ccX944dt.o
  "sf::Sound::~Sound()", referenced from:
      _main in ccX944dt.o
      _main in ccX944dt.o
  "sf::SoundBuffer::LoadFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      _main in ccX944dt.o
  "sf::Sound::Play()", referenced from:
      _main in ccX944dt.o
  "sf::Sound::GetStatus() const", referenced from:
      _main in ccX944dt.o
  "sf::SoundBuffer::GetSampleRate() const", referenced from:
      _main in ccX944dt.o
  "sf::SoundBuffer::~SoundBuffer()", referenced from:
      _main in ccX944dt.o
      _main in ccX944dt.o
  "sf::SoundBuffer::GetChannelsCount() const", referenced from:
      _main in ccX944dt.o
  "sf::SoundBuffer::GetDuration() const", referenced from:
      _main in ccX944dt.o
  "sf::Sound::GetPlayingOffset() const", referenced from:
      _main in ccX944dt.o
  "sf::Sleep(float)", referenced from:
      _main in ccX944dt.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


(The program is the audio example of the library)

Please Help :)

Pages: [1]
anything