Bug #704

rst/geometry/PointPair.proto: Import "rst/geometry/Point2DFloat.proto" was not found or had errors.

Added by Anonymous over 12 years ago. Updated over 12 years ago.

Status:ResolvedStart date:11/08/2011
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:-
Target version:-

Description

ERROR:
Building of RST fails with the error message mentioned in the subject.
A file called Point2DFloat.proto could not be found neither in RSB nor in RST trunk.

WORKAROUND:
using rst/math/Vec2DFloat.proto in PointPair.proto instead ?...

OUTPUT:

flex@ubuntitude:~/C5/unibi/rst/build$ cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/home/flex/C5/env ..
-- Enabling export macro RST_EXPORT for CPP
-- Enabling export macro RSTSANDBOX_EXPORT for CPP
-- ant not found or protobuf java library not available. Java bindings will not be created
-- Python egg install folder: lib/python2.6/dist-packages
-- LSB-Release system information::
           LSB Distributor-ID: ubuntu
           LSB Release: 10.04
           LSB Codename: lucid
           System bit type: 32 bit
-- Configuring done
-- Generating done
-- Build files have been written to: /home/flex/C5/unibi/rst/build
flex@ubuntitude:~/C5/unibi/rst/build$ make
[  1%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/geometry/BoundingBox.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/geometry/BoundingBox.pb.cc
[  2%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/kinematics/ProprioceptionState.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/kinematics/ProprioceptionState.pb.cc
[  3%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/kinematics/JointState.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/kinematics/JointState.pb.cc
[  4%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/kinematics/JointAngles.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/kinematics/JointAngles.pb.cc
[  5%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/stochastics/Gaussian1D.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/stochastics/Gaussian1D.pb.cc
[  6%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/stochastics/MixtureOfGaussian1D.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/stochastics/MixtureOfGaussian1D.pb.cc
[  7%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/audition/SoundChunk.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/audition/SoundChunk.pb.cc
[  8%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/audition/ITD.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/audition/ITD.pb.cc
[  9%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/vision/Image.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/vision/Image.pb.cc
[  9%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/vision/Faces.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/vision/Faces.pb.cc
[ 10%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/dynamics/Torques.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/dynamics/Torques.pb.cc
[ 11%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/dynamics/Wrench.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/dynamics/Wrench.pb.cc
[ 12%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/dynamics/Forces.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/dynamics/Forces.pb.cc
[ 13%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/dynamics/JointTorques.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/dynamics/JointTorques.pb.cc
[ 14%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/math/Vec2DFloat.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/math/Vec2DFloat.pb.cc
[ 15%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/math/Vec3DDouble.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/math/Vec3DDouble.pb.cc
[ 16%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/math/Vec3DFloat.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/math/Vec3DFloat.pb.cc
[ 17%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/math/Vec3DInt.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/math/Vec3DInt.pb.cc
[ 17%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/math/Vec2DInt.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/math/Vec2DInt.pb.cc
[ 18%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/geometry/CameraMatrix3x4.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/geometry/CameraMatrix3x4.pb.cc
[ 19%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/geometry/PointCloud3DFloat.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/geometry/PointCloud3DFloat.pb.cc
[ 20%] Running C++ protocol buffer compiler on /home/flex/C5/unibi/rst/proto/stable/rst/geometry/PointPair.proto with root /home/flex/C5/unibi/rst/proto/stable, generating: /home/flex/C5/unibi/rst/build/cpp/stable/rst/geometry/PointPair.pb.cc
rst/geometry/Point2DFloat.proto: File not found.
rst/geometry/PointPair.proto: Import "rst/geometry/Point2DFloat.proto" was not found or had errors.
rst/geometry/PointPair.proto:11:18: "Point2DFloat" is not defined.
rst/geometry/PointPair.proto:12:18: "Point2DFloat" is not defined.
make[2]: *** [cpp/stable/rst/geometry/PointPair.pb.cc] Error 1
make[1]: *** [cpp/stable/CMakeFiles/rst.dir/all] Error 2
make: *** [all] Error 2

Associated revisions

Revision 19742f30
Added by J. Wienke over 12 years ago

remove duplicated files added in r150.

fixes #704

History

#1 Updated by M. Goetting over 12 years ago

  • Status changed from New to Closed
  • Assignee set to M. Goetting
  • % Done changed from 0 to 100

All Point* data types in rst/geometry move into the new rst/math/Vec* Data types. Please adjust all data types that are related to the old Point* data types.

#2 Updated by J. Wienke over 12 years ago

  • Status changed from Closed to In Progress

Sorry, this is not resolved at all. It still does not compile. Moreover, the files added in r150 are duplicated from sandbox/vision and sandbox/geometry.

#3 Updated by J. Wienke over 12 years ago

  • % Done changed from 100 to 0

#4 Updated by J. Wienke over 12 years ago

  • Assignee changed from M. Goetting to J. Wienke
  • % Done changed from 0 to 30

Jordi, I will remove the files you added as they were already in the library. Please change the configuration of your project to also use the RST sandbox module as explained at Using_RST. Also note, that we reorganized the proto files a bit, so you need to adapt the include paths and namespaces. A more detailed description of the new layout is available at Rationale.

#5 Updated by J. Wienke over 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 100

Applied in changeset r151.

Also available in: Atom PDF