ducdanganhit
Topic Author
Posts: 25
Joined: 18 May 2019, 10:46

Include header files - Link .so Files in Linux

10 Jun 2019, 11:07

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!
 
User avatar
jsantos
Site Admin
Posts: 3918
Joined: 20 Jan 2012, 17:18
Contact:

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

10 Jun 2019, 13:05

Correct for libNoesis.so. For libNoesisApp.so you need to include all headers under Src/Packages
 
ducdanganhit
Topic Author
Posts: 25
Joined: 18 May 2019, 10:46

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

11 Jun 2019, 06:52

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.
 
User avatar
jsantos
Site Admin
Posts: 3918
Joined: 20 Jan 2012, 17:18
Contact:

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

11 Jun 2019, 12:16

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
 
ducdanganhit
Topic Author
Posts: 25
Joined: 18 May 2019, 10:46

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

13 Jun 2019, 08:59

I see. Thank you jsantos

Who is online

Users browsing this forum: Ahrefs [Bot] and 15 guests