Skip to content
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

build fails under linux when compiling Code/VisSupport/VTK/btkVTKSegmentsFramesSource.cpp #15

Closed
GoogleCodeExporter opened this issue May 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. check out revision 680
2. create a makefile with CMake
3. run make

What is the expected output? What do you see instead?
Expected output: complete build
Actual output: 

[ 31%] Building CXX object 
Code/VisSupport/VTK/CMakeFiles/BTKVTK.dir/btkVTKSegmentsFramesSource.cpp.o
In file included from 
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.cpp:36:0:
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:60:48: 
error: ‘vector’ in namespace ‘std’ does not name a type
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:60:53: 
error: ISO C++ forbids declaration of ‘parameter’ with no type
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:60:59: 
error: expected ‘,’ or ‘...’ before ‘<’ token
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:61:59: 
error: ‘vector’ in namespace ‘std’ does not name a type
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:61:64: 
error: ISO C++ forbids declaration of ‘parameter’ with no type
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:61:70: 
error: expected ‘,’ or ‘...’ before ‘<’ token
In file included from 
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.cpp:36:0:
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:94:51: 
error: ‘std::vector’ has not been declared
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:94:57: 
error: expected ‘,’ or ‘...’ before ‘<’ token
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:98:31: 
error: ‘vector’ in namespace ‘std’ does not name a type
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:98:36: 
error: ISO C++ forbids declaration of ‘parameter’ with no type
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:98:42: 
error: expected ‘,’ or ‘...’ before ‘<’ token
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:99:7: 
error: ‘vector’ in namespace ‘std’ does not name a type
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:100:7: 
error: ‘vector’ in namespace ‘std’ does not name a type
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h: In 
constructor 
‘btk::VTKSegmentsFramesSource::SegmentDefinition::SegmentDefinition(int)’:
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:98:82: 
error: class ‘btk::VTKSegmentsFramesSource::SegmentDefinition’ does not 
have any field named ‘markerIds’
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:98:92: 
error: ‘m’ was not declared in this scope
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:98:96: 
error: class ‘btk::VTKSegmentsFramesSource::SegmentDefinition’ does not 
have any field named ‘links’
<path_to_b-tk>/b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h:98:102: 
error: ‘l’ was not declared in this scope
...

What version of the product are you using? On what operating system?
current revision (680)

Please provide any additional information below.
A simple

#include <vector>

to b-tk/Code/VisSupport/VTK/btkVTKSegmentsFramesSource.h fixes the problem.

Original issue reported on code.google.com by martin.f...@gmail.com on 9 Jul 2011 at 9:06

@GoogleCodeExporter
Copy link
Contributor Author

Original comment by arnaud.barre on 11 Jul 2011 at 9:29

  • Changed state: Started

@GoogleCodeExporter
Copy link
Contributor Author

Fixed by the revision r682.

Original comment by arnaud.barre on 11 Jul 2011 at 10:23

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant