Giter Club home page Giter Club logo

Comments (4)

qmarcou avatar qmarcou commented on August 29, 2024

Hi @sravani9408 ,
Could you give me a bit more information? e.g the command line you have used and the complete error log ? Which compiler are you using on which operating system?
Otherwise without more information, I don't see any reason for such error, I can only advise you to first use make clean and then make again, before make install
Best regards,

from igor.

sravani9408 avatar sravani9408 commented on August 29, 2024

Hello qmarcou,
Could you please help me fix this error. Attached is the error log.

error.log

Coverageerrcounter.cpp:141:19: note: in instantiation of member function
'std::__1::unordered_map<std::__1::basic_string, Event_realization,
std::__1::hash<std::__1::basic_string >,
std::__1::equal_to<std::__1::basic_string >,
std::__1::allocator<std::__1::pair<const std::__1::basic_string,
Event_realization> > >::operator=' requested here
v_realizations = v_gene_event_p->get_realizations_map();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/utility:325:5: note:
copy assignment operator is implicitly deleted because
'pair<std::__1::basic_string, Event_realization>' has a
user-declared move constructor
pair(pair&&) = default;
^
1 error generated.
make[2]: *** [igor-Coverageerrcounter.o] Error 1
mv -f .deps/igor-Errorscounter.Tpo .deps/igor-Errorscounter.Po
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

from igor.

qmarcou avatar qmarcou commented on August 29, 2024

Hello @sravani9408 ,
I suspect you may have missed some of the installation guidelines. Although you have edited your message I think I remember you're using MacOS and have installed gcc via brew and used ./configure without further option. Please have a look at the installation manual stating:

MacOS is shipped with another compiler (Clang) when installing Xcode that is called upon calling gcc (through name aliasing) and is not supporting OpenMP. In order to use gcc and compile with it an OpenMP application you will first need to download Macports or Homebrew and install gcc from there.

and

Note: if you decide to use Homebrew you should apparently refrain yourself from assigning the newly installed gcc to the gcc command(see this page for more details). You will thus have to pass the correct compiler instructions to the configure script with the CC and CXX flags.

and

Many options can be appended to ./configure such as ./configure CC=gcc CXX=g+ + to enforce the use of gcc as compiler. The full set of the configure script options can be found here.

Please remember that once you have installed GCC via Homebrew you will have to pass the correct compiler's name and version to the configure script in order to use it. Given the fact that in your error log make is calling g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I.. -I./../libs/jemalloc/include/jemalloc -I./../libs/gsl_sub -DIGOR_DATA_DIR=\"/usr/local/share/igor\" -g -O2 -MT igor-Coverageerrcounter.o -MD -MP -MF .deps/igor-Coverageerrcounter.Tpo -c -o igor-Coverageerrcounter.o test -f 'Coverageerrcounter.cpp' || echo './'Coverageerrcounter.cpp I suspect by using g++ you are still using the Clang compiler instead of gcc.

Note: also please remember that for now too recent versions of GCC (>8.x.x) are not supported due to some unknown errors at compile time.

from igor.

sravani9408 avatar sravani9408 commented on August 29, 2024

Hello @qmarcou

Thank you so much. I used Macports(gcc 6) and append options to configure instead of homebrew and it worked.

Thanks again,
Sravani

from igor.

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.