WaterRendering icon indicating copy to clipboard operation
WaterRendering copied to clipboard

How to resolve this project compilation error?

Open mirro187 opened this issue 4 years ago • 1 comments

1>------ Build started: Project: Ocean, Configuration: Debug Win32 ------ 1>LINK : fatal error LNK1104: cannot open file 'libbz2.dylib.lib'

mirro187 avatar Apr 08 '20 08:04 mirro187

I think it is a link error which typically results from two cases

  1. Your system do not have libbz2 installed in your computer
  2. Your system have libbz2 installed but the link path/include path is not specified in the build settings

I think libbz2 might be required by the freetype library specified in CMakeLists.txt. Perhaps the first thing you can do is to use Google to figure out how to install libbz2/freetype and check whether libbz2/freetype is installed on your computer.

If it is installed on a custom location, you also need to edit CMakeLists.txt to add custom include and library paths.

hehao98 avatar Apr 08 '20 08:04 hehao98