Compiling QZDoom - Now requires extra libraries

Truecolor ZDoom with extra features and some unofficial/beta GZDoom features.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Libs (Win)] [Repo] [Bugs&Suggestions]

Moderators: Eruanna, dpJudas

User avatar
Posts: 3444
Joined: Sat May 13, 2006 10:30

Compiling QZDoom - Now requires extra libraries

Postby Eruanna » Sun Oct 02, 2016 11:33

Once the llvm branch is merged, compiling your own copy of QZDoom will from now on require a copy of the LLVM libraries.

LLVM is a pretty major project, and it didn't seem reasonable to require every person to compile their own copy of it - so to save some time, the libraries have been provided for us (courtesy of dpJudas):

A quick explanation of the files: If you are only doing compiles, you will only need the 32/64bit libraries.

However, if you plan to do any serious development, you should get the "everything" archive, as it contains all the files for both debug and release builds of both 32-bit and 64-bit windows.

For other platforms, this may not pose much of an issue as the platform's repository/code manager should still be able to get these libraries for you.

If you have any questions, please reply to this thread.
  Zen Sarcasm

Posts: 10
Joined: Sun Jan 08, 2017 6:05

Re: Compiling QZDoom - Now requires extra libraries

Postby ConSiGno » Thu Jan 19, 2017 22:38

Homebrew says the following about LLVM:

Code: Select all

==> Caveats
LLVM executables are installed in /usr/local/opt/llvm/bin.
Extra tools are installed in /usr/local/opt/llvm/share/llvm.
To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"

This formula is keg-only, which means it was not symlinked into /usr/local.

macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

This makes it sound like installing llvm is a bad idea. given that I use clang regularly, will I run into any problems?

Posts: 768
Joined: Sat Jul 23, 2016 7:53

Re: Compiling QZDoom - Now requires extra libraries

Postby dpJudas » Thu Jan 19, 2017 23:48

Running "brew install llvm-dev" hasn't caused any side effects here.

I think that message is saying that it didn't symlink it into the usual search paths because macOS already has the llvm executables installed. It is warning you that you shouldn't attempt to do that yourself because that will break the OS.

You have to specify on the command line when running cmake where to locate LLVM. That's the only thing you have to do besides the above brew install command.

Return to “QZDoom”

Who is online

Users browsing this forum: No registered users and 1 guest