J2ObjC_header.h file not found if the project is added as sub project

548 views
Skip to first unread message

Venkatesh Karra

unread,
Jul 24, 2018, 9:22:32 AM7/24/18
to j2objc-discuss
Hi, I have added the J2Objc generated files and build the project. and the project is building successfully. And i added that project as subproject to another project and trying to build the project, and am getting error J2ObjC_header.h file not found for the generated files. Can any one help me out in this issue

Antonio Cortes Perez

unread,
Jul 24, 2018, 10:46:28 AM7/24/18
to j2objc-...@googlegroups.com
Hi, the generated header files include J2ObjC_header.h, so the parent project also needs access to this header file. Try adding ${J2OBJC_HOME}/include to the User Header Search Paths of the parent project, similar to how you did it for the subproject.

On Tue, Jul 24, 2018 at 6:22 AM Venkatesh Karra <venkat...@gmail.com> wrote:
Hi, I have added the J2Objc generated files and build the project. and the project is building successfully. And i added that project as subproject to another project and trying to build the project, and am getting error J2ObjC_header.h file not found for the generated files. Can any one help me out in this issue

--
You received this message because you are subscribed to the Google Groups "j2objc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to j2objc-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Venkatesh Karra

unread,
Jul 25, 2018, 1:21:13 AM7/25/18
to j2objc-discuss
Thank you very much for the very quick reply.
Reply all
Reply to author
Forward
0 new messages