2017-01-30 20:33 GMT-05:00 Alireza Moradzadeh <[email protected]>:
> Dear VOTCA Users,
>
> I get an error in installation of votca, any solution is highly appreicated.
Which version of boost are you using? Which version of VOTCA are you
trying to build?
And did you build from scratch? (Otherwise try a fresh checkout or the
build.sh options "--clean-out" or "--clean-ignored")

Christoph
>
> Thanks,
> Alireza
>
> Scanning dependencies of target votca_property
> [ 97%] Building CXX object
> src/tools/CMakeFiles/votca_property.dir/votca_property.cc.o
> Linking CXX executable votca_property
> CMakeFiles/votca_property.dir/votca_property.cc.o: In function
> `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t,
> std::string const&, std::string const&, int)':
> votca_property.cc:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x21):
> undefined reference to
> `boost::program_options::validation_error::get_template(boost::program_options::validation_error::kind_t)'
> votca_property.cc:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x39):
> undefined reference to
> `boost::program_options::error_with_option_name::error_with_option_name(std::string
> const&, std::string const&, std::string const&, int)'
> CMakeFiles/votca_property.dir/votca_property.cc.o: In function
> `boost::program_options::error_with_option_name::~error_with_option_name()':
> votca_property.cc:(.text._ZN5boost15program_options22error_with_option_nameD2Ev[_ZN5boost15program_options22error_with_option_nameD5Ev]+0x12):
> undefined reference to `vtable for
> boost::program_options::error_with_option_name'
> CMakeFiles/votca_property.dir/votca_property.cc.o: In function
> `boost::program_options::validation_error::~validation_error()':
> votca_property.cc:(.text._ZN5boost15program_options16validation_errorD2Ev[_ZN5boost15program_options16validation_errorD5Ev]+0x12):
> undefined reference to `vtable for
> boost::program_options::error_with_option_name'
> CMakeFiles/votca_property.dir/votca_property.cc.o: In function
> `boost::program_options::invalid_option_value::~invalid_option_value()':
> votca_property.cc:(.text._ZN5boost15program_options20invalid_option_valueD2Ev[_ZN5boost15program_options20invalid_option_valueD5Ev]+0x12):
> undefined reference to `vtable for
> boost::program_options::error_with_option_name'
> CMakeFiles/votca_property.dir/votca_property.cc.o: In function
> `boost::program_options::error_with_option_name::~error_with_option_name()':
> votca_property.cc:(.text._ZN5boost15program_options22error_with_option_nameD0Ev[_ZN5boost15program_options22error_with_option_nameD5Ev]+0x12):
> undefined reference to `vtable for
> boost::program_options::error_with_option_name'
> CMakeFiles/votca_property.dir/votca_property.cc.o: In function
> `boost::program_options::validation_error::~validation_error()':
> votca_property.cc:(.text._ZN5boost15program_options16validation_errorD0Ev[_ZN5boost15program_options16validation_errorD5Ev]+0x12):
> undefined reference to `vtable for
> boost::program_options::error_with_option_name'
> CMakeFiles/votca_property.dir/votca_property.cc.o:votca_property.cc:(.text._ZN5boost15program_options20invalid_option_valueD0Ev[_ZN5boost15program_options20invalid_option_valueD5Ev]+0x12):
> more undefined references to `vtable for
> boost::program_options::error_with_option_name' follow
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x20):
> undefined reference to
> `boost::program_options::error_with_option_name::what() const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x30):
> undefined reference to
> `boost::program_options::error_with_option_name::substitute_placeholders(std::string
> const&) const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x28):
> undefined reference to
> `boost::program_options::error_with_option_name::what() const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x38):
> undefined reference to
> `boost::program_options::error_with_option_name::substitute_placeholders(std::string
> const&) const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE]+0x20):
> undefined reference to
> `boost::program_options::error_with_option_name::what() const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE]+0x30):
> undefined reference to
> `boost::program_options::error_with_option_name::substitute_placeholders(std::string
> const&) const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE]+0x28):
> undefined reference to
> `boost::program_options::error_with_option_name::what() const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE]+0x38):
> undefined reference to
> `boost::program_options::error_with_option_name::substitute_placeholders(std::string
> const&) const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTIN5boost15program_options16validation_errorE[_ZTIN5boost15program_options16validation_errorE]+0x10):
> undefined reference to `typeinfo for
> boost::program_options::error_with_option_name'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x20):
> undefined reference to
> `boost::program_options::error_with_option_name::what() const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x30):
> undefined reference to
> `boost::program_options::error_with_option_name::substitute_placeholders(std::string
> const&) const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x20):
> undefined reference to
> `boost::program_options::error_with_option_name::what() const'
> CMakeFiles/votca_property.dir/votca_property.cc.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x30):
> undefined reference to
> `boost::program_options::error_with_option_name::substitute_placeholders(std::string
> const&) const'
> ../libtools/libvotca_tools.so.5: undefined reference to
> `boost::program_options::options_description::options_description(std::string
> const&, unsigned int, unsigned int)'
> ../libtools/libvotca_tools.so.5: undefined reference to
> `boost::system::system_category()'
> ../libtools/libvotca_tools.so.5: undefined reference to
> `boost::program_options::detail::cmdline::get_canonical_option_prefix()'
> ../libtools/libvotca_tools.so.5: undefined reference to
> `boost::system::generic_category()'
> ../libtools/libvotca_tools.so.5: undefined reference to
> `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
> ../libtools/libvotca_tools.so.5: undefined reference to
> `boost::program_options::options_description::options_description(unsigned
> int, unsigned int)'
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/tools/votca_property] Error 1
> make[1]: *** [src/tools/CMakeFiles/votca_property.dir/all] Error 2
>
> --
> You received this message because you are subscribed to the Google Groups
> "votca" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/votca.
> For more options, visit https://groups.google.com/d/optout.



-- 
Christoph Junghans
Web: http://www.compphys.de

-- 
You received this message because you are subscribed to the Google Groups 
"votca" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/votca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to