orocos-toolchain / ocl

Orocos Component Library
Other
16 stars 33 forks source link

CORBA deployer broken #3

Closed meyerj closed 10 years ago

meyerj commented 10 years ago

Commit 8107483d901868fe38f3f3cb0541a6bbde3780ad broke the CORBA deployer:

/home/intermodalics/projects/orocos/hydro/src/orocos_toolchain/ocl/bin/cdeployer.cpp: In function ‘int main(int, char**)’:
/home/intermodalics/projects/orocos/hydro/src/orocos_toolchain/ocl/bin/cdeployer.cpp:104:57: error: invalid initialization of reference of type ‘bool&’ from expression of type ‘boost::program_options::variables_map’
/home/intermodalics/projects/orocos/hydro/src/orocos_toolchain/ocl/bin/deployer-funcs.hpp:52:12: error: in passing argument 7 of ‘int OCL::deployerParseCmdLine(int, char**, std::string&, std::vector<std::basic_string<char> >&, std::string&, bool&, bool&, boost::program_options::variables_map&, boost::program_options::options_description*)’
make[3]: *** [bin/CMakeFiles/cdeployer.dir/cdeployer.cpp.o] Error 1
make[3]: Leaving directory `/home/intermodalics/projects/orocos/hydro/build_isolated/ocl/install'
make[2]: *** [bin/CMakeFiles/cdeployer.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
/home/intermodalics/projects/orocos/hydro/src/orocos_toolchain/ocl/bin/deployer-corba.cpp: In function ‘int main(int, char**)’:
/home/intermodalics/projects/orocos/hydro/src/orocos_toolchain/ocl/bin/deployer-corba.cpp:104:57: error: invalid initialization of reference of type ‘bool&’ from expression of type ‘boost::program_options::variables_map’
/home/intermodalics/projects/orocos/hydro/src/orocos_toolchain/ocl/bin/deployer-funcs.hpp:52:12: error: in passing argument 7 of ‘int OCL::deployerParseCmdLine(int, char**, std::string&, std::vector<std::basic_string<char> >&, std::string&, bool&, bool&, boost::program_options::variables_map&, boost::program_options::options_description*)’
make[3]: *** [bin/CMakeFiles/deployer-corba.dir/deployer-corba.cpp.o] Error 1
make[3]: Leaving directory `/home/intermodalics/projects/orocos/hydro/build_isolated/ocl/install'
make[2]: *** [bin/CMakeFiles/deployer-corba.dir/all] Error 2
make[2]: Leaving directory `/home/intermodalics/projects/orocos/hydro/build_isolated/ocl/install'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/intermodalics/projects/orocos/hydro/build_isolated/ocl/install'

What's the difference between the cdeployer and the deployer-corba target? They seem to be very similar.

meyerj commented 10 years ago

This was fixed by @smits in d85f79ba324997a78d452f42f6fdff950bc93c7f.