Code Monkey home page Code Monkey logo

Comments (16)

weymutht avatar weymutht commented on May 29, 2024

Thanks for giving Sparrow a try! It appears that you're using version 4.8.2 of GCC. However, this version is too old; you need a C++ compiler supporting the C++17 standard. I recommend GCC 7.3.0 or higher.

from sparrow.

JohannaXiao avatar JohannaXiao commented on May 29, 2024

Thanks for giving Sparrow a try! It appears that you're using version 4.8.2 of GCC. However, this version is too old; you need a C++ compiler supporting the C++17 standard. I recommend GCC 7.3.0 or higher.

Thanks for replying me so quickly!
I tried to use following version:gcc (conda-forge gcc 13.2.0-2) 13.2.0. But it still didn't work. And may the errors are same
error1.log

from sparrow.

weymutht avatar weymutht commented on May 29, 2024

I still see that files in /usr/include/c++/4.8.2 are included. Could you please post the output of CMake so that we can make sure that a suitable compiler is used?

from sparrow.

JohannaXiao avatar JohannaXiao commented on May 29, 2024

I still see that files in /usr/include/c++/4.8.2 are included. Could you please post the output of CMake so that we can make sure that a suitable compiler is used?

Yes, I see. It seems I didn't really change it.
I attached the Cmakefiles here.(I'm not sure which one you need)
Thanks again!
CMakeFiles.zip

from sparrow.

weymutht avatar weymutht commented on May 29, 2024

Thanks, but what I need is the output of the CMake command which you run on the console. This command looks something like the following cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install ...

from sparrow.

JohannaXiao avatar JohannaXiao commented on May 29, 2024

cmakeOutput.log

Thanks, but what I need is the output of the CMake command which you run on the console. This command looks something like the following cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install ...

Okk,Here!

from sparrow.

weymutht avatar weymutht commented on May 29, 2024

Thanks! However, is this a clean, fresh run, i.e., after you deleted the entire build folder? You should ensure that there are no leftovers from previous runs.

from sparrow.

JohannaXiao avatar JohannaXiao commented on May 29, 2024

Thanks! However, is this a clean, fresh run, i.e., after you deleted the entire build folder? You should ensure that there are no leftovers from previous runs.

I think so. I do make clean before build again.

from sparrow.

weymutht avatar weymutht commented on May 29, 2024

Please remove the entire build folder manually, and then post the output of CMake again.

from sparrow.

JohannaXiao avatar JohannaXiao commented on May 29, 2024

Please remove the entire build folder manually, and then post the output of CMake again.

Thanks very much. I deleted the build folder and cmake again.Here is the cmake output and the make error log.

cmakeOutput1.log
error2.log

from sparrow.

weymutht avatar weymutht commented on May 29, 2024

Thanks a lot! It might be that the new compiler is too new. I tested Sparrow with GCC 7.3.0, GCC 8.3.0, GCC 9.2.0, GCC 10.1.0, clang 8.0.0, and the Intel compiler from oneAPI 2021.4. Maybe you have access to a compiler which is very close to one of these versions?

from sparrow.

JohannaXiao avatar JohannaXiao commented on May 29, 2024

Thanks a lot! It might be that the new compiler is too new. I tested Sparrow with GCC 7.3.0, GCC 8.3.0, GCC 9.2.0, GCC 10.1.0, clang 8.0.0, and the Intel compiler from oneAPI 2021.4. Maybe you have access to a compiler which is very close to one of these versions?

Hi again! I changed the version to 10.4.0. It works well at the beginning. But it still failed. And here is the log file. Thanks again!
output.log

from sparrow.

weymutht avatar weymutht commented on May 29, 2024

I'm not entirely sure why the linker can't find this. However, after googling around a bit, it seems that other people had the same problem when working in a conda environment (see, e.g., google/glog#843). So, the next thing I would try is to compile Sparrow without any conda environment activated.

from sparrow.

JohannaXiao avatar JohannaXiao commented on May 29, 2024

I'm not entirely sure why the linker can't find this. However, after googling around a bit, it seems that other people had the same problem when working in a conda environment (see, e.g., google/glog#843). So, the next thing I would try is to compile Sparrow without any conda environment activated.

Ok, but I have to work in conda environment(no root permission). I tried several times again. It still gave me the same error :(

from sparrow.

weymutht avatar weymutht commented on May 29, 2024

Maybe you could try yet another compiler?

from sparrow.

JohannaXiao avatar JohannaXiao commented on May 29, 2024

Maybe you could try yet another compiler?

It works when the machine is rebooted. I don't know exactly how it works. It just works.
And the version of GCC is 11.4.0. Thanks for your help!

from sparrow.

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.