Comments (14)
The function print_graph
is unused, just delete it and try again.
from 3d-registration-with-maximal-cliques.
it has a little progress but it show another error!!
is there any function can instead igraph? it seems not a good one
here's the new error:
(base) kuan@DESKTOP-S32DOQL:/mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/Release$ make
[ 14%] Building CXX object CMakeFiles/MAC.dir/PCR.cpp.o
[ 28%] Building CXX object CMakeFiles/MAC.dir/registration.cpp.o
/mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp: In function ‘bool registration(const string&, std::string, std::string, const string&, const string&, const string&, const string&, const string&, double&, double&, double&, double&, double&, double&, double&, const string&, std::vector&)’:
/mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp:767:67: error: invalid conversion from ‘int’ to ‘igraph_loops_t’ [-fpermissive]
767 | igraph_weighted_adjacency(&g, &g_mat, IGRAPH_ADJ_UNDIRECTED, 0, 1);
| ^
| |
| int
In file included from /usr/local/include/igraph/igraph.h:54,
from /mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/Eva.h:34,
from /mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp:14:
/usr/local/include/igraph/igraph_constructors.h:51:50: note: initializing argument 5 of ‘igraph_error_t igraph_weighted_adjacency(igraph_t*, const igraph_matrix_t*, igraph_adjacency_t, igraph_vector_t*, igraph_loops_t)’
51 | igraph_vector_t weights, igraph_loops_t loops);
| ~~~~~~~~~~~~~~~^~~~~
/mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp:776:30: error: cannot convert ‘igraph_vector_ptr_t’ {aka ‘s_vector_ptr*’} to ‘igraph_vector_int_list_t*’
776 | igraph_maximal_cliques(&g, &cliques, 3, 0); //3dlomatch 4 3dmatch; 3 Kitti 4
| ^~~~~~~~
| |
| igraph_vector_ptr_t* {aka s_vector_ptr*}
In file included from /usr/local/include/igraph/igraph.h:65,
from /mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/Eva.h:34,
from /mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp:14:
/usr/local/include/igraph/igraph_cliques.h:40:53: note: initializing argument 2 of ‘igraph_error_t igraph_maximal_cliques(const igraph_t*, igraph_vector_int_list_t*, igraph_integer_t, igraph_integer_t)’
40 | const igraph_t graph, igraph_vector_int_list_t res,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp: In function ‘bool registration(PointCloudPtr&, PointCloudPtr&, std::vector<Corre_3DMatch>&, std::vector&, std::string, float, float)’:
/mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp:1231:69: error: invalid conversion from ‘int’ to ‘igraph_loops_t’ [-fpermissive]
1231 | igraph_weighted_adjacency(&g, &g_mat, IGRAPH_ADJ_UNDIRECTED, 0, 1);
| ^
| |
| int
In file included from /usr/local/include/igraph/igraph.h:54,
from /mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/Eva.h:34,
from /mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp:14:
/usr/local/include/igraph/igraph_constructors.h:51:50: note: initializing argument 5 of ‘igraph_error_t igraph_weighted_adjacency(igraph_t, const igraph_matrix_t, igraph_adjacency_t, igraph_vector_t*, igraph_loops_t)’
51 | igraph_vector_t weights, igraph_loops_t loops);
| ~~~~~~~~~~~~~~~^~~~~
/mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp:1240:32: error: cannot convert ‘igraph_vector_ptr_t’ {aka ‘s_vector_ptr*’} to ‘igraph_vector_int_list_t*’
1240 | igraph_maximal_cliques(&g, &cliques, 3, 0); //3dlomatch 4 3dmatch; 3 Kitti 4
| ^~~~~~~~
| |
| igraph_vector_ptr_t* {aka s_vector_ptr*}
In file included from /usr/local/include/igraph/igraph.h:65,
from /mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/Eva.h:34,
from /mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/registration.cpp:14:
/usr/local/include/igraph/igraph_cliques.h:40:53: note: initializing argument 2 of ‘igraph_error_t igraph_maximal_cliques(const igraph_t*, igraph_vector_int_list_t*, igraph_integer_t, igraph_integer_t)’
40 | const igraph_t *graph, igraph_vector_int_list_t *res,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
make[2]: *** [CMakeFiles/MAC.dir/build.make:132: CMakeFiles/MAC.dir/registration.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/MAC.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
sincerely waiting your reply,thank you!!
from 3d-registration-with-maximal-cliques.
It seems that igraph is not correctly configured. Please double check the version is 0.9.9 and reinstall.
from 3d-registration-with-maximal-cliques.
yes i install igraph 0.9.9 and these command are used in my installation steps:
$ cd igraph
$ mkdir build
$ cd build
$ cmake ..
$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local
$ cmake --build .
$ cmake --build . --target check
$ cmake --install .
is this correct to install igraph?
thanks a lot for your reply! really helpful!!
from 3d-registration-with-maximal-cliques.
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local is not needed after you run cmake ..
from 3d-registration-with-maximal-cliques.
from 3d-registration-with-maximal-cliques.
That's quite strange.
from 3d-registration-with-maximal-cliques.
Is the PCL version you installed 1.12? Please install 1.10.1
from 3d-registration-with-maximal-cliques.
i'll try it thank you!
from 3d-registration-with-maximal-cliques.
/mnt/d/Desktop/research/3D-Registration-with-Maximal-Cliques/Linux/PCR.cpp:506:25: error: cannot convert ‘igraph_vector_t*’ to ‘igraph_vector_int_t*’
506 | igraph_get_edgelist(g, &el, 0);
If you see this then you are (without any doubt) using igraph 0.10, not 0.9.
I'm wondering why a project shared on github 6 months ago was written for 0.9, given that that 0.10 final was released over a year ago. I recommend updating the project to work with 0.10 (which has many reliability improvements).
from 3d-registration-with-maximal-cliques.
my pcl version is 1.10 and igraph version is 0.9.9
it's really weird !!
from 3d-registration-with-maximal-cliques.
dear all:
i just fix every issue above.
thanks for everything!!
happy moon festival!!
from 3d-registration-with-maximal-cliques.
Could you provide more insights? I've encountered many similar issues. @jeff0908
from 3d-registration-with-maximal-cliques.
Could you provide more insights? I've encountered many similar issues. @jeff0908
Can u provide some error message that i can figure what kind of problem u need to fix @Rusullhu
from 3d-registration-with-maximal-cliques.
Related Issues (20)
- About README
- bad_alloc() HOT 2
- Dataset Query HOT 2
- error report in python version HOT 9
- How to run this code?
- RE < 15 and TE < 30? HOT 1
- About U3M dataset HOT 4
- Out of memory when testing 3DMatch Dataset with FPFH descriptors. HOT 4
- 数据集链接似乎失效了 HOT 2
- 请求提供更多的实验结果
- 请求提供geotransformer处理的3dmatch/3dlomatch数据集处理结果
- Parameter Conversion Errors: when Running C++ Code with igraph, PCL on Windows HOT 1
- 关于版本MSVC =2022 x64
- 您好,关于demo运行时间问题 HOT 1
- python调用c++版本mac出现segmentation falut
- 你好,关于在Linux中编译时igraph中出现了类型错误 HOT 4
- Problems with reproduction of registration results FPFH+MAC from the paper HOT 2
- 作者您好,我在结合FCGF和MAC在3DMatch数据集上测试了一下发现将体素大小设置为0.05的情况,部分最大团数量过多(2000万以上),这情况不知道您是否遇到,然后我将体素大小设为0.08,测试完和性能远不如原论文的性能,作者您当时是怎么解决这个问题的 HOT 7
- Wrong registration results. What can I do? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3d-registration-with-maximal-cliques.