Viktor Szakáts wrote:

You're trying to mix msvc libs with different build settings, maybe even
built with different msvc versions. Try rebuilding every libs with the same
settings. Look at /MT /MD switches.

I don't think so, if -debug is used I get the message, if it is not I do not get the message. However, I looked at line #2765 as you suggested and probably that will fix it - I do not understand the original intent however.

2. I am trying:

-ldflag=LINKFORCE=/force:unresolved

to force a link, but it appears to be ignored?

It's not a solution for the problem.

You are right, but I did not want to edit hwgui.hbc, until I resolve the issue.

But this switch
should be passed like this: -ldflag=/force:unresolved

Yes, you are right again, I looked it up in MSDN library, I was using it as a macro in my .mak files and LINKFORCE was my own name! Sorry.

I'll delete -MTd option from hbmk2, as it just confuses
the matter. (see line #2765 in hbmk2.prg)

I'll check it out tomorrow.

Thanks and regards
Alex
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to