tgbot-cpp icon indicating copy to clipboard operation
tgbot-cpp copied to clipboard

LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc142-mt-gd-x64-1_72.lib

Open CyrusDe opened this issue 5 years ago • 3 comments

Wasn't sure where to post this about this issue but here it is.

I'm aware that I can specify Boost's lib directory in VS properties but it doesn't seem to want to open this file. I've been trying to get these tgbot libraries to work for quite a while now. Any help would be appreciated.

image

image

image

CyrusDe avatar Apr 29 '20 16:04 CyrusDe

Boost uses automatic linking for the required data and its dependencies. For this to work the directory where the libs are located must be known. This problem is solved by the fix in my PR. Alternatively you can disable automatic linking in the CMakeLists.txt.

OgreTransporter avatar Apr 30 '20 18:04 OgreTransporter

@OgreTransporter image

CyrusDe avatar May 01 '20 07:05 CyrusDe

@CyrusDe Boost include dirs and lib dirs are also required in your Project.

OgreTransporter avatar May 01 '20 22:05 OgreTransporter