[try Beta version]
Not logged in

 
What is a Static Project and how can I run it

Nov 13, 2017 at 11:06pm
I'm using Dev C++. I needed to use a static library for the first time, not a console application. My file was made use a .cpp file. I'm unable to run the file. Obviously because its a static project.
This is what was compiled:

ar r CurlProject1.a main.o

ar: creating CurlProject1.a

ranlib CurlProject1.a


Could someone explain the logic of a static library and how I would run the code?
Last edited on Nov 13, 2017 at 11:19pm
Nov 14, 2017 at 1:35am
You have the library (.a file)
Now you just need to link it inside another project that needs it in order to use it.
Topic archived. No new replies allowed.