Archived Forum Post

Index of archived forum posts


Linking 64 bit CkFtp2W on Visual Studio C++ 2005

Sep 28 '12 at 10:17

Hi !

I am using your new static builds.

if I do a full compile I get this warning:

4>ChilkatRel_x64.lib(CkFtp2W.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance

I do not get it with the 32 bit builds.

However, if I switch on LTCG and do another full build it fails:

4>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
4>fatal error C1047: The object or library file 'D:\My Libraries\ChilkatVC8-9-3-2_x64\libs\ChilkatRel_x64.lib' was created with an older compiler than other objects; rebuild old objects and libraries
4>LINK : fatal error LNK1257: code generation failed

I have reverted back to no LTCG and just let it show the first warning.

I was just wondering why the x64 build has the setting. Can it be made the same a the 32 bit lib?


Accepted Answer

This new build should solve the problem: