News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Dependency won't depend...

Started by dfatcb, January 18, 2016, 05:57:17 AM

Previous topic - Next topic

dfatcb

Hi,

Using Code::Blocks on Debian 2.6.32-5-686 Build Feb 2 2013, 19:57:47 - wx2.8.10 (Linux, unidoe) - 32bit .. SVN 8832

I have a workspace with a project that builds an application and another that builds a static library.  The static library is in a different directory tree than the application.

I tried to setup the app (both debug and release) to depend on the /path/to/the/lib/(debug|release)/libmylib.a   Then generated a rebuild workspace.  It deleted everything then went to build the app and reference the dependency saying "no such file or directory".  Which of course it doesn't exist which should trigger it to rebuild.

What is wrong here?

TIA!!


oBFusCATed

Probably you need to setup a project dependency. Project -> Properties -> Project Dependencies.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

dfatcb

yep, that was it.  was setting it up in the build targets instead of seeing that button down there.