CMake Errors

All about Windows versions
Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: CMake Errors

Postby Hritika » Sun Jul 16, 2017 12:39 pm

Thank you for your help.It's done.

With Regards
Hritika

Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: CMake Errors

Postby Hritika » Mon Jul 17, 2017 10:58 am

Is it possible to keep the cloudcompare GUI as a backend and understand the functionalities by calling on a new form built on windows c++ form of visual studio?
If yes,Can anyone suggest a way for it, so it doesnot interfere with the CLR environment of visual studio.

daniel
Site Admin
Posts: 3199
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CMake Errors

Postby daniel » Mon Jul 17, 2017 6:26 pm

Not sure what you are trying to do, but I don't think it's possible to replace Qt by Windows forms of MFCs. They are pretty different systems.
Daniel, CloudCompare admin

Hritika
Posts: 23
Joined: Sat Jul 15, 2017 2:59 pm

Re: CMake Errors

Postby Hritika » Tue Jul 18, 2017 5:39 am

Ok Thank you so much.
If we will use Qt creator and import it as an existing project , I am not able to locate .pro file in it.And the tutorial you suggested for building it in Qt creator doesn't seem to work well.As during building it is directing again to cmake.exe and how to generate is not quite clear.Is there any other way to work with it in qt creator then.Please guide me.
Thank you

les245
Posts: 8
Joined: Mon Jun 12, 2017 11:10 am

Re: CMake Errors

Postby les245 » Thu Sep 21, 2017 2:06 pm

les245 wrote:Thank you very much, that solved the problem. But now, as I try to compile the INSTALL project, I get 3 errors...

What I need to do is get a mesh of a point cloud. I got it using the Delaunay feature in CloudCompare and now I have to automate it, so I thought it would be easy to program it in C++ using a library but I'm completely lost and overtaken. I have never done anything similar (I learned to program in C# but never used many libraries). Could you point me in the right direction or tell me if what I'm trying to do is achievable?

I attached a screenshot of the errors. Thank you very much again.


I'm forced to implement it in C++ now and I'm completely lost.. Now when I compile, it shows me 2 errors and creates a Files in CloudCompare_debug (as shown left in the screenshot).
I'm new to C++ since the only thing I ever learned was C#, so I'm sorry if this is some basic stuff..
I think it shouldn't be that complicated: I only need to load a point cloud, use Delaunay and save it as STL
Attachments
screen.jpg
screen.jpg (226.7 KiB) Viewed 39 times

daniel
Site Admin
Posts: 3199
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CMake Errors

Postby daniel » Thu Sep 21, 2017 6:15 pm

Hum, hard to tell with only this view.

Are you only 'compiling' the CloudCompare projet or are you trying to run it here? Looking at the error, I would say that compilation is ok, but it fails to run?

If that's the case, then you must actually compile the 'INSTALL' project and then run the installed version of CloudCompare (see the specific section of the BUILD.md file, about Visual Studio).

Otherwise I'll need more information...
Daniel, CloudCompare admin

les245
Posts: 8
Joined: Mon Jun 12, 2017 11:10 am

Re: CMake Errors

Postby les245 » Fri Sep 22, 2017 8:13 am

daniel wrote:Hum, hard to tell with only this view.

Are you only 'compiling' the CloudCompare projet or are you trying to run it here? Looking at the error, I would say that compilation is ok, but it fails to run?

If that's the case, then you must actually compile the 'INSTALL' project and then run the installed version of CloudCompare (see the specific section of the BUILD.md file, about Visual Studio).

Otherwise I'll need more information...


I think it will be easier to explain what I want to achieve because I'm not sure what I'm doing here..

I'm am doing my bachelor thesis in robot simulation and for that, I need to convert some point clouds into STL. This must be programmed so I cant just do every single one of them manually with CloudCompare. I have done it with the command line but now I need it to happen in C++.

Back to the compiler. I was thinking (and maybe I'm wrong) that following the instructions for the compilation, I would get some project where I could program my converter using the functions available in Cloud Compare. But I find myself completely lost.

What I'm trying to do is to write a code that opens a point cloud, does the Delaunay reconstruction and saves it as a STL-File as ASCII. I have done this manually in Cloud Compare and it works just fine. Now I need a small code that does the work.

Thank you so much for your help


Return to “Windows related topics”

Who is online

Users browsing this forum: No registered users and 1 guest