GithubHelp home page GithubHelp logo

Comments (15)

beschulz avatar beschulz commented on August 10, 2024

Hello,

I will add the LICENSE file. I also might add an INSTALL file, that contains a link to the README.md on github. It appears to me, that you are quite expericenced with CentOS. Can you tell me, the CentOS-aquivalent of libboost-program-options-dev (debian) is?

Sincerely
-- Benjamin

from wav2png.

herrold avatar herrold commented on August 10, 2024

THank you for the fast reply

The CentOS (and Fedora and RHEL) equivalent is: boost-devel

Best regards,

-- Russ herrold
herrold at centos dot org

from wav2png.

herrold avatar herrold commented on August 10, 2024

The CentOS-aquivalent of libboost-program-options-dev (debian) is:
boost-program-options
which may be installed:
sudo yum install boost-program-options

from wav2png.

tomtom87 avatar tomtom87 commented on August 10, 2024

Thanks for the help guys

Package boost-program-options-1.41.0-11.el6_1.2.x86_64 already installed and latest version

Already got it installed

What can I do now?

On 28 Aug 2555 BE, at 23:35, Russ Herrold wrote:

sudo yum install boost-program-options

from wav2png.

herrold avatar herrold commented on August 10, 2024

In continuing the process, I installed "libsndfile-devel"
sudo yum install libsndfile-devel

but the build fails needing a header: png.hpp

which looks like a non-added directory ?

[herrold@centos-6 src]$ gcc main.cpp
main.cpp:2:25: error: png++/png.hpp: No such file or directory
In file included from main.cpp:8:
options.hpp:164: error: ‘png’ has not been declared
[herrold@centos-6 build]$ yum provides */png++/png.hpp

from wav2png.

herrold avatar herrold commented on August 10, 2024

and that last command, which should find the header, returns nil ...

from wav2png.

herrold avatar herrold commented on August 10, 2024

I see one which may or may not be relevant in:
libclaw-devel-1.5.4-3.el6.x86_64 : Development files for Claw library
Repo : epel
Matched from:
Filename : /usr/include/claw/png.hpp

Name : libclaw
Arch : x86_64
Version : 1.5.4
Release : 3.el6
Size : 115 k
Repo : epel
Summary : C++ Library of various utility functions
URL : http://libclaw.sourceforge.net/
License : LGPLv2
Description : Claw (C++ Library Absolutely Wonderful) is a C++ library
: of various utility functions. In doesn't have a particular
: objective but being useful to anyone.

from wav2png.

beschulz avatar beschulz commented on August 10, 2024

As mentioned in the build instructions (which have to be updated):

https://github.com/beschulz/wav2png/#on-centos

Sincerely
-- Benjamin

2012/8/29 Russ Herrold [email protected]

I see one which may or may not be relevant in:
libclaw-devel-1.5.4-3.el6.x86_64 : Development files for Claw library
Repo : epel
Matched from:
Filename : /usr/include/claw/png.hpp

Name : libclaw
Arch : x86_64
Version : 1.5.4
Release : 3.el6
Size : 115 k
Repo : epel
Summary : C++ Library of various utility functions
URL : http://libclaw.sourceforge.net/
License : LGPLv2
Description : Claw (C++ Library Absolutely Wonderful) is a C++ library
: of various utility functions. In doesn't have a particular
: objective but being useful to anyone.


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-8128666.

from wav2png.

herrold avatar herrold commented on August 10, 2024

packaging png++ for centos as it seems not to be otherwise packaged

from wav2png.

tomtom87 avatar tomtom87 commented on August 10, 2024

Still the same problems as at the start. I have all of those packages installed

make
mkdir -p dirname ../bin/Linux/wav2png
echo -I../dependencies/include
-I../dependencies/include
g++ -O3 -Wall ../src/_.cpp -I../dependencies/include libpng-config --ldflags -lsndfile -lboost_program_options -o ../bin/Linux/wav2png
/tmp/ccOasoNc.o: In function std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& boost::program_options::validators::get_single_string<char>(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool)': main.cpp:(.text._ZN5boost15program_options10validators17get_single_stringIcEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEb[std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& boost::program_options::validators::get_single_string<char>(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool)]+0x8f): undefined reference toboost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits, std::allocator > const&, std::basic_string<char, std::char_traits, std::allocator > const&)'
main.cpp:(.text.ZN5boost15program_options10validators17get_single_stringIcEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEb[std::basic_string<char, std::char_traits, std::allocator > const& boost::program_options::validators::get_single_string(std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, bool)]+0x163): undefined reference to boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /tmp/ccOasoNc.o: In functionOptions::Options(int, char_)':
main.cpp:(.text._ZN7OptionsC2EiPPc[_ZN7OptionsC5EiPPc]+0x96): undefined reference to boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)' main.cpp:(.text._ZN7OptionsC2EiPPc[_ZN7OptionsC5EiPPc]+0x19a): undefined reference toboost::program_options::options_description::options_description(std::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, unsigned int)'
main.cpp:(.text._ZN7OptionsC2EiPPc[_ZN7OptionsC5EiPPc]+0xc53): undefined reference to boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)' main.cpp:(.text._ZN7OptionsC2EiPPc[_ZN7OptionsC5EiPPc]+0xd2b): undefined reference toboost::program_options::options_description::options_description(unsigned int, unsigned int)'
main.cpp:(.text._ZN7OptionsC2EiPPc[ZN7OptionsC5EiPPc]+0xd77): undefined reference to boost::program_options::options_description::options_description(unsigned int, unsigned int)' main.cpp:(.text._ZN7OptionsC2EiPPc[_ZN7OptionsC5EiPPc]+0xdd3): undefined reference toboost::program_options::options_description::options_description(std::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, unsigned int)'
collect2: ld returned 1 exit status
make: *
* [../bin/Linux/wav2png] Error 1

from wav2png.

herrold avatar herrold commented on August 10, 2024

I have a SRPM packaging for:
png++
at:
ftp://ftp.owlriver.com/pub/local/ORC/pngpp/
along with a .wav file and an image made using wav2png

I built the wav2png binary manually under CentOS 6, x86_64 from a git pull

I will work on packaging wav2png next week

from wav2png.

beschulz avatar beschulz commented on August 10, 2024

This is great!

Me an tomtom87 where able to sort out the build issues he had. It was
because there where multiple boost versions installed on is system and the
build was using headers from boost 1.42 but libraries from 1.41.

Do you have any recommendations on how to better describe the build process
on CentOS?

I'll add INSTALL and LICENSE during the weekend.

Sincerely
-- Benjamin

2012/9/1 Russ Herrold [email protected]

I have a SRPM packaging for:
png++
at:
ftp://ftp.owlriver.com/pub/local/ORC/pngpp/
along with a .wav file and an image made using wav2png

I built the wav2png binary manually under CentOS 6, x86_64 from a git pull

I will work on packaging wav2png next week


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-8206134.

from wav2png.

herrold avatar herrold commented on August 10, 2024

Sorry to lag -- a personal matter came up ... next week, I hope

from wav2png.

herrold avatar herrold commented on August 10, 2024

checking, the GIT does not seem to have the LICENSE file yet, if you could commit one as noted

As to build issues, I will end up with a script to CO the GIT, and build a tarball, and make the .spec file, and then rebuild all to yield a new SRPM (source RPM) and binary output, for those using the RPM based approach. I'll put all out at my FTP site for SRPMs, and send along a patch and generator script that does that for the GIT here

-- Russ herrold

from wav2png.

beschulz avatar beschulz commented on August 10, 2024

Yes, unfortunately, I did not find the time yet to add a LICENSE file.
We're currently very bussy with a beta-milestone... Hopefully on the
weekend!

Sincerely
-- Benjamin

2012/9/7 Russ Herrold [email protected]

checking, the GIT does not seem to have the LICENSE file yet, if you could
commit one as noted

As to build issues, I will end up with a script to CO the GIT, and build a
tarball, and make the .spec file, and then rebuild all to yield a new SRPM
(source RPM) and binary output, for those using the RPM based approach.
I'll put all out at my FTP site for SRPMs, and send along a patch and
generator script that does that for the GIT here

-- Russ herrold


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-8376058.

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.