GithubHelp home page GithubHelp logo

Comments (6)

MartinSalinas98 avatar MartinSalinas98 commented on July 27, 2024

Hey @rsanchezgarc , it might be a std library issue. For me, when I open file xmipp/src/libcifpp/include/cif++/point.hpp in a text editor like VSCode and Ctrl+click on uint32_t in line 734, it takes me to the declaration inside the std library of c++. You might have an older version of that library since your compiler says that there is no declaration of that data type.

If you are on a Debian based distro (like Ubuntu), maybe doing sudo apt install libstdc++-11 could fix your issue.

from xmipp.

oxforddwm avatar oxforddwm commented on July 27, 2024

This appears to be caused by point.hpp and its include set not including the directive:

#include <cstdint>

I found that adding this file to the other includes in point.hpp resolved this problem. This may not be the ideal fix, but works for me.

from xmipp.

MartinSalinas98 avatar MartinSalinas98 commented on July 27, 2024

@oxforddwm you are probably right. That seems to be a fix for it, since the original developer of the library causing this issue, libcifpp, already implemented this fix in his repo. I'm going to (very carefully) update the fork xmipp uses with the latest changes to make sure they don't break any other thing (like gcc 8 and 9 version compatibility, because the original repo uses very new c++ features that only worked with gcc/g++ in version 10+). As soon as that is done, you can try to reinstall xmipp running:

scipion3 run ./xmipp cleanAll
(type "YeS" when prompted)
scipion3 run ./xmipp

from xmipp.

MartinSalinas98 avatar MartinSalinas98 commented on July 27, 2024

It looks like it also adds new dependencies, which is pretty difficult to justify for xmipp, since we try to avoid new depencies if at all costs. So, I'll just copy that change for now.

@rsanchezgarc Try again with the commands I provided in the previous message, it should work now (hopefully).

from xmipp.

rsanchezgarc avatar rsanchezgarc commented on July 27, 2024

Hi Martin,

Changing the header file was enough to compile it. Though I was not able to cully compile xmipp, but I will open another issue.

from xmipp.

MartinSalinas98 avatar MartinSalinas98 commented on July 27, 2024

Okay, so I'm closing this one now

from xmipp.

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.