News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

External dependencies in Project are wrong?

Started by daniloz, April 12, 2011, 12:47:14 PM

Previous topic - Next topic

daniloz

Since the update to rev. 7088, when the CodeBlocks.cbp project was changed, I get the following WARNING when I compile C::B :

WARNING: Target 'Code::Blocks - src': Unable to resolve 1 external dependencies: devel\libcodeblocks.a


And I get it for several other targets as well...

I could trace the problem to the included external depency for the targets as "devel\libcodeblocks.a", whereas it should be "devel\libcodeblocks.dll.a" on Windows systems, right?

MortenMacFly

Quote from: daniloz on April 12, 2011, 12:47:14 PM
whereas it should be "devel\libcodeblocks.dll.a" on Windows systems, right?
Yes. :oops:

It works for me as I have a patch applied that removes the .dll part for shared import libraries...

For the moment, please ignore. It'll work once I commit the patch.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

frithjofh

I just reverted from last svn (I think it was 7121) to 7085 because of the same problems. So the bug is still around.

Regards and greetings from Asturias

frithjof
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

codeur

I just built trunk (svn 7406). Those warnings are there. A few of them are reproduced below

WARNING: Target 'Code::Blocks - Class wizard': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
WARNING: Target 'Code::Blocks - Default MIME handler': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
WARNING: Target 'Code::Blocks - Open files list': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
WARNING: Target 'Code::Blocks - Projects-workspaces importer': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
WARNING: Target 'Code::Blocks - Projects-workspaces importer': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
WARNING: Target 'Code::Blocks - Scripted wizard': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
WARNING: Target 'Code::Blocks - XP look & feel': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a

oBFusCATed

Don't worry about them, btw it is even better this way.
If the external deps are set correctly there is too much relinking when something changes in the sdk...
(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!]