[Bug 373] New: Deployment: compiling errors

For more information about this bug, visit
A new bug was added:
Summary: Deployment: compiling errors
Product: OCL
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Deployment
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...

When compiling the Deployment component i get the following errors:

/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:8:55: error:
marsh/CPFMarshaller.hpp: No such file or directory
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:9:57: error:
marsh/CPFDemarshaller.hpp: No such file or directory
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp: In member function
‘bool OCL::DeploymentComponent::loadConfiguration(const
std::string&)’:
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:321: error:
‘CPFDemarshaller’ was not declared in this scope
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:321: error:
‘demarshaller’ was not declared in this scope
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:324: error: expected
type-specifier before ‘CPFDemarshaller’
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:324: error: expected
`;' before ‘CPFDemarshaller’
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:535: error: type
’ argument given to ‘delete’, expected
pointer
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp: In member function
‘bool OCL::DeploymentComponent::loadLibrary(const std::string&)’:
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:790: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:803: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp: In member function
‘bool OCL::DeploymentComponent::loadComponent(const std::string&, const
std::string&)’:
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:859: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp: In member function
‘void OCL::DeploymentComponent::displayComponentTypes() const’:
/home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:913: error:
‘cout’ was not declared in this scope
make[2]: ***
[deployment/CMakeFiles/orocos-deployment.dir/DeploymentComponent.o] Error 1
make[1]: *** [deployment/CMakeFiles/orocos-deployment.dir/all] Error 2

Does this compile for anyone else?

Ruben

[Bug 373] Deployment: compiling errors

For more information about this bug, visit

peter [dot] soetens [..] ... changed:

What |Removed |Added
---------------------------------------------------------------------------
Resolution| |FIXED
Status|NEW |RESOLVED

------- Comment #1 from peter [dot] soetens [..] ... 2007-04-18 09:30

(In reply to comment #0)
> When compiling the Deployment component i get the following errors:
>
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:8:55: error:
> marsh/CPFMarshaller.hpp: No such file or directory
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:9:57: error:
> marsh/CPFDemarshaller.hpp: No such file or directory

This has been fixed already. Do svn up in ocl. For that version, the correct
include directive needed to be rtt/marsh/... instead of marsh/... .

Peter

> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp: In member function
> ‘bool OCL::DeploymentComponent::loadConfiguration(const
> std::string&)’:
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:321: error:
> ‘CPFDemarshaller’ was not declared in this scope
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:321: error:
> ‘demarshaller’ was not declared in this scope
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:324: error: expected
> type-specifier before ‘CPFDemarshaller’
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:324: error: expected
> `;' before ‘CPFDemarshaller’
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:535: error: type
> ‘’ argument given to ‘delete’, expected
> pointer
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp: In member function
> ‘bool OCL::DeploymentComponent::loadLibrary(const std::string&)’:
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:790: warning:
> dereferencing type-punned pointer will break strict-aliasing rules
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:803: warning:
> dereferencing type-punned pointer will break strict-aliasing rules
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp: In member function
> ‘bool OCL::DeploymentComponent::loadComponent(const std::string&, const
> std::string&)’:
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:859: warning:
> dereferencing type-punned pointer will break strict-aliasing rules
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp: In member function
> ‘void OCL::DeploymentComponent::displayComponentTypes() const’:
> /home/rsmits/orocos/ocl/deployment/DeploymentComponent.cpp:913: error:
> ‘cout’ was not declared in this scope
> make[2]: ***
> [deployment/CMakeFiles/orocos-deployment.dir/DeploymentComponent.o] Error 1
> make[1]: *** [deployment/CMakeFiles/orocos-deployment.dir/all] Error 2
>
> Does this compile for anyone else?
>
> Ruben
>