Page 1 of 1

Include header files - Link .so Files in Linux

Posted: 10 Jun 2019, 11:07
by ducdanganhit
Hello,
I am intergrating these shared lib files in Cmake project.
Is /NoesisGUI-NativeSDK-2.2.2/Bin/linux_x86_64/libNoesis.so shared lib file for /NoesisGUI-NativeSDK-2.2.2/Include/*.h? And
Is libNoesisApp.so for Src/Packages/App/*/Include/NsApp/*.h ?

Thanks in advanced!

Re: Include header files - Link .so Files in Linux

Posted: 10 Jun 2019, 13:05
by jsantos
Correct for libNoesis.so. For libNoesisApp.so you need to include all headers under Src/Packages

Re: Include header files - Link .so Files in Linux

Posted: 11 Jun 2019, 06:52
by ducdanganhit
Correct for libNoesis.so. For libNoesisApp.so you need to include all headers under Src/Packages
I got it. But I see some *.cpp files in sub folder under Src/Packages. Do we need these *.cpp files for the project? Or are these redundant because we have shared lib libNoesisApp.so which only need header file.

Re: Include header files - Link .so Files in Linux

Posted: 11 Jun 2019, 12:16
by jsantos
Those .cpp you see under Src/Packages are the sources of the Application Framework (libNoesisApp.so). It comes precompiled because we want people downloading the SDK being able to execute samples without having to compile. But yes, I think you should be compiling them instead of using the .so

Re: Include header files - Link .so Files in Linux

Posted: 13 Jun 2019, 08:59
by ducdanganhit
I see. Thank you jsantos