Hi
I complie with cc2.8(win7 64 , vs2013, cmake3.6), I complie like the introduce file, but when I bulid the CC, the DLL and EXE file not in the folder which I set, why ? please help me. I need copy the DLL and EXE to same folder.
complie with CC2.8
Re: complie with CC2.8
You have to compile the 'INSTALL' project. This is the project that copies everything.
And be sure to set the CMAKE_INSTALL_PREFIX variable in Cmake.
And be sure to set the CMAKE_INSTALL_PREFIX variable in Cmake.
Daniel, CloudCompare admin
Re: complie with CC2.8
I have complied the "install", but the file not build in my set folder, and I find the "copy local" property of install is false, and I can't change it to true, why?
Re: complie with CC2.8
Make sure to set a path with access rights in CMake (i e. Not in 'Program Files' on Windows). You don't have to modify the install project in Visual.
Daniel, CloudCompare admin
Re: complie with CC2.8
Hi
Thanks for your help, I will copy it to my folder every time, but I have another problem, The chinese font can't be show in the software
Thanks for your help, I will copy it to my folder every time, but I have another problem, The chinese font can't be show in the software
Re: complie with CC2.8
No you should really make the Cmake 'install' mechanism work. Especially since some DLLs are optional (CC will start without them) but they may be missing when performing some tasks (maybe the Chinese font issue is related to this?). Normally CC / qt has no such issue.
Daniel, CloudCompare admin
Re: complie with CC2.8
Hi
The Chinese font can show in the menu , but when I use messagebox the Chinese font can't show, and now I want get the intersect line of model and plan, could you give some suggestions? Thank you
The Chinese font can show in the menu , but when I use messagebox the Chinese font can't show, and now I want get the intersect line of model and plan, could you give some suggestions? Thank you
Re: complie with CC2.8
Which message box? If it's a message box you added with your own code, be sure to use only QString objects (and not std::string or const char*).
And to intersect a model (mesh?) and a plane, you'll need to compute the intersection yourself (maybe the 'Crop' method could help you - it's easier to rotate the mesh vertices first so that the plane is horizontal - i.e. with equation 'z = constant').
And to intersect a model (mesh?) and a plane, you'll need to compute the intersection yourself (maybe the 'Crop' method could help you - it's easier to rotate the mesh vertices first so that the plane is horizontal - i.e. with equation 'z = constant').
Daniel, CloudCompare admin
Re: complie with CC2.8
When I complied the V2.8 this vs2013 , the error appear, how to solve it ?
1>Delaunay2dMesh.obj : error LNK2019: unable to resolve external symbol __imp___gmpq_clear,the symbol in the function "public: __cdecl CGAL::Gmpq_rep::~Gmpq_rep(void)" (??1Gmpq_rep@CGAL@@QEAA@XZ) referenced in
1>Delaunay2dMesh.obj : error LNK2019: unable to resolve external symbol __imp___gmpq_cmp,the symbol in the function "public: bool __cdecl CGAL::Gmpq::operator<(class CGAL::Gmpq const &)const " (??MGmpq@CGAL@@QEBA_NAEBV01@@Z) referenced in
1>Delaunay2dMesh.obj : error LNK2019: unable to resolve external symbol __imp___gmpq_init,the symbol in the function "public: __cdecl CGAL::Gmpq_rep::Gmpq_rep(void)" (??0Gmpq_rep@CGAL@@QEAA@XZ) referenced in
1>Delaunay2dMesh.obj : error LNK2019: unable to resolve external symbol __imp___gmpq_set_d,the symbol in the function "public: __cdecl CGAL::Gmpq::Gmpq(double)" (??0Gmpq@CGAL@@QEAA@N@Z) referenced in
1>E:\OpenSource\bulid\CC\Debug\CC_CORE_LIBd.dll : fatal error LNK1120: 4 external commands that cannot be resolved
1>Delaunay2dMesh.obj : error LNK2019: unable to resolve external symbol __imp___gmpq_clear,the symbol in the function "public: __cdecl CGAL::Gmpq_rep::~Gmpq_rep(void)" (??1Gmpq_rep@CGAL@@QEAA@XZ) referenced in
1>Delaunay2dMesh.obj : error LNK2019: unable to resolve external symbol __imp___gmpq_cmp,the symbol in the function "public: bool __cdecl CGAL::Gmpq::operator<(class CGAL::Gmpq const &)const " (??MGmpq@CGAL@@QEBA_NAEBV01@@Z) referenced in
1>Delaunay2dMesh.obj : error LNK2019: unable to resolve external symbol __imp___gmpq_init,the symbol in the function "public: __cdecl CGAL::Gmpq_rep::Gmpq_rep(void)" (??0Gmpq_rep@CGAL@@QEAA@XZ) referenced in
1>Delaunay2dMesh.obj : error LNK2019: unable to resolve external symbol __imp___gmpq_set_d,the symbol in the function "public: __cdecl CGAL::Gmpq::Gmpq(double)" (??0Gmpq@CGAL@@QEAA@N@Z) referenced in
1>E:\OpenSource\bulid\CC\Debug\CC_CORE_LIBd.dll : fatal error LNK1120: 4 external commands that cannot be resolved
Re: complie with CC2.8
Have you correctly defined the path to CGAL? And to the right version of CGAL? (i.e. with the same compiler and configuration)
Daniel, CloudCompare admin