Git Product home page Git Product logo

Comments (9)

temuller avatar temuller commented on August 23, 2024 1

@cschreib I re-installed it from scratch and it is now working. Thanks!

from fastpp.

cschreib avatar cschreib commented on August 23, 2024

Hi Tomás, and thank you for the bug report. I have not been able to reproduce this on a fresh install of Ubuntu 22.04. Would you mind copying the full terminal output you get when running cmake, please? In particular, am I interested in the line that reads

-- The CXX compiler identification is GNU x.y.z

so I can see more precisely which compiler version you are using. If you can also include the output of the command c++ --version, that can help me further.

from fastpp.

temuller avatar temuller commented on August 23, 2024

This is the output of c++ --version:

c++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I already ran cmake (successfully), so I don't get the expected output. However, cmake --version gives:

cmake version 3.22.1

from fastpp.

cschreib avatar cschreib commented on August 23, 2024

Thanks! Regarding cmake, could you try to run it again from the start, in a new build folder, so you can get the full output again?

from fastpp.

temuller avatar temuller commented on August 23, 2024

Ok, I am re-installing it from scratch and I get:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type selected (-DCMAKE_BUILD_TYPE=...)
-- Default to Release.
-- No install directory selected (-DCMAKE_INSTALL_PREFIX=...)
-- Default to /home/tomas/fastpp/bin
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tomas/fastpp/build

from fastpp.

cschreib avatar cschreib commented on August 23, 2024

Thank you. I have been able to reproduce this error in Compiler Explorer, which allows me to try different compilers. Apparently, you are experiencing a compiler bug, which affects GCC 11. You could work around it by using another version; e.g. GCC 10 or GCC 12 for example, but this can be tricky to do. A much easier thing you can try is to apply system upgrades: I see you are running GCC 11.2, but 11.3 should be available in your system's updates. Although Compiler Explorer suggests that GCC 11.3 should also have the problem, when I tested it myself on a Docker container of Ubuntu 22.04, it worked fine.

When I have a moment, I will push a workaround that will allow you to compile with GCC 11.2.

from fastpp.

temuller avatar temuller commented on August 23, 2024

Thanks for you help!

from fastpp.

cschreib avatar cschreib commented on August 23, 2024

If you are able to try the latest commit on the master branch, the problem should be fixed. Please let me know if that worked!

from fastpp.

cschreib avatar cschreib commented on August 23, 2024

Closing as the problem is now resolved. Thank you for reporting it, and good luck with your fits!

from fastpp.

Related Issues (19)

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.