GithubHelp home page GithubHelp logo

libpng15.15.dylib not loaded about wav2png HOT 6 CLOSED

beschulz avatar beschulz commented on September 14, 2024
libpng15.15.dylib not loaded

from wav2png.

Comments (6)

beschulz avatar beschulz commented on September 14, 2024

I'd suggest to use the XCode project to build ob Mac OS. I must admit, that I am not sure, if clang and libpng-config are installed per default on Mac OS. Do you have installed xcode?

Hope this helps
-- Benjamin

from wav2png.

beschulz avatar beschulz commented on September 14, 2024

Starting with Xcode 4.3, Apple does not install command line tools by default anymore, so after Xcode installation, go to Preferences > Downloads > Components > Command Line Tools and click Install. You can also directly download Command Line Tools for Xcode without getting Xcode (https://developer.apple.com/downloads).

I think, that you should be able to compile wav2png via make, after installing the Xcode command line tools.

Cheers
-- Benjamin

from wav2png.

rchrd2 avatar rchrd2 commented on September 14, 2024

Hi Benjamin,

Thanks for the replies. I actually only have Xcode 3.2.4, so I think the command line tools area already installed. My problem may be that i don't have libpng-config or clang installed. I found this tutorial on installing libpng http://kenno.wordpress.com/2006/04/20/compiling-libpng-for-mac-os-x/. I installed it, as well as its dependency zlib.

I downloaded the binary of clang++.

This fixed the dependency issues. However, now when I try to compile I get this error:

make
mkdir -p dirname ./bin/Darwin/wav2png
/path/to//lib/clang++/clang+llvm-3.1-x86_64-apple-darwin11/bin/clang++ -O3 -Wall -Werror -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/include/ -I./dependencies/include libpng-config --ldflags -lsndfile -lboost_program_options-mt ./src/*.cpp -o ./bin/Darwin/wav2png
./src/main.cpp:1:10: fatal error: 'sndfile.hh' file not found
#include <sndfile.hh>

Thoughts? Thank you,

R

from wav2png.

beschulz avatar beschulz commented on September 14, 2024

Yes, this one is easy. libsndfile is a dependency. The easiest way to install it on Mac OS X is via homebrew:

1.) Install Homebrew (If you havent allready)
https://github.com/mxcl/homebrew/wiki/installation
2.) install libsndfile:
brew install libsndfile

Thanks for pointing out the issues, I'll update the build instructions.

Cheers
-- Benjamin

from wav2png.

beschulz avatar beschulz commented on September 14, 2024

I've updated the build instructions for Mac OS X. I know, that it is a little bit more complicated than on linux, because installing the dependencies is a little harder.

I've forgot to mention earlier, that you also have to install png++ and put it into dependencies/include.

Cheers
-- Benjamin

from wav2png.

rchrd2 avatar rchrd2 commented on September 14, 2024

Thanks. I also had to install the boost c++ libraries.

And then, I was having issues with the version.hpp file. So i created it manually in a text editor. You may need to review the Makefile, because the creation of the version.hpp file did not work for me (or remove that process altogether). I also had to compile libpng15 on my computer because i had libpng12. I also installed sox with homebrew for mp3 conversion.

Once that was all setup, I finally was able to compile it! It's bloody fast.

Thanks for your help.

from wav2png.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.