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

'rclobjc/ROSRCLObjC.h' file not found #3

Open
lbajo opened this issue Nov 8, 2018 · 2 comments
Open

'rclobjc/ROSRCLObjC.h' file not found #3

lbajo opened this issue Nov 8, 2018 · 2 comments

Comments

@lbajo
Copy link

lbajo commented Nov 8, 2018

Hi @esteve,
When I try to run the listener or the talker in my iPhone or with the simulator I have the next error:

captura de pantalla 2018-11-08 a las 13 54 56

The paths are OK and 'rclobjc/ROSRCLObjC.h' is correctly included in the Frameworks directory, is necessary include other path in the "build settings" of the project?
Thanks for the help!

@esteve
Copy link
Owner

esteve commented Nov 9, 2018

You'll have to add the path of the header files within the ros2_objc workspace to the search paths according, according to https://stackoverflow.com/a/17506260

@lbajo
Copy link
Author

lbajo commented Nov 13, 2018

I added ../../../ros2_objc in Header Search Path section and I think that I fixed the previous error.
So I have a doubt and a new error...
In the previous image you can see that the frameworks are in red, and this is because I haven't the files in the path that you had the project originally. Have I to add one more time the frameworks files from my own paths? Because I haven't the directory ros2_ios_ws/install_isolated, In my case I have the directory ros2_ios_ws/install... so I haven't some of the files, like for example lib,librcl_rmw_fastrtps_cpp.a or librclobjc_rmw_fastrtps_cpp.a
Is it possible that the following error was generated by that?
Now my project is like this:

captura de pantalla 2018-11-13 a las 10 57 32

I added all the frameworks files except lib,librcl_rmw_fastrtps_cpp.a and librclobjc_rmw_fastrtps_cpp.a, and If I change the the Library Search Paths and the Users Headers Search Paths by ../../../../../install/lib I continue with the same error but...

If I change by ../../../../../install I obtain:

Error linker command failed with exit code 1 (use -v to see invocation)

Thanks for the help Esteve!

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

No branches or pull requests

2 participants