Author Topic: Adding libtiff to code::blocks - gcc?  (Read 4778 times)

Polygon

  • Guest
Adding libtiff to code::blocks - gcc?
« on: January 13, 2012, 04:50:15 pm »
Hello all,

I need to add 'libtiff' (alt. 'ltiff') so that I can port my Matlab code to C. I have never added a library before and to be honest am completely baffled.

How do I add a library?

I have scoured the internet and am more confused now than when I started.

If this isnt the approriate forum could somebody kindly direct me to one?

Thanks for listening,

Poly

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Adding libtiff to code::blocks - gcc?
« Reply #1 on: January 13, 2012, 05:05:39 pm »
How do I add a library?
Project options, linker settings, -> add library, and add include folder for that library to the linker.

See the C::B manual for screenshots and more details:
http://www.codeblocks.org/docs/main_codeblocks_en.html
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ