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

Many errors on cmake .. #52

Closed
generaldave opened this issue Jan 27, 2017 · 18 comments
Closed

Many errors on cmake .. #52

generaldave opened this issue Jan 27, 2017 · 18 comments

Comments

@generaldave
Copy link

I run "cmake .." in the build folder. Everything seems to work fine up to that point. I also ran update and upgrade before starting.

First is CMake Error at CMakeLists.txt:26 (add_dependencies): Cannot add target-level dependencies to non-existent target "glportal".

Second is that gwen directory does not contain CMakeLists.txt.

Third is that vhacd-lib does not contain CMakeLists.txt.

Forth is RadixEngine not found.

I have deleted the whole glportal folder and started over twice. Get the same thing each time.

CMakeError.log is empty.

CMakeOutput.log =
CMakeOutput.txt

@hhirsch
Copy link
Member

hhirsch commented Jan 27, 2017

Check out the submodules recursively and then first go into the external/RadixEngine and get its submodules and compile it.

@hhirsch
Copy link
Member

hhirsch commented Jan 27, 2017

git submodule init
git submodule update

@SGOrava
Copy link
Contributor

SGOrava commented Jan 27, 2017

git submodule update --init --recursive

@Geertiebear
Copy link
Contributor

We should update COMPILE.md for this.

@hhirsch
Copy link
Member

hhirsch commented Jan 27, 2017

Agreed. I was about to tell him "This is in COMPILE.md" but then checked it first and was like "wtf".

@generaldave
Copy link
Author

generaldave commented Jan 29, 2017

I have done this:

git submodule init
git submodule update

as well as recursively.

I will try again now that the git submodule command has been changed.

Still a no go. Here are the logs:
CMakeError.txt
CMakeOutput.txt

@Geertiebear
Copy link
Contributor

Can you make and run a simple CMakeLists.txt like this:

cmake_minimum_required (VERSION 2.8.7) find_package(Threads) ? And can you give me the output of this?

@generaldave
Copy link
Author

Sure can.

cmake

@SGOrava
Copy link
Contributor

SGOrava commented Jan 30, 2017

Do you have installed pthread ?
Package name should be something like libpthread-dev .

@generaldave
Copy link
Author

libpthread-dev doesn't exist.

libpthread-stubs0-dev already installed.

pthread

@Geertiebear
Copy link
Contributor

Do you have libc6-dev installed?

@generaldave
Copy link
Author

sudo apt-get install libc6-dev says "is already the newest version (2.23-0ubuntu5)."

@Geertiebear
Copy link
Contributor

This may sound weird but, what version of bullet do you have installed?

@generaldave
Copy link
Author

sudo apt-get install libbullet-dev says "already the newest version (2.83.6+dfsg-3)"

@Geertiebear
Copy link
Contributor

Aha, I see, at the moment glportal requires bullet 2.85. However, I can change it so that we can support both versions, I'll do it tommorow maybe.

@generaldave
Copy link
Author

Ok, so apparently Ubuntu 16.04 does not support bullet 2.85 being it's telling me that 2.83 is the newest version

Geertiebear added a commit that referenced this issue Jan 31, 2017
@hhirsch
Copy link
Member

hhirsch commented Feb 1, 2017

@generaldave Usually you should be prepared to use very new versions of libraries. I used to use debian stable but had to switch to manjaro linux for the same reason. However Geerts commit should have fixed the problem for you. But be prepared that we'll prefer a newer version of a library over an older one.

@hhirsch
Copy link
Member

hhirsch commented Feb 2, 2017

@generaldave Please reopen if this problem persists.

@hhirsch hhirsch closed this as completed Feb 2, 2017
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

4 participants