Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to resolve this project compilation error? #1

Open
mirro187 opened this issue Apr 8, 2020 · 1 comment
Open

How to resolve this project compilation error? #1

mirro187 opened this issue Apr 8, 2020 · 1 comment

Comments

@mirro187
Copy link

mirro187 commented Apr 8, 2020

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

@hehao98
Copy link
Owner

hehao98 commented Apr 8, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants