microsoft / malmo

Project Malmo is a platform for Artificial Intelligence experimentation and research built on top of Minecraft. We aim to inspire a new generation of research into challenging new problems presented by this unique environment. --- For installation instructions, scroll down to *Getting Started* below, or visit the project page for more information:
https://www.microsoft.com/en-us/research/project/project-malmo/
MIT License
4.1k stars 600 forks source link

waf script cannot recognize boost libraries #855

Open Prasad454 opened 4 years ago

Prasad454 commented 4 years ago

Hi all,

I have the following 4 boost libraries in the boost/libs folder, wscript is able to recognize 'boost_exception' library but it cannot able to recognize other 3 libraries. Here are the 4 libraries in the boost/libs/ folder

  1. libboost_thread.so.1.60.0
  2. libboost_system.so.1.60.0
  3. libboost_filesystem.so.1.60.0
  4. libboost_exception.a

Here the piece of code that links the boost libraries to my out file. ctx.program( source = srcs_app, target = vcapp_target, includes = ipath_app, lib = [vclib_target, 'log4cpp', 'boost_exception', 'boost_thread'], libpath = [path_to_vc_lib, path_log4cpplibs, path_boostlibs])

Here is the error i get: ld.lld: error: unable to find library -lboost_thread clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Request someone help me on this.