Linux Cmake build

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Re: Linux Cmake build

Postby arpio » Mon Oct 29, 2018 9:14 am

Boost113 wrote:It still fails because I don't want to have to install GLFW. With this change to the "find_package(glfw3 REQUIRED)" part I can properly configure it:e


I added you changes to my fork and did some other changes to Cmake. Added an uninstall script. I could successfully link static in a test project. If not already done then you also need to link against "pthread".

Can you try my fork: https://github.com/arpio/newton-dynamics

Attached is the test Project, the source is from here https://newton-dynamics.readthedocs.io/ ... _ball.html
Code: Select all
1. Unzip attached project.
2. Clone the https://github.com/arpio/newton-dynamics into the thirdParty directory
3. Go to root directory of the project

mkdir build
cd build
cmake ..
make
Attachments
NDTest.zip
(2.11 KiB) Downloaded 301 times
arpio
 
Posts: 23
Joined: Wed Oct 24, 2018 4:33 pm

Re: Linux Cmake build

Postby Julio Jerez » Mon Oct 29, 2018 9:57 am

where should I get the merge from?
https://github.com/arpio/newton-dynamics

or the attachment?
NDTest.zip

can you sync, so that is eases for my to compare you branch, GitHub some time goes bananas when merging and wnat people to do manual merge when going form tow branches that diverge of teh same files. but if you update it should merge without problems.

I replace the cmake version form 3.12 to 3.10 in all the scripts and that will certainly be conflict
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Linux Cmake build

Postby arpio » Mon Oct 29, 2018 10:01 am

From my fork. The attachment is just a test project.

I did sync with you. Exempt the latest bugfix commit
arpio
 
Posts: 23
Joined: Wed Oct 24, 2018 4:33 pm

Previous

Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 7 guests

cron