Lucian Goron wrote:
Back to square one !
I solved all the VTK problems, and now it gives me the same error as in the beginning.

go...@schwarz:~/work/ransac/build$ make
Linking CXX executable coloredElevationMap
CMakeFiles/coloredElevationMap.dir/home/goron/work/common/CommonVTKRoutines.cc.o: In function `Create2xRenderWindowAndInteractorMovie(vtkRenderer*, vtkRenderer*, char const*, char const*, int, int, int)':
CommonVTKRoutines.cc:(.text+0xa720): undefined reference to `vtkFFMPEGWriter::New()'
CMakeFiles/coloredElevationMap.dir/home/goron/work/common/CommonVTKRoutines.cc.o: In function `Create4xRenderWindowAndInteractorMovie(vtkRenderer*, vtkRenderer*, vtkRenderer*, vtkRenderer*, char const*, char const*, int, int, int)':
CommonVTKRoutines.cc:(.text+0xad84): undefined reference to `vtkFFMPEGWriter::New()'
CMakeFiles/coloredElevationMap.dir/home/goron/work/common/CommonVTKRoutines.cc.o: In function `CreateRenderWindowAndInteractorMovie(vtkRenderer*, char const*, char const*, int, int, int)':
CommonVTKRoutines.cc:(.text+0xb6e3): undefined reference to `vtkFFMPEGWriter::New()'
collect2: ld returned 1 exit status
make[2]: *** [coloredElevationMap] Error 1
make[1]: *** [CMakeFiles/coloredElevationMap.dir/all] Error 2
make: *** [all] Error 2
go...@schwarz:~/work/ransac/build$


Yet again the error itself is not important, but the

(.text+0xa720)
(.text+0xad84)
(.text+0xb6e3)

are ! wasn't it supposed to show me the line number where the error occurs in

/home/lucian/work/common/CommonVTKRoutines.cc

how can I see the line numbers ?

This is just a straight linking problem, you are not linking to all the required libraries, or you have a preprocessor directive that is not compiling this code for you to link to.  Either way you need to find "vtkFFMPEGWriter::New()" and decide which of these two issues is applicable to you.  There is no line number to see.  It is talking about a location in an object file, not a text file.


Michael, thank you for your advice. So for I did this

go...@schwarz:~/work/ransac/build$ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: /home/goron/work/ransac/build
go...@schwarz:~/work/ransac/build$

 
but the end result is the same. It still won't show me the line numbers were the error occurs in

/home/lucian/work/common/CommonVTKRoutines.cc

Do you know what else should I try ?
Or anybody, for that matter ?

Cheers,

_______________________________________________ Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to