Stream: brlcad

Topic: Compilation Problem


view this post on Zulip Rahil Malik (Jan 09 2018 at 09:21):

Hey . How to make refernce to Cmake to use active tcl/tk from a particular directory ?

view this post on Zulip Rahil Malik (Jan 09 2018 at 10:28):

hey, i got 298 succeeded and 557 failed after the build of 'INSTALL'

view this post on Zulip Rahil Malik (Jan 10 2018 at 07:44):

how to install cmake in ubuntu ?

view this post on Zulip Rahil Malik (Jan 10 2018 at 07:49):

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

view this post on Zulip Rahil Malik (Jan 10 2018 at 07:50):

this is the error when i try to run this

aptitude install sed byacc flex xsltproc

view this post on Zulip Rahil Malik (Jan 10 2018 at 07:52):

actually thats the error for every aptitude command given in the documentation

view this post on Zulip Jeff Sieu (Jan 10 2018 at 09:10):

You need to prepend sudo

view this post on Zulip Jeff Sieu (Jan 10 2018 at 09:10):

i.e. sudo aptitude install or sudo apt install

view this post on Zulip Siddharth (Jan 10 2018 at 13:09):

And enter the password

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:09):

after the error , it comes to a new line -$

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:10):

so if i enter password it will start working ?

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:15):

take a look at this

rahilmalik@ubuntu:~$ aptitude install build-essential make cmake
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
rahilmalik@ubuntu:~$ Password
Password: command not found
rahilmalik@ubuntu:~$

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:17):

can someone help me with this ?

view this post on Zulip Akshit Goel (Jan 10 2018 at 13:22):

Can anyone tell me where the share/db folder is located in a windows computer.

view this post on Zulip Akshit Goel (Jan 10 2018 at 13:23):

C

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:25):

its in the brlcad-svn-trunk folder

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:27):

i don't know about share/db but when i seeach it its in

brlcad-svn-trunk\src\other\gdal\gnm\gnm_frmts\db

view this post on Zulip Jeff Sieu (Jan 10 2018 at 13:28):

You have to enter your actual password

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:28):

i did

view this post on Zulip Jeff Sieu (Jan 10 2018 at 13:28):

Put sudo before every aptitude

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:29):

wasn't that command for installing aptitude

view this post on Zulip Jeff Sieu (Jan 10 2018 at 13:29):

No

view this post on Zulip Jeff Sieu (Jan 10 2018 at 13:29):

Aptitude is a package manager -- it installs packages for you.

view this post on Zulip Jeff Sieu (Jan 10 2018 at 13:29):

In order to install, you need to authorize it with your password.

view this post on Zulip Jeff Sieu (Jan 10 2018 at 13:30):

By doing aptitude install <packages>, you're trying to install said packages without the so-called authorization.

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:30):

Ok, got it . thanks

view this post on Zulip Rahil Malik (Jan 10 2018 at 13:30):

i used sudo before aptitude and it asked for my password

view this post on Zulip Jeff Sieu (Jan 10 2018 at 13:32):

Then key in your password.

view this post on Zulip Rahil Malik (Jan 10 2018 at 19:22):

Now, i installed ubuntu in a vm . now i went till last step on running bin/mged , something related to core abandoned type pops up and doesn't mged . when i type bin/archer, the archer Logo shows up and then closes with same error

view this post on Zulip Rahil Malik (Jan 10 2018 at 19:36):

Now, i installed ubuntu in a vm . now i went till last step on running bin/mged , something related to core abandoned type pops up and doesn't mged . when i type bin/archer, the archer Logo shows up and then closes with same error

The issue was resolved :)

view this post on Zulip Rahil Malik (Jan 13 2018 at 16:02):

How to point Cmake towards the active tcl/tk i just installed ?

view this post on Zulip Daniel Rossberg (Jan 13 2018 at 16:16):

First, you should start a new configuration.
Then, after the first, initialization, run of CMake, set BRLCAD_TCL to SYSTEM and maybe some dependent (BRLCAD_ITCL?) too.
Then, run the CMake configure again and setup the missing/unknown variables related to Tcl as TCL_INCLUDE_DIR.

view this post on Zulip Daniel Rossberg (Jan 13 2018 at 16:25):

Don't forget to do the lrint() trick at the end and hit Configure again.

view this post on Zulip Rahil Malik (Jan 13 2018 at 16:26):

view this post on Zulip Rahil Malik (Jan 13 2018 at 16:26):

like this ?

view this post on Zulip Rahil Malik (Jan 13 2018 at 16:26):

Don't forget to do the lrint() trick at the end and hit Configure again.

Ofcourse :laughing:

view this post on Zulip Rahil Malik (Jan 13 2018 at 16:29):

https://brlcad.zulipchat.com/user_uploads/1549/0AMGwVAYkK_ae3FD_Qc2zHsR/append1.png

Is this step correct ?

view this post on Zulip Rahil Malik (Jan 13 2018 at 16:37):

First, you should start a new configuration.
Then, after the first, initialization, run of CMake, set BRLCAD_TCL to SYSTEM and maybe some dependent (BRLCAD_ITCL?) too.
Then, run the CMake configure again and setup the missing/unknown variables related to Tcl as TCL_INCLUDE_DIR.

after the step where i change the BRLCAD_TCL & BRLCAD_ITCL to system , when i hit configure after some seconds , cmake shows error in configuration, invalid project

view this post on Zulip Daniel Rossberg (Jan 13 2018 at 17:05):

First, you should start a new configuration.
Then, after the first, initialization, run of CMake, set BRLCAD_TCL to SYSTEM and maybe some dependent (BRLCAD_ITCL?) too.
Then, run the CMake configure again and setup the missing/unknown variables related to Tcl as TCL_INCLUDE_DIR.

after the step where i change the BRLCAD_TCL & BRLCAD_ITCL to system , when i hit configure after some seconds , cmake shows error in configuration, invalid project

Then fix these errors ;)

view this post on Zulip Daniel Rossberg (Jan 13 2018 at 17:05):

Set the missing values.

view this post on Zulip Rahil Malik (Jan 13 2018 at 17:06):

i don't get it there are no missing values

view this post on Zulip Rahil Malik (Jan 13 2018 at 17:06):

everything has certain value

view this post on Zulip Rahil Malik (Jan 13 2018 at 17:07):

and also every thing related to tcl/tk has been set to SYSTEM

view this post on Zulip Rahil Malik (Jan 13 2018 at 18:04):

Can someone help me with this ?

view this post on Zulip Daniel Rossberg (Jan 13 2018 at 19:57):

Regarding lrint() no, that's wrong.
Changing comment lines doesn't change anything.
And, in the non-comment line you haven't put the 1 at the end.

view this post on Zulip Rahil Malik (Jan 13 2018 at 20:04):

yea, i forgot , i corrected it (i wasn't thinking straight)

view this post on Zulip Rahil Malik (Jan 14 2018 at 04:49):

Regarding lrint() no, that's wrong.
Changing comment lines doesn't change anything.
And, in the non-comment line you haven't put the 1 at the end.

thank you, lrint() worked : ) , i have submitted with log with more than 600 builds successful :smile:

view this post on Zulip Sean (Jan 16 2018 at 07:07):

a couple of us have been working on a proper fix for the lrint issue. the failure in tcl/tk requires an upgrade of their sources, which has implications for our partners

view this post on Zulip Geeky Arvind (Jan 18 2018 at 17:01):

Arvind Choudhary task as asked by Mr.Armin. Screencast_01-18-2018_102343-PM.webm

view this post on Zulip Armin (LordOfBikes) (Jan 18 2018 at 19:37):

@Geeky Arvind, your upload was again last-minute. Deadline means not later than and your upload arrived just with the deadline, not time to reply. Also the screencast shows a build date of Jan. 18. 2018, deadline for submissions was yesterday, thus the build date should have been Jan. 17. 2018.
Keep an eye on the Google Code-in site and grab your chance in Google Code-in 2018, which may start end of November 2018.


Last updated: Oct 09 2024 at 00:44 UTC