-
Notifications
You must be signed in to change notification settings - Fork 81
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
ERROR: CMake for Bullet Physics failed #218
Comments
That error may be caused by missing dependencies. Take a look at the INSTALL file in the root of the Github repo, and install Let me know if that does/doesn't resolve your problems (or this specific Perry |
I installed all dependencies, erase env and build, run again setup.sh, and build.sh I'm following the tutorial now. I'm trying to use YAML. When I run BuildModel nothing happens. I also tried "build/yamlbuilder/BuildModel resources/YAMLStructures/BaseStructures/3Prism.yaml" and got |
While running the build does compile all simulator applications, you'll still need to explicitly run an application -- many are included in NTRT. For instance, if you want to run 3prism-serialize you would navigate to build/examples/3_prism_serialize and run AppPrismModel. |
I see. I tried the examples. They run no problem. How can I build my own structures? Which tutorial could I follow? |
See the repo README. Many details and links there. |
Francisco,
Check out the video tutorial in the README file. It shows you how to use
YAML files as well as traditional tgModel applications. Welcome to NTRT!
Drew
On Tue, Jul 18, 2017 at 5:51 AM Perry Bhandal ***@***.***> wrote:
See the repo README. Many details and links there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC56Y7LB80PMSzvEVhMo_vckgBkRfm0_ks5sPKpDgaJpZM4Oag9V>
.
--
Drew (Andrew P.) Sabelhaus
Graduate Student Researcher | UC Berkeley | Mechanical Engineering
Berkeley Emergent Space Tensegrities (BEST) Lab
NASA Ames Research Center | Intelligent Robotics Group | Dynamic Tensegrity
Robotics Lab
My pronouns are he, him, his. (What's
<https://www.ccsu.edu/lgbt/files/PreferredGenderPronounsForFaculty.pdf>
this? <http://lgbt.williams.edu/resources/trans-resources/pronouns/> Why?
<https://www.aclunc.org/article/frequently-asked-questions-whats-pronoun>)
Phone: (301) 807-9842 | www.apsabelhaus.com
------------------------------------------------------------------------------------------
|
thank you guys! |
So sorry to bother you guys again… I tried "git pull" to download the examples and I get this: francisco@ubuntu:~/Documents/NTRTsim-master$ git pull I also tried this: francisco@ubuntu:~/Documents/NTRTsim-master$ git checkout NTRT_Intro I then try gitinit francisco@ubuntu: I'm not sure which URL is asking me for. Please help! |
If you downloaded the zip I linked earlier and extracted it somewhere it just includes the master branch, but not the settings for the specific git repository you pulled it from. For git pull to work you would have needed to clone the repository, rather than downloading it as a zip. If the specifics above aren't something you're familiar with, don't worry about it. I believe that for everything you'll want to do you can simply ignore any git commands. (I'm 99% certain that after sending this e-mail an example from the tutorials will come up where the above rule is incorrect. Fortunately I can blame that on Drew.) |
Hey Perry/Francisco,
Francisco, it would be a good idea to get familiar with git before using
NTRT. The branches are important. Maybe try a git tutorial, and create an
example repository for yourself, and get familiar with clone/push/pull.
You'll need to clone the repository, or use one of the pre-built virtual
machines, in order to switch to the NTRT_Intro branch. As discussed in the
video, you need to install the simulator (implication: clone or use the
virtual machine) before switching to the NTRT_Intro and following the
video. Downloading a .zip file does not contain all the branches, so you
won't be able to switch to the NTRT_Intro branch inside the zip file. You'd
have to download a separate zip for the other branch. But since you'll be
using both, it's best to just clone and not have to deal with two
installations.
To sum up: your error message at this point is not about NTRT. It's about
using git. There are many other resources online to help with that. I'll
help on this list for NTRT-specific problems, if you encounter any.
Good luck,
Drew
On Tue, Jul 18, 2017 at 4:01 PM Perry Bhandal ***@***.***> wrote:
If you downloaded the zip I linked earlier and extracted it somewhere it
just includes the master branch, but not the settings for the specific git
repository you pulled it from. For git pull to work you would have needed
to clone the repository, rather than downloading it as a zip.
If the specifics above aren't something you're familiar with, don't worry
about it. I believe that for everything you'll want to do you can simply
ignore any git commands.
(I'm 99% certain that after sending this e-mail an example from the
tutorials will come up where the above rule is incorrect. Fortunately I can
blame that on Drew.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC56Y2oUYDAkZ9-Hlqbxd08-6ijvd6Vwks5sPTkwgaJpZM4Oag9V>
.
--
Drew (Andrew P.) Sabelhaus
Graduate Student Researcher | UC Berkeley | Mechanical Engineering
Berkeley Emergent Space Tensegrities (BEST) Lab
NASA Ames Research Center | Intelligent Robotics Group | Dynamic Tensegrity
Robotics Lab
My pronouns are he, him, his. (What's
<https://www.ccsu.edu/lgbt/files/PreferredGenderPronounsForFaculty.pdf>
this? <http://lgbt.williams.edu/resources/trans-resources/pronouns/> Why?
<https://www.aclunc.org/article/frequently-asked-questions-whats-pronoun>)
Phone: (301) 807-9842 | www.apsabelhaus.com
------------------------------------------------------------------------------------------
|
I found some instructions on how to clone the repository. |
I was getting a similar error, and afterinstalling the dependencies and running setup.sh, the part where boost is doesnt progress. the timer keeps ticking along. Also Perry, your website where the virtual machine is also down. |
Hi Zain, I'm moving the server to a new DC. Unfortunately it won't be back up until the 29th at the earliest. Perry |
Hi Perry,
Oh damn that's bad.
I cloned the repostiories did as you said above about dependenciesand the part where boost is downloading seems to be stuck. It keeps ticking forever. Any leads,
Zain
…Sent from my iPhone
On 16-May-2020, at 7:43 AM, Perry Bhandal ***@***.***> wrote:
Hi Zain,
I should have posted about the site being down.
I'm moving the server to a new DC. Unfortunately it won't be back up until the 29th at the earliest.
Perry
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Yikes, completely forgot that the dependencies were hosted on my domain. I
figured only the buildbot would be affected which isn't super urgent.
I'll try to get it running again on a VPS asap. Hopefully it'll be up by
Monday. I'll send an e-mail once it's up.
…On Sat, May 16, 2020 at 2:36 AM Zain Raza ***@***.***> wrote:
Hi Perry,
Oh damn that's bad.
I cloned the repostiories did as you said above about dependenciesand the
part where boost is downloading seems to be stuck. It keeps ticking
forever. Any leads,
Zain
Sent from my iPhone
> On 16-May-2020, at 7:43 AM, Perry Bhandal ***@***.***>
wrote:
>
> Hi Zain,
> I should have posted about the site being down.
>
> I'm moving the server to a new DC. Unfortunately it won't be back up
until the 29th at the earliest.
>
> Perry
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKAYXUZN65OUND2V4JBUGDRRZNBNANCNFSM4DTKB5KQ>
.
|
Thanks man! I'll remind you in the unlikely case it escaped your mind. |
Hey Zain, Perry |
Hm it's okay, I forked the legacy version as suggested by Massimo, it worked after throwing a boost initialisation failure the first time.
Cheers
… On 18-May-2020, at 12:36 PM, Perry Bhandal ***@***.***> wrote:
Hey Zain,
Sorry, unfortunately it won't be done until Thursday night. It's a definite, though.
Perry
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
A little guidance on the data logging part would be great tho. I have copied the BuildTensegrity.cpp file for a yaml model and added the code in it. Do I need to make it somehow?
… On 18-May-2020, at 12:36 PM, Perry Bhandal ***@***.***> wrote:
Hey Zain,
Sorry, unfortunately it won't be done until Thursday night. It's a definite, though.
Perry
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi Zain et al.,
First - Zain, responding to your individual email to me, I would not
recommend actively using NTRT for something with a deadline like a class
project, much less waiting until one week before the deadline to get
logging started. NTRT is out of date and is not actively used by most
developers. For me in particular, NTRT isn't my research anymore, so all
code is offered as-is. That said, I have a moment, so here are some
pointers on logging / Cmake.
There were already some answers to your questions in various places, so be
sure to search around in the future in case folks take time to respond. In
particular,
(1) The failed boost make is a known problem. As it happens, NTRT only uses
boost libraries that successfully build, no reliance on the broken ones.
So, none of the developers have needed to fix this problem yet. Just run
the setup script twice (or more) until everything completes.
(2) Logging - see
https://ntrtsim.readthedocs.io/en/latest/data-management-and-logging.html.
It's linked in the README.
(3) Building new apps - yes, you will need to put a new CMakeLists file in
the directory you're using, or else your code won't be compiled. The video
tutorial (see the
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/tree/NTRT_Intro
branch) has a bit on this, but does not necessarily cover using new
controllers with YAML files, which I'm assuming is why you're copying
BuildTensegrity around. You can look at any of the applications in src/dev
for example CMakeLists files with new app/model/controller combinations,
the pattern should be relatively self-evident.
Best of luck,
Drew
Andrew P. Sabelhaus
Postdoctoral Research Associate | Soft Machines Lab
Carnegie Mellon University | Mechanical Engineering
My pronouns are he, him, his. (What's this? www.mypronouns.org)
Phone: (301) 807-9842 | www.apsabelhaus.com
----------------------------------------------------------------------------------------------
…On Mon, May 18, 2020 at 9:33 AM Zain Raza ***@***.***> wrote:
A little guidance on the data logging part would be great tho. I have
copied the BuildTensegrity.cpp file for a yaml model and added the code in
it. Do I need to make it somehow?
> On 18-May-2020, at 12:36 PM, Perry Bhandal ***@***.***>
wrote:
>
> Hey Zain,
> Sorry, unfortunately it won't be done until Thursday night. It's a
definite, though.
>
> Perry
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXHUY3PTU5GZILOYGSN523RSE2LHANCNFSM4DTKB5KQ>
.
|
I am having the same CMake for Bullet Physics failed error. I am using Ubuntu
I download and unzip everything. I run setup twice until I get a message saying setup is complete. The first time I run setup it indicates boost initialization failed which the install instruction says is ok. Then I run build and I get the CMake Bullet physics error. I have tried installing, and updating dependencies multiple times. I have tried Ubuntu 20 and 18. I have deleted and unzipped new master folders a few times. Build Error Pastebin Setup Complete message CMakeOutputLog I am running on a raspberry pi4 4gb. I would try to use a virtualmachine on my main computer but the .ova link is not working. I am not sure what else to try. Thank you for any advice you can give. |
@jvmccall The CMake output tells you the issue:
There seems to be a problem with however glib is set up or configured on your computer. I personally have not seen this error before, so it's likely that the problem is unique to your setup as opposed to an issue with NTRT. I would recommend searching around on the internet for similar errors and trying out different solutions. If you figure out what needs to be added to the INSTALL instructions, let us know. For some debugging to compare to a working NTRT installation: The environment variable
But it does appear to be set via CMake internally somehow:
My first suggestion is to check and see if the glib include directory is present on your computer in a similar enough place as mine, and if the glibconfig.h file is somewhere. If not, then you may not have actually installed everything you need. If so, then something may have gone wrong during your setup of CMake. Maybe try installing glib before cmake when |
@apsabelhaus Thank you. I had seen that output and I tried installing libglib2.0 in addition to libglib2.0-dev in case that fixed the problem. I think I did install libglib2.0-dev before cmake. I have been installing the dependencies in the order listed in the INSTALL document. I will check and see if it is in the right location and will post if I find out the solution. In the meantime, is there an active link for the .ova file so I can try setting up a virtualmachine for NTRT? The perry link is down. |
@jvmccall No idea about the virtual machine file. It's been many years since we used it and many years since Perry moved on from the project. I would recommend signing up for the ntrt listservs (see the official website for NTRT on the NASA page) and sending out an ask to current users to see if someone could upload a vm image for you somewhere. |
Running bin/build.sh I got error:
ERROR: CMake for Bullet Physics failed
Previously I finished setup.sh successfully after corrections (issue #217)
CMakeOutPut.log: https://pastebin.com/8XkNvDvH
Command line error:
build_log_francisco_20170717.txt
Please help
The text was updated successfully, but these errors were encountered: