-
Notifications
You must be signed in to change notification settings - Fork 148
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
undefined reference to `vtkRenderingOpenGL2_AutoInit_Destruct()' #18
Comments
Any luck ? I'm facing the same issue |
yeah me too.. same issue.. but @MohamadHalwani i saw ur post on stackoverflow about the same and there u mentioned like u installed some VTK library and it solved the issue.. could u plz tell us the exact library(s) u installed and the linux distro that u use?.. i am using openSUSE and i think i can find the equivalent library for this and solve the issue.. by the way, u compiled paraview completly and make it work? |
but in my case, i am not getting single line of "undefined reference" thing, but a bunch of 100 lines.. |
here is the log file of compilation on my machine please let me know if u find something.. if i compiled paraview with python support successfully means, i will settle on this distribution itself.. because of this one thing, i am distro hopping |
Hello everyone,
|
I solved it by following your comments. Thank you! |
Thanks for saving my time, and in my case, I need to add another command in the file:
|
Dear sikang
CMakeFiles/mesh_sampling.dir/src/mapping_utils/mesh_sampling.cpp.o: In function
vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit()': mesh_sampling.cpp:(.text._ZN25vtkRenderingCore_AutoInitD2Ev[_ZN25vtkRenderingCore_AutoInitD5Ev]+0x13): undefined reference to
vtkRenderingOpenGL2_AutoInit_Destruct()'CMakeFiles/mesh_sampling.dir/src/mapping_utils/mesh_sampling.cpp.o: In function
_GLOBAL__sub_I__Z16uniform_sampling15vtkSmartPointerI11vtkPolyDataEmRN3pcl10PointCloudINS2_8PointXYZEEE': mesh_sampling.cpp:(.text.startup+0x10c4): undefined reference to
vtkRenderingOpenGL2_AutoInit_Construct()'collect2: error: ld returned 1 exit status
CMakeFiles/mesh_sampling.dir/build.make:334: recipe for target '/home/zlt/z0323test/devel_isolated/planning_ros_utils/lib/planning_ros_utils/mesh_sampling' failed
make[2]: *** [/home/zlt/z0323test/devel_isolated/planning_ros_utils/lib/planning_ros_utils/mesh_sampling] Error 1
CMakeFiles/Makefile2:685: recipe for target 'CMakeFiles/mesh_sampling.dir/all' failed
make[1]: *** [CMakeFiles/mesh_sampling.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
what should i do to make it work ?
The text was updated successfully, but these errors were encountered: