SFML community forums

Help => Audio => Topic started by: ctornieri on February 22, 2016, 09:52:01 pm

Title: vorbisenc OS X issue
Post by: ctornieri on February 22, 2016, 09:52:01 pm
Hi,

I've compiled  SFML 2.3.2 on OSX and try to use it on my project. Everything compiles fine but when I try to start my application I have the following message:

dyld: Library not loaded: @rpath/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc
  Referenced from: libsfml-audio.2.3.dylib
  Reason: image not found
Trace/BPT trap: 5

I do not know what is wrong ...

Thanks for your help.

Christophe
Title: Re: vorbisenc OS X issue
Post by: Hiura on February 23, 2016, 11:03:56 am
Please describe exactly what you've done; mainly how you installed SFML and how you build your project but feel free to add any other relevant information.
Title: Re: vorbisenc OS X issue
Post by: ctornieri on February 23, 2016, 04:41:22 pm
I've compiled the SFML library from the sources.

I've executed the following actions:

cmake
ccmake

- Turn on shared library build and set build type to release

make

I then use the library into my own code. Compilation went fine.

At execution time, I have the message described above. I have checked that libvorbis is installed.

Christophe
Title: Re: vorbisenc OS X issue
Post by: Hiura on February 23, 2016, 06:23:20 pm
You actually didn't install SFML. Have a look at the cmake tutorial and optionally the OS X one too.
Title: Re: vorbisenc OS X issue
Post by: ctornieri on February 23, 2016, 09:20:41 pm
OK thanks. I did install it but something went wrong.

I made a clean install. Everything seems to work now.

Thanks for your support.

Christophe
Title: Re: vorbisenc OS X issue
Post by: Moffiended on August 29, 2016, 07:21:13 am
Hi,

I've compiled  SFML 2.3.2 on OSX and try to use it on my project. Everything compiles fine but when I try to start my application I have the following message:

dyld: Library not loaded: @rpath/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc
  Referenced from: libsfml-audio.2.3.dylib
  Reason: image not found
Trace/BPT trap: 5

I do not know what is wrong ...

Thanks for your help.

Christophe


all you need to do is clean up and install it again. that might help you to figure it out. then if there's some errors. you can pm me. I might help you out! :)