Author Topic: External dependencies in Project are wrong?  (Read 6463 times)

daniloz

  • Guest
External dependencies in Project are wrong?
« on: April 12, 2011, 12:47:14 pm »
Since the update to rev. 7088, when the CodeBlocks.cbp project was changed, I get the following WARNING when I compile C::B :
Code
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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: External dependencies in Project are wrong?
« Reply #1 on: April 12, 2011, 06:12:43 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: External dependencies in Project are wrong?
« Reply #2 on: April 19, 2011, 07:54:45 pm »
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

Offline codeur

  • Multiple posting newcomer
  • *
  • Posts: 113
    • Code::Blocks EDU-Portable
Re: External dependencies in Project are wrong?
« Reply #3 on: August 23, 2011, 04:06:24 am »
I just built trunk (svn 7406). Those warnings are there. A few of them are reproduced below

Code
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: External dependencies in Project are wrong?
« Reply #4 on: August 23, 2011, 07:21:14 am »
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!]