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

Author Topic: vorbisenc OS X issue  (Read 3057 times)

0 Members and 1 Guest are viewing this topic.

ctornieri

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
vorbisenc OS X issue
« 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
« Last Edit: February 22, 2016, 11:02:45 pm by eXpl0it3r »

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: vorbisenc OS X issue
« Reply #1 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.
SFML / OS X developer

ctornieri

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: vorbisenc OS X issue
« Reply #2 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

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: vorbisenc OS X issue
« Reply #3 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.
SFML / OS X developer

ctornieri

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: vorbisenc OS X issue
« Reply #4 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

Moffiended

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: vorbisenc OS X issue
« Reply #5 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! :)