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

Do not compile, CMake Errors #1

Open
AndreyBronin opened this issue Apr 22, 2018 · 4 comments
Open

Do not compile, CMake Errors #1

AndreyBronin opened this issue Apr 22, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@AndreyBronin
Copy link
Contributor

  • Wrong flex_lib submodule path.
  • Some .cmake files is missing.
CMake Error at CMakeLists.txt:20 (include):
  include could not find load file:
    AddLLVM
CMake Error at CMakeLists.txt:21 (include):
  include could not find load file:
    ClangConfig
CMake Error at CMakeLists.txt:83 (add_llvm_executable):
  Unknown CMake command "add_llvm_executable".
@flexferrum
Copy link
Owner

flexferrum commented Apr 22, 2018

Fast part of answer:

  1. You need pre-built LLVM/clang 5.0 (not the recent release or upstream)
  2. You should provide path to the LLVM installation/build via variables LLVM_INSTALL_ROOT
    This two preprequirements I'll describe in readme.md .

I have to check the problem with wrong flex_lib submodule path.

@flexferrum flexferrum added the bug Something isn't working label May 11, 2018
@flexferrum
Copy link
Owner

Seems like fixed. Needed second-hand check.

@AndreyBronin
Copy link
Contributor Author

AndreyBronin commented Jun 26, 2018

I checked the build on Ubuntu 16.04, it works fine But on 18.04 I had some issues with default llvm\clang versions and your cmake finders. I'll try to fix this issues and make matrix .travis.ci file

List of dependencies for build on Ubuntu 16.04 you can find in this Dockerfile

@flexferrum
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants