Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation instructions #20

Open
iegorval opened this issue Oct 7, 2024 · 2 comments
Open

Installation instructions #20

iegorval opened this issue Oct 7, 2024 · 2 comments

Comments

@iegorval
Copy link

iegorval commented Oct 7, 2024

Hello,

I find installation instructions extremely lacking. Line you should be able to compile it right away does not tell me anything about versions of dependencies (Qt, C++ standard, compiler) for which I should compile. "Just compilation" fails for me with multiple errors. It would be very helpful if you could extend this README section.

Thanks!
Valeria

@abner-math
Copy link
Owner

Hi Valeria, it's been a while since I last worked on this project. :)
If I remember correctly, I last used C++11, Qt 4.8 (probably), Linux. Can you show me the exact error message you're seeing while trying to compile it?

@iegorval
Copy link
Author

iegorval commented Oct 7, 2024

Hi Valeria, it's been a while since I last worked on this project. :) If I remember correctly, I last used C++11, Qt 4.8 (probably), Linux. Can you show me the exact error message you're seeing while trying to compile it?

Hey, thanks for answering! :)

Well, I actually had so many, I have not saved them all. Some were already mentioned in #8, I actually got all of them and tried to fix for my configuration.

I also got multiple errors about setting of actions & shortcuts for each QAction of the menu, as apparently it is not supported in the Qt version I randomly picked (5.4). So I had to rewrite all those to the following format to make code compilable:

mImportGeometryMenu = new QAction("Import geometry...", this);
connect(mImportGeometryMenu, &QAction::triggered, this, &MainWindow::importGeometry);
mFileMenu->addAction(mImportGeometryMenu);

Specifically now I am getting

terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc

after selecting .points point cloud. Not sure if sth is wrong with my configuration, code modification, or file itself. Have you seen something like this happening? I am also selecting small downsampled point cloud so that should not be over-allocation of memory or sth like this. Debugger gives me nothing on this one, and I might have to move to starting over with a new Qt version, as now I just really want to see it working :D

Is it supposed to accept files with intensity values or only pure xyz coordinates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants