Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to use a C library project from another C project(How to use a C library project from another C project)
How to use a C library project from another C project [message #1749004] Thu, 01 December 2016 00:25 Go to next message
Jacques Ouellet is currently offline Jacques OuelletFriend
Messages: 2
Registered: December 2016
Junior Member
Hi,

I'd like to know how I can consume a C library project from another C project (e.g.: main) in CDT, granted that both are loaded in the same workspace.

Workspace
MyProject (A console)
MyLibrary

Is there a solution taking into account dependency order and symbols support?

I look around the web, but only found bits and pieces that didn't work.

Thanks!


Re: How to use a C library project from another C project [message #1749108 is a reply to message #1749004] Thu, 01 December 2016 22:06 Go to previous messageGo to next message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 404
Registered: June 2014
Senior Member
Hi Jacques,

My best answer is to use this example repo I created, It has some instructions and screenshots.

https://github.com/jonahkichwacoders/cdt-example-of-managed-library-reference

HTH,
Jonah

Re: How to use a C library project from another C project [message #1749180 is a reply to message #1749108] Fri, 02 December 2016 17:44 Go to previous message
Jacques Ouellet is currently offline Jacques OuelletFriend
Messages: 2
Registered: December 2016
Junior Member
Thanks! It works!
Previous Topic:imshow in OpenCV in Linux
Next Topic:how to config debuger for an specific program
Goto Forum:
  


Current Time: Fri Jan 28 08:38:19 GMT 2022

Powered by FUDForum. Page generated in 0.01646 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top