Giter Club home page Giter Club logo

Comments (12)

S74nk0 avatar S74nk0 commented on July 20, 2024

Hi @nickman602. What qmake and gcc versions are installed on the system? Also what CPU(s) are running?

from nheqminer.

nickman602 avatar nickman602 commented on July 20, 2024

Hi @S74nk0 . Thanks for helping me. Below are the two outputs when I check for versions.

gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

from nheqminer.

S74nk0 avatar S74nk0 commented on July 20, 2024

Hi @nickman602. I will test this on Ubuntu 14.04.3 and report back what could be the problem. We will most likely be making updates to the build system for Linux to make this process more streamlined.

from nheqminer.

S74nk0 avatar S74nk0 commented on July 20, 2024

Also what is the CPU on the system?

from nheqminer.

nickman602 avatar nickman602 commented on July 20, 2024

Thanks, and sorry for the trouble.

It's an Intel Xeon X7560. Too old?

from nheqminer.

pattkung avatar pattkung commented on July 20, 2024

same error on ubuntu 16.04 too. I try to run on vps

from nheqminer.

grubles avatar grubles commented on July 20, 2024

Same error. 14.04

/builds/nheqminer/nheqminer/libs/linux_ubuntu/libboost_thread.a(thread.o): In function `void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_initialize_dispatch<boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, boost::iterators::use_default, boost::iterators::use_default> >(boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, boost::iterators::use_default, boost::iterators::use_default>, boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, boost::iterators::use_default, boost::iterators::use_default>, std::__false_type)':
thread.cpp:(.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE22_M_initialize_dispatchIN5boost9iterators18transform_iteratorINS9_9algorithm6detail20copy_iterator_rangeFIS5_N9__gnu_cxx17__normal_iteratorIPcS5_EEEENSC_14split_iteratorISI_EENSA_11use_defaultESM_EEEEvT_SO_St12__false_type[_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE22_M_initialize_dispatchIN5boost9iterators18transform_iteratorINS9_9algorithm6detail20copy_iterator_rangeFIS5_N9__gnu_cxx17__normal_iteratorIPcS5_EEEENSC_14split_iteratorISI_EENSA_11use_defaultESM_EEEEvT_SO_St12__false_type]+0x238): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
collect2: error: ld returned 1 exit status
make: *** [nheqminer] Error 1

$ gcc --version
gcc (Ubuntu 4.9.4-2ubuntu1~14.04.1) 4.9.4
$ qmake --version
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

from nheqminer.

asluchevskiy avatar asluchevskiy commented on July 20, 2024

Hi, confirming the same error on 14.04 as above.

from nheqminer.

nickman602 avatar nickman602 commented on July 20, 2024

Tried on a fresh install of Debian 8.

Got a different error:

collect2: error: ld returned 1 exit status
Makefile:177: recipe for target 'nheqminer' failed
make: *** [nheqminer] Error 1

gcc (Debian 4.9.2-10) 4.9.2

QMake version 3.0
Using Qt version 5.3.2 in /usr/lib/x86_64-linux-gnu

from nheqminer.

Ales999 avatar Ales999 commented on July 20, 2024

Success make and Work:
~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"

from nheqminer.

JanKalin avatar JanKalin commented on July 20, 2024

Solved on Debian GNU/Linux 7.11 (wheezy) with gcc (Debian 4.7.2-5) 4.7.2. There's a library missing from the linker line.

Do

  • echo "LIBS += -lrt" >> ../nheqminer/nheqminer.pro

before running

  • qmake ../nheqminer/nheqminer.pro

which will add the missing library.

from nheqminer.

S74nk0 avatar S74nk0 commented on July 20, 2024

Hi all! We have added a new way to build binaries on Linux with CMake (recommended). This has been tested on Ubuntu 14.04 and 16.04 Desktop and Ubuntu 14.04 Server.

Follow these instructions. We will update how to build for for other distros as well.

from nheqminer.

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.