Stream: brlcad

Topic: GCI


view this post on Zulip Yogi .G (Dec 30 2017 at 10:33):

Hey guys i'm yogi, participating in the GCI and i think the Goliath project is really interesting, and it's my favorite!!!!!

view this post on Zulip Mayur Nath (Dec 30 2017 at 12:11):

Hey there... I'm Mayur and this is my first year participating in GCI. I find BRL CAD very interesting... this is the first time I'm working in 3-D modelling!

view this post on Zulip Siddharth (Dec 30 2017 at 20:07):

Welcome @Mayur Nath

view this post on Zulip Mahdi (Dec 31 2017 at 00:39):

Welcome guys!

view this post on Zulip Siddharth (Dec 31 2017 at 18:49):

Happy New year everyone :smiley:

view this post on Zulip Jeff Sieu (Dec 31 2017 at 18:54):

Happy new year!

view this post on Zulip Armin (LordOfBikes) (Jan 01 2018 at 00:42):

Happy New Year everybody!

view this post on Zulip Mahdi (Jan 01 2018 at 01:06):

Happy New Year guys!

view this post on Zulip Mitesh (Jan 01 2018 at 03:26):

Hi...Happy New Year Everyone :tada: :smiley:

view this post on Zulip Komang Wikananda (Jan 01 2018 at 05:52):

Hey there. I'm Komang. This is my first time participating in GCI. I found BRL-CAD is a good one as my start to 3D modelling!

view this post on Zulip Nwankwo Ifeanyichukwu (Jan 02 2018 at 00:01):

@Jeff Sieu am on compile and install brl cad (I tried to download brl cad source code from the website offered in GCI but I only get the software can anyone give me a better link please )

view this post on Zulip Jeff Sieu (Jan 02 2018 at 00:38):

@Nwankwo Ifeanyichukwu you can do svn checkout svn://svn.code.sf.net/p/brlcad/code/brlcad/trunk brlcad to checkout the latest version of brlcad into a new folder called brlcad.

view this post on Zulip Jeff Sieu (Jan 02 2018 at 00:45):

(deleted)

view this post on Zulip Jeff Sieu (Jan 02 2018 at 00:46):

@Nwankwo Ifeanyichukwu If you were referring to the sourceforge link, you can go to I believe a folder called BRL-CAD Source Code there.

view this post on Zulip Jeff Sieu (Jan 02 2018 at 00:50):

http://brlcad.org/wiki/Building_from_SVN

view this post on Zulip William Cook (Jan 02 2018 at 12:03):

Sorry im new to zulip lol.

view this post on Zulip Divyanshu Mehrotra (Jan 02 2018 at 13:03):

Hi I am Divyanshu participating in GCI. The Appleseed task projects sound very interesting.

view this post on Zulip Siddharth (Jan 02 2018 at 13:26):

Welcome @Divyanshu Mehrotra

view this post on Zulip Jeff Sieu (Jan 02 2018 at 14:25):

Welcome @Divyanshu Mehrotra @William Cook ! Join us at #Google Code-in to discuss topics related to GCI.

view this post on Zulip Sean (Jan 02 2018 at 14:33):

Hey there. I'm Komang. This is my first time participating in GCI. I found BRL-CAD is a good one as my start to 3D modelling!

welcome @Komang Wikananda ! ask questions if you have them. ;)

view this post on Zulip Nwankwo Ifeanyichukwu (Jan 02 2018 at 20:39):

@Jeff Sieu thanks so much

view this post on Zulip Aryan Patadiya (Jan 03 2018 at 13:53):

Hi I am Aryan Patadiya, participating in GCI. I think that creating a Facebook banner for BRL-CAD sounds as very interesting task.

view this post on Zulip Siddharth (Jan 03 2018 at 14:31):

@Aryan Patadiya Welcome!

view this post on Zulip Agape Gonzales (Jan 04 2018 at 12:19):

Hi I'm wondering, why is the model a chess rook task seem to be missing?

view this post on Zulip Rahil Malik (Jan 04 2018 at 12:22):

probably they must have updated their tasks, there is still model a chess bishop, queen, knight and King present .

view this post on Zulip Armin (LordOfBikes) (Jan 04 2018 at 13:00):

Each task has a limited number of instances to claim. The pawn and rook tasks are fully consumed, so it's not possible to claim them.
We can consider to add more instances if there is interest.

view this post on Zulip Sean (Jan 04 2018 at 17:43):

Hi I'm wondering, why is the model a chess rook task seem to be missing?

because all of the other instances have been claimed and we're trying to transition people to other modeling tasks

view this post on Zulip Sean (Jan 04 2018 at 17:44):

I think like one person has tried to model a tennis ball and they didn't succeed

view this post on Zulip Sean (Jan 04 2018 at 17:44):

little surprising, I thought they'd be more fun. good to know the chess pieces are popular -- maybe we should make a set of tutorials around them!

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

What if someone has done a task in advance and when his current task is over, the task that he did in advance is missing?

view this post on Zulip Daniel Rossberg (Jan 04 2018 at 20:14):

Ask her for adding new instances. Sometimes it's possible.

view this post on Zulip Lucas Prieels (Jan 05 2018 at 00:38):

I think like one person has tried to model a tennis ball and they didn't succeed

I'm trying to do the tennis ball right now :). I've succeeded to do the form, but basically it's a sphere in which I took off some parts so I don't see how to change the color of the white stuff in a real ball... Or I could fill the part I took of with white but then it won't be great because it won't be in relief (it's just going to be a white and yellow ball)

view this post on Zulip Lucas Prieels (Jan 05 2018 at 00:51):

Nevermind, I solved it using a white sphere inside a yellow one :)

view this post on Zulip Sean (Jan 05 2018 at 03:00):

@Lucas Prieels don't worry as much on appearance as on it being structurally accurate, the right number of layers, different regions for different materials, etc

view this post on Zulip Manvi Tyagi (Oct 30 2019 at 11:06):

Hello there!
I am a MERN stack developer, flexible on working on different tech-stacks, I have been contributing to open-source projects for around 6 months. I am keenly looking to join Zulip as a mentor for Google Code-In'19.
Can anybody guide me through the process ?
Are there any application forms open for the same ?

view this post on Zulip Shubham Rathore (Oct 30 2019 at 20:47):

Hello @Manvi Tyagi I'm not sure what you are looking for, but here are my 2 cents. This is the Zulip channel for "BRL-CAD". You plan to join Zulip for GCI but I'm afraid Zulip doesn't seem to be a part of GCI 19. You should try hitting the Zulip org's IRC for more details. You are still invited to contribute to BRL-CAD although we work in a different direction to the MERN stack and components. Cheers!

view this post on Zulip Shivansh Yadav (Nov 01 2019 at 08:46):

Hi Everyone! I am a Computer Science undergrad student. I am a MEAN stack and Android developer, I have been contributing to open-source projects for a while and I am looking forward to contribute to BRL-CAD as well .I was also GCI 2016 and 2017 participant in the past and I am looking to join BRL-CAD as a mentor for Google Code-In'19. Can anybody guide me through the process ?

view this post on Zulip Sean (Nov 04 2019 at 21:43):

@Shivansh Yadav Welcome. To be a good GCI mentor, you need to be quite familiar with BRL-CAD basics so you can be of help to others. What brings you to BRL-CAD?

view this post on Zulip Daniel Rossberg (Nov 06 2019 at 20:54):

Hi @jaideep seth You were a GSoC student for a different project. What brings you to BRL-CAD? You need to be quite familiar with its basics to help to others.

I appreciate your wish to become a GCi mentor. But, where do you see your strengths? If you like low level programming languages like C and C++ and technical software which requires some math, BRL-CAD could indeed something for you.

view this post on Zulip jaideep seth (Nov 07 2019 at 06:41):

Hi @Daniel Rossberg , thank you for your response.
Frankly my GSoC 19 Org, INCF didn't get selected for GCI 19. However I did not want to be deprived of this mentoring opportunity.
I have used CAD/ CAM, Open CL, CUDA before. Currently I am attempting to solve minor tasks as suggested here ( http://brlcad.org/wiki/Deuces )
I have a fair knowledge of C, C++ and other low level programming languages too.
Please help me get more involved in the process of Mentoring GCI 19 projects.
Thank you so much!

view this post on Zulip Akshat Jindal (Nov 07 2019 at 16:38):

Hi, I am new to this organisation but really liked the work that you guys did. I would love to be a mentor if given the opportunity for GCI'19 and continue to work with the future and current projects. How could I apply for being a mentor?

view this post on Zulip Sean (Nov 08 2019 at 13:45):

@jaideep seth The Deuces page is a little out of date, I suggests you start with something in the TODO file or BUGS file. For example, the first backlogged entry in the TODO file is "overlay command needs to accept multiple file arguments" which is a simple change to src/libged/overlay.c

view this post on Zulip Sean (Nov 08 2019 at 13:46):

The next minor one "add unit tests for primitive callback routines (e.g., bbox)" is another simple one (unit tests are in src/librt/tests/ subdir).

view this post on Zulip Sean (Nov 08 2019 at 13:48):

@Akshat Jindal same goes for you. You’re more than welcome to be a mentor, but you’ll need to first demonstrate you can be a capable contributor over the next couple weeks by submitting work, show you can be independently productive, show you’re familiar with the code, show you are or will be effective at giving advice to others, etc.

view this post on Zulip Sean (Nov 08 2019 at 13:48):

To be an effective mentor, you'll simply need to be an active contributor. ;)

view this post on Zulip Jeffrey Liu (Dec 03 2019 at 02:56):

Hi, I'm currently on the Appleseed integration task and I have just imported my sphere obj into the project. Is there a specific way the sphere should be rendered? (render it by itself with an emissive material, or add other objs as light, etc)

view this post on Zulip Sean (Dec 03 2019 at 02:56):

Woah, you're just jumping right in! love it

view this post on Zulip Sean (Dec 03 2019 at 02:57):

There's not, the task is more about you getting set up with appleseed, familiar with and successful at any rendering with imported geometry

view this post on Zulip Sean (Dec 03 2019 at 02:59):

by the way, that task chain is one of the most near-and-dear important to me, we want it to be successful because it's the foundation of our next generation rendering.

view this post on Zulip Sean (Dec 03 2019 at 03:01):

there's also a lot of things that will help you get rolling as this path has been forged before, but know that the intention is to add more tasks for anyone that gets all the way through this initial set.

view this post on Zulip Jeffrey Liu (Dec 03 2019 at 03:06):

Ok, thanks! I'll keep that in mind working through these tasks. I've used Blender a lot before so rendering in general interests me a lot.

view this post on Zulip Sean (Dec 03 2019 at 03:06):

now I know why your name is so familiar! we had a GCI student two years ago, one of our finalists, and his name was similar to yours, jeff sieu.

view this post on Zulip Sean (Dec 03 2019 at 03:07):

@Jeffrey Liu yeah, that's great to hear -- how are your coding skills?

view this post on Zulip Jeffrey Liu (Dec 03 2019 at 03:13):

I'd say I'm proficient in Python, Java, and C++, but I don't have much "real-world" experience with it in the sense that I haven't really worked on any large-scale projects before. I've mainly used C++ to work with OpenGL and I think I have a decent understanding of how OpenGL rendering works, if that's of any use.

view this post on Zulip Sean (Dec 03 2019 at 03:14):

certainly. I think you'll do well here. :)

view this post on Zulip Jeffrey Liu (Dec 03 2019 at 03:16):

Thanks! I'm really excited to learn more about graphics :)

view this post on Zulip Sean (Dec 03 2019 at 03:33):

@Jeffrey Liu might be of interest, just added one of the most simple tasks in computer graphics -- count colors in an image: don't know if you can get to it, but it's this task:
https://codein.withgoogle.com/dashboard/tasks/5649945713967104/

view this post on Zulip Jeffrey Liu (Dec 03 2019 at 03:54):

Thanks for the heads up! I'll check it out as soon as I'm done with my current task.

view this post on Zulip Jeffrey Liu (Dec 03 2019 at 15:17):

Sorry this is a bit of a beginner question, but is there anyway I would be able to test my changes on src/util/pixcount.c without needing to remake and recompile the source?

view this post on Zulip Daniel Rossberg (Dec 03 2019 at 18:01):

The build environment (make, Visual Studio, ...) usually take care that only the new/changed files will be compiled again. It should therefore be save to "build all". However, you can restrict the build to the pixcount program with make pixcount or selecting the pixcount project in the Visual Studio GUI and build this one only.

view this post on Zulip Jeffrey Liu (Dec 03 2019 at 19:36):

Oh I see, thank you!

view this post on Zulip Sean (Dec 04 2019 at 03:40):

@Jeffrey Liu just out of curiosity, what platform are you on?

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 03:41):

I'm still on Windows right now, I was having some trouble properly compiling on Debian Buster. Would that be an issue?

view this post on Zulip Sean (Dec 04 2019 at 04:13):

Nope, it's not an issue. Feel free to report the compilation failure on the Bug Report task. It's likely something simple that can be fixed, so you might as well get credit for it as a task. ;)

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:20):

Hi, I was recompiling on revision 74418, but it seems like there's still another issue; a lot of projects are failing because libged.lib and libtclcad.lib are not compiling properly. @Sean do you have any idea as to what could be causing this? I believe my CMake configuration is correct, as everything is set to BUNDLED.

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:21):

My build log doesn't really suggest anything going wrong either - there are no errors until the libged project fails out of the blue.

view this post on Zulip Sean (Dec 04 2019 at 07:22):

@Jeffrey Liu Heh, not without a build log showing what the errors are. That's basically saying "something is wrong, do you know why?"

view this post on Zulip Sean (Dec 04 2019 at 07:22):

So what is the libged error?

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:23):

To be honest, I don't really know because this is all that happens in the build log: pasted image

view this post on Zulip Sean (Dec 04 2019 at 07:23):

That's only the summary log.

view this post on Zulip Sean (Dec 04 2019 at 07:24):

or the error is further back

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:27):

Oh my bad, I was under the impression that the output log that printed text while building was the build log. Is there a difference between that and the actual build log?

view this post on Zulip Sean (Dec 04 2019 at 07:29):

What's in your Error List?

view this post on Zulip Sean (Dec 04 2019 at 07:30):

studio actually makes it a little tricky to get the error sometimes, depending on the type of error

view this post on Zulip Sean (Dec 04 2019 at 07:30):

can you post the entire output log?

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:31):

Sure: Output-Build.txt

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:32):

For some reason, my error list says that there's 0 errors.

view this post on Zulip Sean (Dec 04 2019 at 07:34):

2>CMake Error at CMakeTmp/distcheck_repo_verify.cmake:295 (message):
109>ell_brep.cpp
2>CUSTOMBUILD : error : Distcheck cannot proceed until build files and repo are in sync (set
2> -DFORCE_DISTCHECK=ON to override)

view this post on Zulip Sean (Dec 04 2019 at 07:35):

159>C:\Users\JeffL\Downloads\Google Code-in 2019\Source\brlcad\r74418\src\libged\./debug_vars.c(114,5): error C2099: initializer is not a constant

view this post on Zulip Sean (Dec 04 2019 at 07:35):

so those are the two main errors, everything else cascades from there

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:36):

Oh wow, I didn't spot those at all. I'm a little confused about the first one because I didn't touch the files at all after checking it out.

view this post on Zulip Sean (Dec 04 2019 at 07:37):

the first one is not surprising -- what build target did you select in studio?

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:37):

Debug x64

view this post on Zulip Sean (Dec 04 2019 at 07:37):

that's the profile, which target?

view this post on Zulip Sean (Dec 04 2019 at 07:39):

I think you'll want to select ALL_BUILD iirc

view this post on Zulip Sean (Dec 04 2019 at 07:40):

the real error is that debug_vars.c error which causes libged to fail, which causes everything that depends on libged to also fail

view this post on Zulip Sean (Dec 04 2019 at 07:41):

that's a relatively new file, automatically generated during compile and it apparently has an issue with the compilation mode we're using on windows

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:42):

Oh so regarding the build target, I believe I just opened BRLCAD.sln to compile. Would the correct method be opening ALL_BUILD.vcxproj instead?

view this post on Zulip Sean (Dec 04 2019 at 07:44):

opening the BRLCAD solution is fine, but you'll still want to then specify the right target/project to compile -- otherwise the default will be to build all targets which is not something you want. that will compile everything in debug, compile everything again in release, compile distribution checks (many of which are not ported to windows), compile a slew of other tests, build documentation outputs (which requires tools you don't likely have, etc...

view this post on Zulip Sean (Dec 04 2019 at 07:45):

ALL_BUILD is a target that is just what you'd expect, just the main libraries and binaries you'd typically expect

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:48):

I guess that explains why the builds were taking so long then. Thank you for the insight! I didn't really know what build targets were before.

view this post on Zulip Sean (Dec 04 2019 at 07:48):

oh the build will still take a long time :)

view this post on Zulip Sean (Dec 04 2019 at 07:48):

but shouldn't be nearly as long if it was building all solutions

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:49):

Yeah, it took me around 2 hours to build the first time

view this post on Zulip Sean (Dec 04 2019 at 07:49):

typical build should be about 2-20 min depending on your computer

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:49):

So for the second error with libged, is there anything I could do to circumvent it?

view this post on Zulip Sean (Dec 04 2019 at 07:50):

2min would be a 64+ core machine :)

view this post on Zulip Sean (Dec 04 2019 at 07:50):

I'm testing a fix now

view this post on Zulip Sean (Dec 04 2019 at 07:51):

so what you'd do once you saw that would be to look at the file it's failing on (debug_vars.c) and go to the line it's complaining about, and see if you can understand the error

view this post on Zulip Sean (Dec 04 2019 at 07:52):

this is an auto-generated source file, so you'd then have to read the src/libged/CMakeLists.txt build file to figure out how it was generated, which would lead you to misc/tools/debug2c

view this post on Zulip Sean (Dec 04 2019 at 07:53):

to just test, you could probably just modify the generated debug_vars.c file until you got it working. you'd then modify the debug2c.cxx program to make the change permanent.

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 07:55):

I'm looking at the CMakeLists.txt right now. Would "COMMAND debug2c" be the factor leading to misc/tools/debug2c?

view this post on Zulip Sean (Dec 04 2019 at 07:56):

yes

view this post on Zulip Sean (Dec 04 2019 at 07:57):

that one would be a little more tricky to discover on Windows, but on Linux, you'd simply search all the CMakeLists.txt files in the checkout for debug2c to see where it was defined

view this post on Zulip Sean (Dec 04 2019 at 07:57):

that's what would lead you to misc/tools

view this post on Zulip Sean (Dec 04 2019 at 07:57):

or even more lazy: grep -r debug2c .

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:01):

Haha yeah, maybe I should try to compile on Linux again after this

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:03):

So I think that the error in debug_vars.c might be caused by the fact that the array is a global variable that's being initialized by nonliterals.

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:04):

the dbg_vars array**

view this post on Zulip Sean (Dec 04 2019 at 08:14):

yep, you got it

view this post on Zulip Sean (Dec 04 2019 at 08:14):

it's fine for C99 and C11, but not for the stricter compilation mode it's using

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:15):

I'm not really sure how to implement an actual fix, since the variables get referenced later on, but one of my guesses (if it's even possible) would be to maybe instead write debug_vars.c in C++?

view this post on Zulip Sean (Dec 04 2019 at 08:17):

yes, that's likely a fix that would work

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:18):

oh wow, I guess I'll try to do that and see if it works.

view this post on Zulip Sean (Dec 04 2019 at 08:21):

looks like you also have to propagate a c++ conversion to debug.c in libged, but it does seem to work for me on Mac.

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:23):

Sorry I'm pretty unfamiliar with the terminology - does that mean that debug.c should also be converted into c++?

view this post on Zulip Sean (Dec 04 2019 at 08:23):

yep

view this post on Zulip Sean (Dec 04 2019 at 08:24):

give it a try and see if it works, then you can "svn up" to see how what you did compares with what I just committed

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:25):

so all I would need to do is adjust the import statements of both files to match c++, right? unless there's something I'm missing?

view this post on Zulip Sean (Dec 04 2019 at 08:25):

import statements?

view this post on Zulip Sean (Dec 04 2019 at 08:25):

this isn't javascript ;)

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:25):

Sorry I meant include lol

view this post on Zulip Sean (Dec 04 2019 at 08:26):

there's only one include that I saw, but yes, you'd have to update it of course

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:27):

Wait so aside from that is there anything else I would need to adjust?

view this post on Zulip Sean (Dec 04 2019 at 08:28):

you'll just have to compile and find out :)

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:34):

Alright, I'm recompiling now to see if anything else needs adjusting. So far I've only changed the include statements.

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:44):

Is there a way to check which build target I'm on? I just want to be extra sure that I don't end up with another 2 hour compile time.

view this post on Zulip Himanshu (Dec 04 2019 at 08:50):

hi @Jeffrey Liu

view this post on Zulip Himanshu (Dec 04 2019 at 08:50):

what's up

view this post on Zulip Himanshu (Dec 04 2019 at 08:50):

:)

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 08:50):

Hi!

view this post on Zulip Jeffrey Liu (Dec 04 2019 at 09:18):

Darn, there was still an issue with the build. It's really late so I'll take another look at it when I wake up, but thank you so much for all of the help @Sean :) I think I have a better understanding of the source now.

view this post on Zulip Himanshu (Dec 04 2019 at 09:42):

seems like I am giving wrong directory name in CMakeLists.txt for building BRL-CAD Set up the build environment by using the top level CMakeLists.txt file

view this post on Zulip Himanshu (Dec 04 2019 at 09:44):

I wrote this
# We need BRL-CAD find_package(BRLCAD REQUIRED) include_directories(${BRLCAD_BASE_DIR}) include_directories( ${RT3_SOURCE_DIR}/include )

view this post on Zulip Himanshu (Dec 04 2019 at 09:46):

is BRLCAD_BASE_DIR correct or BRL_INCLUDE_DIR or any ?

view this post on Zulip Himanshu (Dec 04 2019 at 09:50):

because cmake throws errors
Could not find BRL-CAD root directory - please set BRLCAD_BASE_DIR in CMake Call Stack (most recent call first): CMakeLists.txt:131 (find_package)

view this post on Zulip Daniel Rossberg (Dec 04 2019 at 11:39):

Darn, there was still an issue with the build. It's really late so I'll take another look at it when I wake up, but thank you so much for all of the help Sean :) I think I have a better understanding of the source now.

@Jeffrey Liu I put some pixie dust on the source code. Please try again after a svn update.

view this post on Zulip Daniel Rossberg (Dec 04 2019 at 11:42):

@Himanshu Sekhar Nayak First, it is important that you really INSTALLED!!! BRL-CAD in the "Compile and Install BRL-CAD from source code" task.

view this post on Zulip Himanshu (Dec 04 2019 at 12:03):

yeah I forgot to make install

view this post on Zulip Himanshu (Dec 04 2019 at 12:07):

:\

view this post on Zulip Daniel Rossberg (Dec 04 2019 at 12:07):

And, if you are on Linux, make sure that the bin directory of your installation is included in your PATH environment variable.

view this post on Zulip Himanshu (Dec 04 2019 at 12:09):

yeah using linux

view this post on Zulip Mayank Goyal (Dec 04 2019 at 12:18):

how to change height of cylinder using edit option

view this post on Zulip Mayank Goyal (Dec 04 2019 at 12:18):

I tried by selecting Set H and then did but it wasn't working

view this post on Zulip Himanshu (Dec 04 2019 at 12:47):

And, if you are on Linux, make sure that the bin directory of your installation is included in your PATH environment variable.

yeah you are correct. This is the thing which failing build

view this post on Zulip Himanshu (Dec 04 2019 at 12:48):

now it's good

view this post on Zulip Himanshu (Dec 04 2019 at 12:48):

:)

view this post on Zulip Himanshu (Dec 04 2019 at 12:52):

btw while using make in rt^3, I got an error seems like
In file included from /home/himanshu/brlcad-code/rt^3/misc/tools/re2c/re2cParse_bootstrap_parser/parser.yy:15:0: /home/himanshu/brlcad-code/rt^3/include/brlcad/globals.h:34:29: fatal error: brlcad/cicommon.h: No such file or directory #include <brlcad/cicommon.h> ^ compilation terminated.

view this post on Zulip Himanshu (Dec 04 2019 at 13:22):

but cicommon.h is still in that brlcad dir

view this post on Zulip Himanshu (Dec 04 2019 at 13:26):

btw I just removed brlcad/cicommon.h and named it to cicommon.h and now it is compiling

view this post on Zulip Sumagna Das (Dec 04 2019 at 13:55):

i have claimed the task of installing and running brl-cad

view this post on Zulip Sumagna Das (Dec 04 2019 at 13:58):

i cant find the mged window or dont know how to open it. can anyone pls help me?

view this post on Zulip Himanshu (Dec 04 2019 at 13:58):

hey @Sumagna Das

view this post on Zulip Himanshu (Dec 04 2019 at 13:59):

have you obtain the source and build, compile it yet ?

view this post on Zulip Himanshu (Dec 04 2019 at 13:59):

if yes mged part is not more far for you :)

view this post on Zulip Himanshu (Dec 04 2019 at 14:00):

hi @Sean

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:00):

@Himanshu Sekhar Nayak i have installed a pre compiled version. i am gonna obtain the source and build it next.

view this post on Zulip Himanshu (Dec 04 2019 at 14:03):

while building rt^3, I changed the header file to brlcad/cicommon.h to cicommon.h and the compiling process went to 86% and got struck

view this post on Zulip Himanshu (Dec 04 2019 at 14:03):

`
Scanning dependencies of target docbook-docbook-system-mann
[ 86%] Generating ../../../../share/doc/html/mann/3ptarb.html, ../../../../share/man/mann/3ptarb.nged
CMake Error at dbp_3ptarb-7f3c6a618a686426bb4fe8ec003e96b0.cmake:82 (message):
xsltproc build failure: 5

compilation error: file
/home/himanshu/brlcad-code/rt%5E3/doc/docbook/system/../resources/brlcad/brlcad-man-xhtml-stylesheet.xsl
line 10 element import

xsl:import : invalid URI reference
file:////home/himanshu/brlcad-code/rt^3/doc/docbook/resources/other/standard/xsl/xhtml-1_1/docbook.xsl

compilation error: file
/home/himanshu/brlcad-code/rt%5E3/doc/docbook/system/../resources/brlcad/brlcad-man-xhtml-stylesheet.xsl
line 13 element import

xsl:import : invalid URI reference
file:////home/himanshu/brlcad-code/rt^3/doc/docbook/resources/brlcad/brlcad-common.xsl

Call Stack (most recent call first):
dbp_3ptarb-7f3c6a618a686426bb4fe8ec003e96b0.cmake:184 (XSLTPROC)

doc/docbook/system/mann/CMakeFiles/docbook-docbook-system-mann.dir/build.make:516: recipe for target 'share/doc/html/mann/3ptarb.html' failed
make[2]: *** [share/doc/html/mann/3ptarb.html] Error 1
CMakeFiles/Makefile2:43829: recipe for target 'doc/docbook/system/mann/CMakeFiles/docbook-docbook-system-mann.dir/all' failed
make[1]: *** [doc/docbook/system/mann/CMakeFiles/docbook-docbook-system-mann.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

`
@Sean

view this post on Zulip Himanshu (Dec 04 2019 at 14:05):

Himanshu Sekhar Nayak i have installed a pre compiled version. i am gonna obtain the source and build it next.

have you went through install instructions after downloading the file ?

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:06):

do u mean the whole install wizard. if yes, yea i have done that

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:06):

oh i found the mged program

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:06):

it wasnt on the recently installed list on the start menu

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:07):

so i couldnt find it

view this post on Zulip Himanshu (Dec 04 2019 at 14:07):

very nice :)

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:07):

my exams are going on so just gonna see how the tasks in google code in works like

view this post on Zulip Himanshu (Dec 04 2019 at 14:08):

yeah is it your first time in this competition ?

view this post on Zulip Himanshu (Dec 04 2019 at 14:08):

if yes you are gonna learn and enjoy lot of things

view this post on Zulip Himanshu (Dec 04 2019 at 14:08):

:)

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:08):

yea

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:09):

:grinning_face_with_smiling_eyes:

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:09):

my exams end this friday and then its holidays for me and my friends

view this post on Zulip Himanshu (Dec 04 2019 at 14:10):

:)

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:13):

so many indians in the server. very happy to see that.

view this post on Zulip Himanshu (Dec 04 2019 at 14:16):

yeah

view this post on Zulip Himanshu (Dec 04 2019 at 14:16):

mentors coming soon

view this post on Zulip Himanshu (Dec 04 2019 at 14:16):

timing issues

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:19):

i will just submit this task today and then i will start going in this competition full time after saturday

view this post on Zulip Himanshu (Dec 04 2019 at 14:19):

great go on !!

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:20):

windows explorer just crashed

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:21):

only google chrome is open and i cant even switch between things

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:21):

bye

view this post on Zulip Himanshu (Dec 04 2019 at 14:21):

bye

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:22):

brl cad has broken shortcut creating system

view this post on Zulip Himanshu (Dec 04 2019 at 14:22):

??

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:23):

if i could fix it for all users, i would have done that. the manuals in the start menu doesnt point to the right html file

view this post on Zulip Himanshu (Dec 04 2019 at 14:26):

hey @Erik

view this post on Zulip Erik (Dec 04 2019 at 14:27):

It'd be better to ask/comment openly, "don't ask to ask", others may have answers :)

view this post on Zulip Sumagna Das (Dec 04 2019 at 14:28):

me,erik?

view this post on Zulip Sean (Dec 04 2019 at 14:35):

It’s good advice for everyone @Sumagna Das :)

view this post on Zulip Sean (Dec 04 2019 at 14:36):

And welcome

view this post on Zulip Sean (Dec 04 2019 at 14:37):

Did you compile and install BRL-CAD from checkout before trying the rt^3 build?

view this post on Zulip Himanshu (Dec 04 2019 at 14:37):

yes

view this post on Zulip Himanshu (Dec 04 2019 at 14:37):

after building BRL-CAD from source, I went to build rt^3

view this post on Zulip Sean (Dec 04 2019 at 14:38):

Your comments above indicate you used a precompiled install

view this post on Zulip Sean (Dec 04 2019 at 14:38):

What’s your brlcad version?

view this post on Zulip Himanshu (Dec 04 2019 at 14:39):

What’s your brlcad version?

how to know the version ? like brl-cad --version or any ?

view this post on Zulip Sean (Dec 04 2019 at 14:40):

Run rt

view this post on Zulip Sean (Dec 04 2019 at 14:40):

What is the output?

view this post on Zulip Himanshu (Dec 04 2019 at 14:42):

What is the output?

7.30.3

view this post on Zulip Sean (Dec 04 2019 at 14:43):

Can you please send the whole thing?

view this post on Zulip Sean (Dec 04 2019 at 14:43):

Or even screenshot the whole output

view this post on Zulip Himanshu (Dec 04 2019 at 14:45):

Or even screenshot the whole output

Screenshot.png Screenshot-1.png

view this post on Zulip Sean (Dec 04 2019 at 14:45):

And @Himanshu Sekhar Nayak are you having the same problem?

view this post on Zulip Himanshu (Dec 04 2019 at 14:46):

which problem ?

view this post on Zulip Sean (Dec 04 2019 at 14:46):

Heh

view this post on Zulip Himanshu (Dec 04 2019 at 14:47):

:\

view this post on Zulip Sean (Dec 04 2019 at 14:47):

No worries my mistake

view this post on Zulip Sean (Dec 04 2019 at 14:48):

Sumanga wasn’t installed yet

view this post on Zulip Himanshu (Dec 04 2019 at 14:49):

hey @Daniel Rossberg :)

view this post on Zulip Sean (Dec 04 2019 at 14:55):

@Himanshu Sekhar Nayak where did you install to and what changes have you made testing? Just cicommon?

view this post on Zulip Himanshu (Dec 04 2019 at 15:04):

Himanshu Sekhar Nayak where did you install to and what changes have you made testing? Just cicommon?

I kept rt^3 inside brl-code directory and yes I just changed brlcad/cicommon.h to cicommon.h because it is throwing error when compiling rt^3 but I changed the header file and compilation struck in 86

view this post on Zulip Himanshu (Dec 04 2019 at 15:16):

let me get start over

view this post on Zulip SHEU AYOMIDE ABDULAZEEZ (Dec 04 2019 at 22:46):

How are you Sir?

view this post on Zulip SHEU AYOMIDE ABDULAZEEZ (Dec 04 2019 at 22:48):

I just finished and submitted a task on GCI. Worked on the brlcad about page.
It was cool though made some correction

view this post on Zulip SHEU AYOMIDE ABDULAZEEZ (Dec 04 2019 at 22:48):

Any mentor available to check that out?

view this post on Zulip Jeffrey Liu (Dec 05 2019 at 02:46):

Hi, I'm currently working on the pixcount task and I just had a question about the prompt. It recommends using an int32_t to store an RGBA value index, but from what I've found from both the internet as well as the code, pix files only have RGB components. While I'd probably still be using an int32_t regardless, I just wanted to confirm if there is an alpha component or not so I don't parse incorrectly.

view this post on Zulip Kartik kumar (Dec 05 2019 at 05:09):

@Jeffrey Liu
Nice to know that you already have experience of C++ and OpenGL. If you are excited about LibreCAD then you can try these tasks.
https://codein.withgoogle.com/dashboard/tasks/5076591336488960/
https://codein.withgoogle.com/dashboard/tasks/5702102991503360/

view this post on Zulip Kartik kumar (Dec 05 2019 at 05:11):

It would be technical and a great learning experience

view this post on Zulip Kartik kumar (Dec 05 2019 at 05:12):

Take them any time when you are free from any other tasks

view this post on Zulip Jeffrey Liu (Dec 05 2019 at 05:21):

Those look quite interesting! I don't have any experience with LibreCAD but I'd love to learn about it.

view this post on Zulip Jeffrey Liu (Dec 05 2019 at 05:22):

I'll definitely check them out when I can!

view this post on Zulip Mayank Goyal (Dec 05 2019 at 06:15):

I have submitted the task for review ( Task: Complete BRL - CAD tutorial, lesson 1-8)

view this post on Zulip Jeffrey Liu (Dec 05 2019 at 07:12):

Hi, when I'm submitting a patch on sourceforge, is the only required attachment the "PATCH" file?

view this post on Zulip Jeffrey Liu (Dec 05 2019 at 07:17):

I just made a really big mistake... For some reason I wasn't logged in when I saved the patch. @Sean could I comment on my anonymously submitted patch to indicate that it is mine?

view this post on Zulip Himanshu (Dec 05 2019 at 07:49):

hi @Daniel Rossberg what does this mean 'Run the printTitle program with a BRL-CAD database of your choice' ?

view this post on Zulip Himanshu (Dec 05 2019 at 07:49):

which BRL-CAD database ?

view this post on Zulip Himanshu (Dec 05 2019 at 07:49):

you mean .g files ?

view this post on Zulip Himanshu (Dec 05 2019 at 07:49):

or any ?

view this post on Zulip Daniel Rossberg (Dec 05 2019 at 08:06):

@Himanshu Sekhar Nayak: Jeffrey is right, they refer to the build targets. On Linux, you can build them separately with make coreinterface, for example, separately. In Visual Studio these are the projects inside the solution. Not all build targets can be build with Visual Studio. That's why I listed the required ones explicitly.

On Linux, the generated executables can be found in the bin and test-bin directories.

BRL-CAD database: https://brlcad.org/w/images/2/2d/BRL_CAD_g_format_V5.pdf
The database files have usually names following the pattern *.g. You'll find many of them for testing in your BRL-CAD install directory at share/db.

view this post on Zulip Daniel Rossberg (Dec 05 2019 at 08:12):

In CMake notation, RT3 is the project and coreinterface etc. the build targets.

view this post on Zulip Himanshu (Dec 05 2019 at 08:18):

@Daniel Rossberg got this
himanshu@asus:~/brl-code/rt^3/build $ tests-bin/printTitle ~/brl-code/brlcad-code/build/share/db/operators.g CSG operators by example

view this post on Zulip Himanshu (Dec 05 2019 at 08:18):

but no luck with hellobrlcad

view this post on Zulip Himanshu (Dec 05 2019 at 08:20):

himanshu@asus:~/brl-code/rt^3/build $ tests-bin/hellobrlcad ~/brl-code/brlcad-code/build/share/db/xmp.g

view this post on Zulip Daniel Rossberg (Dec 05 2019 at 08:21):

Daniel Rossberg got this
himanshu@asus:~/brl-code/rt^3/build $ tests-bin/printTitle ~/brl-code/brlcad-code/build/share/db/operators.g CSG operators by example

And, what does mged say? (Load operators .g in mged and type title.)

view this post on Zulip Himanshu (Dec 05 2019 at 08:23):

Daniel Rossberg got this
himanshu@asus:~/brl-code/rt^3/build $ tests-bin/printTitle ~/brl-code/brlcad-code/build/share/db/operators.g CSG operators by example

And, what does mged say? (Load operators .g in mged and type title.)

CSG operators by example Screenshot.png

view this post on Zulip Daniel Rossberg (Dec 05 2019 at 08:24):

himanshu@asus:~/brl-code/rt^3/build $ tests-bin/hellobrlcad ~/brl-code/brlcad-code/build/share/db/xmp.g

Well, yes, this isn't much, but it looks like as this is how it currently behaves :thinking:

view this post on Zulip Himanshu (Dec 05 2019 at 08:25):

can I do something for it ?

view this post on Zulip Daniel Rossberg (Dec 05 2019 at 08:25):

Daniel Rossberg got this
himanshu@asus:~/brl-code/rt^3/build $ tests-bin/printTitle ~/brl-code/brlcad-code/build/share/db/operators.g CSG operators by example

And, what does mged say? (Load operators .g in mged and type title.)

CSG operators by example Screenshot.png

Therefore, printTitle prints the title of a BRL-CAD database - perfect.

view this post on Zulip Daniel Rossberg (Dec 05 2019 at 08:26):

can I do something for it ?

I could make up a task for fixing this. But, this is far behind what's required for the compilation task.

view this post on Zulip Himanshu (Dec 05 2019 at 08:28):

if it's possible, i will give my best to solve it

view this post on Zulip Daniel Rossberg (Dec 05 2019 at 08:34):

I recommend to go on with the "remove throw" tasks, because the required changes are trivial, but they give you an introduction into the programming work itself. There you can learn changing a file, recompile it, rebuild the library/executable, creating a patch file, and submitting it to the GCi task.

view this post on Zulip Himanshu (Dec 05 2019 at 08:36):

so for now should I submit the task and choose the remove throw task ?

view this post on Zulip Himanshu (Dec 05 2019 at 08:44):

I uploaded both screenshots for printTitle and hellobrlcad program for working and not working

view this post on Zulip Himanshu (Dec 05 2019 at 08:46):

:)
Thanks @Daniel Rossberg

view this post on Zulip Jeffrey Liu (Dec 05 2019 at 08:52):

Hi @Daniel Rossberg , I believe that my patch file ended up including a lot of white space because my first changes broke something and I ended up copypasting the original code back in before editing the code again. I think this was reflected in my patch file, which makes it difficult to see my actual changes. Is there anything I could do so that only my actual changes are reflected?

view this post on Zulip Jeffrey Liu (Dec 05 2019 at 08:56):

Otherwise, I could revert back to the most recent revision and then edit the file again.

view this post on Zulip Mayank Goyal (Dec 05 2019 at 11:26):

I have submitted the task for review ( Task: Complete BRL - CAD tutorial, lesson 1-8)

view this post on Zulip Mayank Goyal (Dec 05 2019 at 11:27):

please review so that I can begin with new task or improvise it

view this post on Zulip Sahibpreet Kaur (Dec 05 2019 at 11:40):

Can you send the link please @Mayank Goyal I don't see your name on the list! I might be looking at a different task

view this post on Zulip Daniel Rossberg (Dec 05 2019 at 11:46):

Otherwise, I could revert back to the most recent revision and then edit the file again.

This is indeed what I recommend to do. Keep a copy of your current (changed) version of the file. This makes it easier to do the changes again.

view this post on Zulip Mayank Goyal (Dec 05 2019 at 12:21):

https://codein.withgoogle.com/dashboard/task-instances/4605933116719104/

view this post on Zulip Sean (Dec 05 2019 at 12:25):

I just made a really big mistake... For some reason I wasn't logged in when I saved the patch. Sean could I comment on my anonymously submitted patch to indicate that it is mine?

That's not a really big mistake @Jeffrey Liu :) You're fine. you can comment on it if you like or just link to it in a task comment.

view this post on Zulip Mayank Goyal (Dec 05 2019 at 12:26):

https://codein.withgoogle.com/dashboard/task-instances/4605933116719104/

the link of the task

view this post on Zulip Jeffrey Liu (Dec 05 2019 at 12:54):

Cool, good to know :) I'm currently fixing my patch file so that it's more readable, and I'll leave it in another comment.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 02:58):

Hey, I had a question about developing applications on MVSC. Should I be creating my C++ files inside of another solution (such as rtexample.vcxproj) so that all the required information is already correctly set up? If not, what should I be doing instead so that the includes still work correctly?

view this post on Zulip SHEU AYOMIDE ABDULAZEEZ (Dec 06 2019 at 04:21):

Submitted a review

Web: Creating About page

https://codein.withgoogle.com/dashboard/task-instances/6752777821224960/

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 07:31):

Hey, I had a question about developing applications on MVSC. Should I be creating my C++ files inside of another solution (such as rtexample.vcxproj) so that all the required information is already correctly set up? If not, what should I be doing instead so that the includes still work correctly?

It depends on what you want to do. If your application is like another BRL-CAD program, you can use this as a template and copy its lines in the CMake.txt and rewrite them with your source file.

At the other hand, rt^3 is a set of applications/libraries build on top of a BRL-CAD installation. You could use one one of them as template and use a copy of its directory in rt^3/src as starting point.

view this post on Zulip Himanshu (Dec 06 2019 at 09:50):

Hey @Daniel Rossberg and @Sean just switched to MX 19(running on Debian Buster) but I compiled and run mged and instead of getting a mged window, I am getting this

h1manshu@asus:~/brlcad/brlcad-code/build $ bin/mged BRL-CAD Release 7.30.3 Geometry Editor (MGED) Fri, 06 Dec 2019 14:36:31 +0530, Compilation 0 h1manshu@asus attach (nu|txt)[nu]?

view this post on Zulip Himanshu (Dec 06 2019 at 09:52):

but in MX 18, I am getting a mged window
Is it normal or any ?

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 09:56):

It looks like you haven't installed the X-Window development packages (and maybe the OpenGL development packages are missing too). If you follow the links in the compile-n-install task description you should find some guesses how they are called.

view this post on Zulip Himanshu (Dec 06 2019 at 09:58):

my bad
sorry for that

view this post on Zulip Himanshu (Dec 06 2019 at 10:00):

:disappointed:

view this post on Zulip Himanshu (Dec 06 2019 at 11:36):

ping @Daniel Rossberg Is your rt^3 compiling well because mine throws error for qt5 ?
https://paste.ofcode.org/qbwyrVbaj64AFpbA6KJuFc

view this post on Zulip Erik (Dec 06 2019 at 11:37):

@Himanshu Sekhar Nayak https://brlcad.org/wiki/Compiling lists a set of debian deps (at one point)

view this post on Zulip Erik (Dec 06 2019 at 11:38):

@Himanshu Sekhar Nayak your compile errors point towards a missing or incorrect libpng

view this post on Zulip Himanshu (Dec 06 2019 at 11:39):

thanks for info

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 11:42):

This is a known issue. I commented on it here on Zulip before GCi started.

The with BRL-CAD bundled libpng conflicts with the system libpng. You can fix this by using the system libpng in the BRL-CAD build. Before you can do this, you have to install the libpng development package.

view this post on Zulip Himanshu (Dec 06 2019 at 11:47):

@Daniel Rossberg

h1manshu@asus:~ $ sudo apt-get install libpng libpng12-0 libpng3 libpnglite-dev libpng12-0-dbgsym libpng++-dev libpng-sixlegs-java libpng12-dev libpng-dev libpng-sixlegs-java-doc libpng16-16 libpnglite0 libpng-tools
Which one to go for ? libpng-dev or any ?

view this post on Zulip Erik (Dec 06 2019 at 11:49):

libpng-dev.

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 11:49):

libpng-dev

view this post on Zulip Himanshu (Dec 06 2019 at 11:51):

This is a known issue. I commented on it here on Zulip before GCi started.

The with BRL-CAD bundled libpng conflicts with the system libpng. You can fix this by using the system libpng in the BRL-CAD build. Before you can do this, you have to install the libpng development package.

libpng-dev is already in latest version. So what you said is correct BRL-CAD bundled libpng conflicts with the system libpng

view this post on Zulip Himanshu (Dec 06 2019 at 11:54):

hey @Jeffrey Liu :)

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 11:56):

Hello!

view this post on Zulip Erik (Dec 06 2019 at 11:57):

@Himanshu Sekhar Nayak you can check the CMakeFiles directory to look for clues on why the wrong one is being grabbed. "ldd" on the binary will list and try to resolve all the dynamic libraries (.so files). If you're willing to get a little zany, you can use LD_PRELOAD to force the right library.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 11:58):

Thank you for the advice @Daniel Rossberg , it is exactly what I needed. I will try out as soon as I can.

view this post on Zulip Himanshu (Dec 06 2019 at 13:01):

Himanshu Sekhar Nayak you can check the CMakeFiles directory to look for clues on why the wrong one is being grabbed. "ldd" on the binary will list and try to resolve all the dynamic libraries (.so files). If you're willing to get a little zany, you can use LD_PRELOAD to force the right library.

how I can resolve dynamic libraries(.so files) ?
h1manshu@asus:~ $ ldd /bin/ld linux-vdso.so.1 (0x00007ffff57ba000) libbfd-2.31.1-system.so => /lib/x86_64-linux-gnu/libbfd-2.31.1-system.so (0x00007f63dbf72000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f63dbd54000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f63dbd4f000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f63dbb8e000) /lib64/ld-linux-x86-64.so.2 (0x00007f63dc288000)

view this post on Zulip SHEU AYOMIDE ABDULAZEEZ (Dec 06 2019 at 13:35):

I have tried this task 2 times and still need to work more on it...
I think its now ready for review @Erik
https://codein.withgoogle.com/dashboard/task-instances/6752777821224960/

view this post on Zulip SHEU AYOMIDE ABDULAZEEZ (Dec 06 2019 at 13:38):

Thanks Mentors for the corrections, it keeps me going

view this post on Zulip Utsav Singh (Dec 06 2019 at 14:07):

would really appreciate it if someone please reviewed my task: https://codein.withgoogle.com/dashboard/task-instances/6121998590148608/

view this post on Zulip Himanshu (Dec 06 2019 at 14:36):

@Daniel Rossberg is this .so file causing the problem /usr/lib/x86_64-linux-gnu/libQt5Gui.so because I tried h1manshu@asus:~/brlcad/rt^3/build $ export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.11.3 but still same errors

view this post on Zulip Himanshu (Dec 06 2019 at 14:37):

?

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 15:15):

Keep calm :wink:
The key is in the base brlcad build. Open its CMake configuration with the GUI, reconfigure it, and check BRLCAD_PNG there. It should now be "SYSTEM (AUTO)". Then generate the build files and rebuild and install(!) the BRL-CAD main programs. Maybe with cleaning up the installation directory before.

Then do the rt^3 stuff.

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:27):

hello

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:28):

which task should i choose? (beginner )compile and install brl cad or compile brl cad from source on your computer

view this post on Zulip Himanshu (Dec 06 2019 at 15:28):

which task should i choose? beginner )

hello @Sumagna Das yes go with beginner task. You will feel pretty straight forward :)

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:29):

both sound like the same

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:31):

help wanted

view this post on Zulip Himanshu (Dec 06 2019 at 15:35):

help wanted

as both are pretty beginner. You can go on whatevr you like :)

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 15:35):

Hi @Sumagna Das , I believe the difference is that one only requires you to compile BRLCAD (the beginner one) while you must also install BRLCAD for the other one.

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:36):

Hi Sumagna Das , I believe the difference is that one only requires you to compile BRLCAD (the beginner one) while you must also install BRLCAD for the other one.

the beginner one is compile and install and the normal one is compile

view this post on Zulip Himanshu (Dec 06 2019 at 15:39):

Hi Sumagna Das , I believe the difference is that one only requires you to compile BRLCAD (the beginner one) while you must also install BRLCAD for the other one.

the beginner one is compile and install and the normal one is compile

2nd one task is about obtain the source code and build brl-cad

view this post on Zulip Himanshu (Dec 06 2019 at 15:39):

so you have to compile it and install it

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:40):

so which one should i choose

view this post on Zulip Himanshu (Dec 06 2019 at 15:41):

so which one should i choose

your distro ?

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 15:42):

Sorry my bad, I just took a look at the beginner task again. They do seem to be similar but the beginner one seems to guide you a bit more through the requirements @Sumagna Das

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:42):

windows

view this post on Zulip Himanshu (Dec 06 2019 at 15:42):

yeah both are similar

view this post on Zulip Himanshu (Dec 06 2019 at 15:43):

I will suggest you to go through first one if you like :)

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:43):

so which one?

view this post on Zulip Himanshu (Dec 06 2019 at 15:43):

Hi @Jeffrey Liu How's going dude ?

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 15:44):

The beginner one. The non-beginner one may be for people who have already completed 2 beginner tasks and can no longer see them @Sumagna Das

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:44):

ok

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 15:44):

Hey @Himanshu Sekhar Nayak I'm good, how about you?

view this post on Zulip Himanshu (Dec 06 2019 at 15:45):

yeah I am in flow :\

view this post on Zulip Sumagna Das (Dec 06 2019 at 15:45):

thanks

view this post on Zulip Himanshu (Dec 06 2019 at 15:46):

Keep calm :wink:
The key is in the base brlcad build. Open its CMake configuration with the GUI, reconfigure it, and check BRLCAD_PNG there. It should now be "SYSTEM (AUTO)". Then generate the build files and rebuild and install(!) the BRL-CAD main programs. Maybe with cleaning up the installation directory before.

Then do the rt^3 stuff.

I didn't understand CMake configuration with the GUI ?

view this post on Zulip Himanshu (Dec 06 2019 at 15:46):

@Jeffrey Liu do you know anything about that ^^^ ?

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 15:47):

There is something called the cmake-gui, but I've only ever used it Windows before.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 15:48):

Seems like on Linux, you need to install cmake-qt-gui

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 15:49):

From what I just read on stack overflow ^^

view this post on Zulip Himanshu (Dec 06 2019 at 15:51):

thanks for info :)

view this post on Zulip Sean (Dec 06 2019 at 15:53):

would really appreciate it if someone please reviewed my task: https://codein.withgoogle.com/dashboard/task-instances/6121998590148608/

@Utsav Singh tasks can be discussed at any time, but they are reviewed in the order they were submitted so you may have to occasionally wait your turn. you don't need to ask. no worries.

view this post on Zulip Sean (Dec 06 2019 at 15:56):

yeah I am in flow :\

is it a good or bad flow? :)

view this post on Zulip Himanshu (Dec 06 2019 at 15:56):

good flow
I am loving it

view this post on Zulip Sean (Dec 06 2019 at 15:56):

great

view this post on Zulip Sean (Dec 06 2019 at 15:57):

@Himanshu Sekhar Nayak daniel was saying you need to rebuild and reinstall brl-cad

view this post on Zulip Himanshu (Dec 06 2019 at 15:57):

yeah got it
I am on my way :)

view this post on Zulip Sean (Dec 06 2019 at 15:57):

with different cmake settings, specifically to make sure it's configured to use the system png

view this post on Zulip Sean (Dec 06 2019 at 15:58):

I recommend deleting your cmake cache just to be sure, but you'll want to make sure in the summary output at the end of cmake that it says build png is set to system, not bundled

view this post on Zulip Himanshu (Dec 06 2019 at 15:59):

okay thanks @Sean helps a lot :)

view this post on Zulip Sean (Dec 06 2019 at 15:59):

fixing that issue would be a great gci task, but it is a little advanced to understand what's going on

view this post on Zulip Sean (Dec 06 2019 at 16:02):

basically the png brl-cad provides is incompatible with the one coming from your system package manager, so what happens when it compiles bundled, it ends up seeing two PNG libraries (the on built in brl-cad and the system one) and depending on your operating system and what you're compiling, it may use one or the other and you can end up with an error.

view this post on Zulip Sean (Dec 06 2019 at 16:02):

what we probably need to do is change our bundled build to use a symbol prefix, so the system library won't be a possible option and won't conflict

view this post on Zulip Himanshu (Dec 06 2019 at 16:03):

oh... now I understand

view this post on Zulip Himanshu (Dec 06 2019 at 16:03):

that's why conflict arises between system png and brlcad png

view this post on Zulip Sean (Dec 06 2019 at 16:07):

normally, this is not a problem and the system linker will find the right library, but libpng and a couple other libraries essentially have the same "version number" saying they're compatible when they sometimes are not. since they're not our codes and we can't assume people are only compiling within a particular package management system, incompatibilities surface.

view this post on Zulip Utsav Singh (Dec 06 2019 at 16:08):

@Sean okay thanks!

view this post on Zulip Himanshu (Dec 06 2019 at 16:22):

@Daniel Rossberg looks like it is already in SYSTEM AUTO Screenshot.png

view this post on Zulip Sean (Dec 06 2019 at 16:23):

And you didn't compile earlier with different settings?

view this post on Zulip Himanshu (Dec 06 2019 at 16:25):

nah

view this post on Zulip Himanshu (Dec 06 2019 at 16:25):

just did cmake ..

view this post on Zulip Himanshu (Dec 06 2019 at 16:25):

but now I rebuild brlcad and now I saw with ccmake ..

view this post on Zulip Himanshu (Dec 06 2019 at 16:26):

compiled rt^3 but still same

view this post on Zulip Sean (Dec 06 2019 at 16:26):

did you install brl-cad?

view this post on Zulip Himanshu (Dec 06 2019 at 16:27):

yeah I did

view this post on Zulip Sean (Dec 06 2019 at 16:27):

What does it report if you run ldd on path/to/brlcad/bin/rt

view this post on Zulip Himanshu (Dec 06 2019 at 16:29):

it's reporting /usr/brlcad/dev-7.30.3/bin/rt: /usr/brlcad/dev-7.30.3/lib/libpng16.so.16: no version information available (required by /usr/brlcad/dev-7.30.3/lib/libfb.so.20)

view this post on Zulip Himanshu (Dec 06 2019 at 16:31):

https://paste.ofcode.org/5G7J6uy8Gj7Dmw5YY7qfpu

view this post on Zulip Himanshu (Dec 06 2019 at 16:39):

Screenshot-1.png btw I got this from rt^3/build

view this post on Zulip Sean (Dec 06 2019 at 16:40):

Hi, I'm currently working on the pixcount task and I just had a question about the prompt. It recommends using an int32_t to store an RGBA value index, but from what I've found from both the internet as well as the code, pix files only have RGB components. While I'd probably still be using an int32_t regardless, I just wanted to confirm if there is an alpha component or not so I don't parse incorrectly.

@Jeffrey Liu you are correct -- there's no alpha channel (currently), but there likely will be one at some point in the future, so it's still appropriate.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 16:41):

Thank you for letting me know! Fortunately, I implemented the bitwise shifting with a loop based off of pixel_size so it should still work.

view this post on Zulip Himanshu (Dec 06 2019 at 16:41):

looks like it's cant find the version number

view this post on Zulip Sean (Dec 06 2019 at 16:41):

@Himanshu Sekhar Nayak so that shows the issue. for whatever reason, it's linking against the system Freetype which links against PNG.

view this post on Zulip Sean (Dec 06 2019 at 16:43):

and yes, related to the version number information, since there isn't one on either, the dynamic linker is being told it can use either .. yet they are incompatible. if it uses system png library on brl-cad's libs, it would result in symbol errors. if it uses brl-cad library on system freetype, it can result in symbol errors. so what is the rt^3 error you're getting?

view this post on Zulip Sean (Dec 06 2019 at 16:44):

Thank you for letting me know! Fortunately, I implemented the bitwise shifting with a loop based off of pixel_size so it should still work.

Yep, I noticed that. You really did a surprisingly great job with it. Any idea why the first line is indented slightly off? looks like you used the same printing function. I was a little surprised you didn't need a std:map comparison function to sort them correctly.

view this post on Zulip Himanshu (Dec 06 2019 at 16:47):

and yes, related to the version number information, since there isn't one on either, the dynamic linker is being told it can use either .. yet they are incompatible. if it uses system png library on brl-cad's libs, it would result in symbol errors. if it uses brl-cad library on system freetype, it can result in symbol errors. so what is the rt^3 error you're getting?

[ 91%] Linking CXX executable ../../bin/QtGUI /usr/bin/ld: warning: librt.so.1, needed by //lib/x86_64-linux-gnu/libbsd.so.0, may conflict with librt.so.20

view this post on Zulip Himanshu (Dec 06 2019 at 16:47):

collect2: error: ld returned 1 exit status make[2]: *** [src/QtGUI/CMakeFiles/QtGUI.dir/build.make:183: bin/QtGUI] Error 1 make[1]: *** [CMakeFiles/Makefile2:402: src/QtGUI/CMakeFiles/QtGUI.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

view this post on Zulip Sean (Dec 06 2019 at 16:48):

don't see an actual error there

view this post on Zulip Sean (Dec 06 2019 at 16:48):

first is a warning, not important here

view this post on Zulip Sean (Dec 06 2019 at 16:48):

second is the summary, not the actual error

view this post on Zulip Himanshu (Dec 06 2019 at 16:49):

https://paste.ofcode.org/HGCa8VpjVm2EadTgNWkvLu

view this post on Zulip Sean (Dec 06 2019 at 16:50):

run "make VERBOSE1"

view this post on Zulip Himanshu (Dec 06 2019 at 16:52):

it says make: *** No rule to make target 'VERBOSE1'. Stop.

view this post on Zulip Sean (Dec 06 2019 at 16:54):

make VERBOSE=1

view this post on Zulip Himanshu (Dec 06 2019 at 16:55):

https://paste.ofcode.org/hG5zGcMsVmDxydzs9brPQq

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 16:57):

Daniel Rossberg looks like it is already in SYSTEM AUTO Screenshot.png

@Himanshu Sekhar Nayak This isn't surprising. You rerun CMake, it detected the libpng-devel package content and wants to use it. This is exactly how it should be.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 16:58):

@Sean are you referring to the code? I may have accidentally made a syntactical error - I can go back to fix it if need be. I think that the map sorting ends up working out because it auto-sorts based off of the key value, and since the key stores RGB components, it ends up working out.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 17:00):

If you're referring to the output, it might've just been my mistake as I transferred the output to a text file since I copypasted them manually.

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 17:01):

@Himanshu Sekhar Nayak Have you cleared the rt^3 build directory before reconfiguring and rebuilding it?

view this post on Zulip Sean (Dec 06 2019 at 17:03):

@Jeffrey Liu no I mean output from the command

view this post on Zulip Himanshu (Dec 06 2019 at 17:03):

afk

view this post on Zulip Sean (Dec 06 2019 at 17:04):

at a glance, I would say there's a -lpng missing from the link line @Daniel Rossberg, no? are the qt libs supposed to be fully resolved? I would have expected to see more libs on his link line

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 17:11):

at a glance, I would say there's a -lpng missing from the link line Daniel Rossberg, no? are the qt libs supposed to be fully resolved? I would have expected to see more libs on his link line

I don't think so. In Himanshu's rt^3 configuration there is still the with BRL-CAD bundled libpng (see his Screenshot-1.png), which shouldn't exist any more, if he really rebuild the main BRL-CAD with the system libpng and cleaned the install directory before.

He would need to rerun the rt^3 configuration from scratch, such that it can read the actual BRL-CAD configuration from its installation.

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 17:16):

@Himanshu Sekhar Nayak Does there still exit a file /usr/brlcad/dev-7.30.3/lib/libpng.so?

view this post on Zulip Himanshu (Dec 06 2019 at 17:18):

Himanshu Sekhar Nayak Does there still exit a file /usr/brlcad/dev-7.30.3/lib/libpng.so?

h1manshu@asus:~ $ ls /usr/brlcad/dev-7.30.3/lib/libpng libpng16.a libpng16.so.16 libpng.a libpng16.so libpng16.so.16.29.0 libpng.so

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 17:20):

Therefore, you haven't cleaned up your install directory before rebuilding?

view this post on Zulip Himanshu (Dec 06 2019 at 17:20):

make clean ?

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 17:20):

rm -R /usr/brlcad/dev-7.30.3 (sorry)

view this post on Zulip Himanshu (Dec 06 2019 at 17:22):

:\

view this post on Zulip Himanshu (Dec 06 2019 at 17:22):

just deleted the whole dir

view this post on Zulip Himanshu (Dec 06 2019 at 17:22):

let me build it another time

view this post on Zulip Sean (Dec 06 2019 at 17:22):

not a problem, just reinstall :)

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 17:23):

Jap. make install should fill it again in a minute.

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 17:23):

Then, the libpng should be gone.

view this post on Zulip Himanshu (Dec 06 2019 at 17:24):

so by default it is SYSTEM(AUTO) ?

view this post on Zulip Daniel Rossberg (Dec 06 2019 at 17:25):

Jap, system means "no need to build an own one".

view this post on Zulip Sean (Dec 06 2019 at 17:26):

we do need to change brl-cad's build, though .. this issue comes up often with libpng and libz in particular

view this post on Zulip Himanshu (Dec 06 2019 at 18:05):

successfully compiled

view this post on Zulip Himanshu (Dec 06 2019 at 18:05):

:)

view this post on Zulip Himanshu (Dec 06 2019 at 18:05):

now I can work on dynamic exception

view this post on Zulip Himanshu (Dec 06 2019 at 19:01):

thanks for the help @Sean and @Daniel Rossberg

view this post on Zulip Sean (Dec 06 2019 at 19:02):

does that mean it's working now?

view this post on Zulip Himanshu (Dec 06 2019 at 19:03):

yes

view this post on Zulip Sean (Dec 06 2019 at 19:03):

great

view this post on Zulip Himanshu (Dec 06 2019 at 19:03):

:)

view this post on Zulip Himanshu (Dec 06 2019 at 19:21):

now I can see dynamic warnings messages

view this post on Zulip Himanshu (Dec 06 2019 at 19:21):

a lot of it

view this post on Zulip Himanshu (Dec 06 2019 at 19:22):

:silence:

view this post on Zulip Himanshu (Dec 06 2019 at 19:23):

late night now

view this post on Zulip Himanshu (Dec 06 2019 at 19:23):

have to wake up early for school

view this post on Zulip Himanshu (Dec 06 2019 at 19:23):

see ya

view this post on Zulip Sean (Dec 06 2019 at 19:30):

see you!

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:03):

anyone gonna help me

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:12):

i cant build the application. any help?

view this post on Zulip Sreyansh Jain (Dec 06 2019 at 20:13):

Hi @Sumagna Das , what is the error you're getting?

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:13):

i just closed vs2017

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:14):

anyways, i was getting errors saying syntax error: len or syntax error :"offset

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:14):

"

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:14):

something like that

view this post on Zulip Sreyansh Jain (Dec 06 2019 at 20:18):

Send us a screenshot of the error log so we're better able to pinpoint how you could resolve it.

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:19):

vs2017 build error log?

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 20:19):

Yeah, that would help a lot.

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:20):

i am trying again from scratch from command line

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:21):

it is also giving me a lot of "failed" and "not found" messages for tests and headers respectively

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 20:21):

As long as the CMake configuration completed successfully without any errors, I think you should be fine.

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:22):

ok

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:22):

i am doing that from cmd this time

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:22):

earlier i did it from the gui

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:23):

i gotta sleep but i wanna finish the build at least before that.

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:23):

:sleepy:

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:24):

sorry for spamming in the chat.

view this post on Zulip Sumagna Das (Dec 06 2019 at 20:25):

btw should i be using "https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/" in space of "http://svn.code.sf.net/p/brlcad/code/brlcad/trunk/"?

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 20:27):

I believe http://svn.code.sf.net/p/brlcad/code/brlcad/trunk/ is what you should be using when checking out the source code

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:17):

Speaking of CMake, I've been having some trouble with configuring it for rt^3. This is the error: pasted image

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:18):

From what I've seen online, the error is caused by the fact that BRLCAD_VERSION at line 157 on FindBRLCAD is empty

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:19):

^^ When I say seen online, I mean what causes similar error statements.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:23):

I'm having a little trouble understanding the CMake files, but I believe that the issue comes from this: EXECUTE_PROCESS(COMMAND ${BRLCAD_CONFIGEXE} --version OUTPUT_VARIABLE BRLCAD_VERSION)

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:25):

and I'm a little confused because looking at the bin files, the brlcad_config isn't even an executable for some reason

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:28):

Am I following the right trail? I believe that everything installed correctly because there were no errors when I built the INSTALL project.

view this post on Zulip Sean (Dec 06 2019 at 21:34):

it's a script that you can see, generated from misc/brlcad-config.in

view this post on Zulip Sean (Dec 06 2019 at 21:35):

so that command is running "brlcad-config --version" and should be putting the result in a BRLCAD_VERSION variable. that's not happening for some reason (perhaps because the script doesn't exist or isn't executable), which is causing FindBRLCAD to fail

view this post on Zulip Sean (Dec 06 2019 at 21:36):

now the problem with that logic is running brlcad-config isn't going to work on Windows ... I'm not sure what the intent was supposed to be

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:40):

Oh, is it not possible to install rt^3 on Windows?

view this post on Zulip Sean (Dec 06 2019 at 21:40):

No, it totally should be

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:41):

Oh whew good to know, I wasn't sure because I was looking through the INSTALL file and it didn't really mention much about Windows/MSVC

view this post on Zulip Sean (Dec 06 2019 at 21:41):

I've not tried myself, but it's just using that script to try and find where brl-cad is installed. there's almost certainly variables you can set that will override and it'll just use what you tell it

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:42):

So if I'm understanding correctly, I should be able to manually edit misc/brlconfig.in to fix it?

view this post on Zulip Sean (Dec 06 2019 at 21:42):

curious, you planning on getting back to the appleseed chain of tasks?

view this post on Zulip Sean (Dec 06 2019 at 21:43):

no, you shouldn't need to edit the brlcad-config script

view this post on Zulip Sean (Dec 06 2019 at 21:43):

there's probably a variable you can set when running rt^3's cmak

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:45):

curious, you planning on getting back to the appleseed chain of tasks?

Yes I am, sorry for kind of sidetracking. I was looking at the second task with the application and noticed that there were many similar tasks relating to creating programs. I was planning on asking if it would be fine to just start with that one, or if it would be easier to start with another one as an introduction first.

view this post on Zulip Sean (Dec 06 2019 at 21:46):

they're all similar complexity and concepts

view this post on Zulip Sean (Dec 06 2019 at 21:46):

based on how well you did with the pixcount task, I don't think you'll have trouble with any of them.

view this post on Zulip Sean (Dec 06 2019 at 21:46):

it'll more be a function of your time and availability, how many tasks you're able to complete before time runs our :)

view this post on Zulip Sean (Dec 06 2019 at 21:46):

s/our/out/

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:47):

Thank you for the compliment! I look forward to working on them. I plan on dedicating a lot of time towards GCi, so I hope to get a lot done.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 21:58):

Hey, I had a question about developing applications on MVSC. Should I be creating my C++ files inside of another solution (such as rtexample.vcxproj) so that all the required information is already correctly set up? If not, what should I be doing instead so that the includes still work correctly?

It depends on what you want to do. If your application is like another BRL-CAD program, you can use this as a template and copy its lines in the CMake.txt and rewrite them with your source file.

At the other hand, rt^3 is a set of applications/libraries build on top of a BRL-CAD installation. You could use one one of them as template and use a copy of its directory in rt^3/src as starting point.

@Daniel Rossberg regarding what you said about creating a program, could I ask for some clarification? I wanted to try it out but I don't quite understand what lines to copy.

view this post on Zulip Sean (Dec 06 2019 at 22:00):

Thank you for the compliment! I look forward to working on them. I plan on dedicating a lot of time towards GCi, so I hope to get a lot done.

That's great to hear. Folks who work consistently do tend to end up in the final running easily enough :)

view this post on Zulip Sean (Dec 06 2019 at 22:01):

Daniel Rossberg regarding what you said about creating a program, could I ask for some clarification? I wanted to try it out but I don't quite understand what lines to copy.

Don't ask to ask, just ask ;) Even if he's not available, others might know the answer.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 22:04):

Ah, I see - so in that case, could you please help clarify? :)

view this post on Zulip Sean (Dec 06 2019 at 22:04):

Sure, but what's the question :)

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 22:06):

My original question was basically how to set up a proper system in order to begin writing applications, since it seems like there's a lot of libraries and header files that must be included.

view this post on Zulip Sean (Dec 06 2019 at 22:06):

it depends what application you're writing, but it's more simple than it seems

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 22:07):

The application in question would just be task 2 for the appleseed integration.

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 22:07):

And then more if it works out :)

view this post on Zulip Sean (Dec 06 2019 at 22:08):

yeah, great, so it very much depends what "level" application you are writing. if you were to write an rt^3 core interface application, you'd want to mirror something in rt^3's repo like the src/QtGUI directory. builds a simple Qt-based application.

view this post on Zulip Sean (Dec 06 2019 at 22:09):

since you mentioned the appleseed project, that one is really intended to eventually replace 'rt' and friends, or at least be very compatible with the rt* class of applications. so in that case, I would probably recommend using them as a template, using something like rtexample as your starting point

view this post on Zulip Sean (Dec 06 2019 at 22:11):

to create a new program like rtexample, you merely have to look at how rtexample was defined in src/rt/CMakeLists.txt

view this post on Zulip Sean (Dec 06 2019 at 22:11):

there, you'll find just two lines mentioning "rtexample", and only one of them is actually needed to build the program

view this post on Zulip Sean (Dec 06 2019 at 22:11):

to add your own, it's as simple as adding one line for your application

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 22:15):

Oh! So after writing some application (for example, "application.cpp"), I would just put it in that folder, reconfigure cmake, and then just build that specific project?

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 22:16):

Sorry, in between putting it in the folder and reconfiguring, I would be adding "application.cpp" to the CMake file following the format of rtexample

view this post on Zulip Sean (Dec 06 2019 at 22:17):

yep

view this post on Zulip Sean (Dec 06 2019 at 22:17):

suggest calling it "art.cpp" for appleseed-rt ;)

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 22:18):

And then this would create a properly configured project for me to work on, if I'm understanding correctly?

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 22:18):

suggest calling it "art.cpp" for appleseed-rt ;)

good idea, I will definitely do that :)

view this post on Zulip Sean (Dec 06 2019 at 22:19):

And then this would create a properly configured project for me to work on, if I'm understanding correctly?

well that of course depends. for example, if you need to link against appleseed libraries, that would imply other cmake changes

view this post on Zulip Sean (Dec 06 2019 at 22:19):

but then that's also why the task is broken up into so many tasks (and 1-5 is really just the start)

view this post on Zulip Jeffrey Liu (Dec 06 2019 at 22:22):

But for task 2, it should work fine, right? I'm assuming that I should be writing out a PPM/image format with my own code?

view this post on Zulip Sean (Dec 07 2019 at 00:25):

for now, yes, that's perfectly fine

view this post on Zulip Sean (Dec 07 2019 at 00:25):

it's one of the easiest image formats, second only probably to writing out pix data

view this post on Zulip Sean (Dec 07 2019 at 00:26):

if you're inclined, I can add another task to convert PPM support to PIX support like the other RT tools

view this post on Zulip Sean (Dec 07 2019 at 00:30):

we have a library for it called LIBICV (image conversion library) that one can write to, which would be best

view this post on Zulip Sean (Dec 07 2019 at 00:30):

heck adding PPM support to libicv would be a good GCI task

view this post on Zulip Jeffrey Liu (Dec 07 2019 at 01:40):

Haha sounds good, i will begin working as soon as I can.

view this post on Zulip Chiranjiv Singh Malhi (Dec 07 2019 at 04:21):

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown I am having trouble while installing librecad software from source code , How can I fix this error with cmake?

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:40):

should i be doing "start without debugging" with x64 configuration in vs2017 for brlcad solution?

view this post on Zulip Jeffrey Liu (Dec 07 2019 at 04:41):

@Sumagna Das Select build in the toolbar and then select build solution.

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:41):

ok

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:41):

configuration?

view this post on Zulip Jeffrey Liu (Dec 07 2019 at 04:42):

cmake should have properly configured everything. All that's left is to build the solution.

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:42):

win32 or x64?

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:44):

i am getting errors

view this post on Zulip Jeffrey Liu (Dec 07 2019 at 04:44):

What's the error?

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:45):

i have a screenshot. wanna see?

view this post on Zulip Jeffrey Liu (Dec 07 2019 at 04:45):

Yes please

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:45):

Screenshot-7.png

view this post on Zulip Jeffrey Liu (Dec 07 2019 at 04:47):

It seems like the errors begin before what is included in the screenshot. It may help to just send the output build log instead (it's ctrl+s when the log is selected for MSVC 2019)

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:47):

i am a noob in visual studio and i have only worked with vs code 'cause every time i started vs it hanged my computer so i dont know how to dow anything in it

view this post on Zulip Jeffrey Liu (Dec 07 2019 at 04:48):

It's alright, just select the area where you see the errors, ctrl + s to save the output log, and then perhaps I can help you more.

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:50):

should i be changing the configuration to x64?

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:51):

will it do anything?

view this post on Zulip Jeffrey Liu (Dec 07 2019 at 04:52):

It depends on your system, so I'm pretty sure that if you run a 64-bit architecture, it would be better to set it as x64. However, that may mean you might need to reconfigure your cmake files to reflect that change.

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:53):

mine is x64 and the config is set to win32. should i be changing it or its okay for both?

view this post on Zulip Jeffrey Liu (Dec 07 2019 at 04:54):

It's my understanding that win32 will still work on 64-bit architectures, but it might be better to change it.

view this post on Zulip Sumagna Das (Dec 07 2019 at 04:55):

ok

view this post on Zulip Sumagna Das (Dec 07 2019 at 07:23):

Hello

view this post on Zulip Sumagna Das (Dec 07 2019 at 07:25):

@Jeffrey Liu i tried building it from ubuntu on the same laptop and this time after running make it gave me an error about something with png____.h

view this post on Zulip Himanshu (Dec 07 2019 at 07:45):

Jeffrey Liu i tried building it from ubuntu on the same laptop and this time after running make it gave me an error about something with png____.h

What's the error ?

view this post on Zulip Himanshu (Dec 07 2019 at 07:47):

@Daniel Rossberg I removed and modified throw() statements and looks like some error pointing to librt.so

view this post on Zulip Himanshu (Dec 07 2019 at 07:47):

[ 90%] Linking CXX executable ../../bin/QtGUI /usr/bin/ld: warning: librt.so.1, needed by //lib/x86_64-linux-gnu/libbsd.so.0, may conflict with librt.so.20 /usr/bin/ld: ../../lib/libcoreinterface.so: undefined reference to BRLCAD::Object::operator=(BRLCAD::Object const&)'
/usr/bin/ld: ../../lib/libcoreinterface.so: undefined reference to BRLCAD::Object::Clone() const' collect2: error: ld returned 1 exit status make[2]: *** [src/QtGUI/CMakeFiles/QtGUI.dir/build.make:183: bin/QtGUI] Error 1 make[1]: *** [CMakeFiles/Makefile2:402: src/QtGUI/CMakeFiles/QtGUI.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

view this post on Zulip Himanshu (Dec 07 2019 at 07:48):

Daniel Rossberg I removed and modified throw() statements and looks like some error pointing to librt.so

I only removed throw() in Arb8.h, Arb8.cpp and Object.h

view this post on Zulip Sumagna Das (Dec 07 2019 at 07:54):

Himanshu see if u can help me

view this post on Zulip Sumagna Das (Dec 07 2019 at 07:56):

It gets stuck when generating pnglibconf.c

view this post on Zulip Himanshu (Dec 07 2019 at 07:57):

It gets stuck when generating pnglibconf.c

paste me the output

view this post on Zulip Himanshu (Dec 07 2019 at 07:57):

not here but somewhere else like https://paste.ofcode.org/

view this post on Zulip Sumagna Das (Dec 07 2019 at 07:58):

Which output?

view this post on Zulip Himanshu (Dec 07 2019 at 07:58):

your error output

view this post on Zulip Sumagna Das (Dec 07 2019 at 07:58):

Ok

view this post on Zulip Sumagna Das (Dec 07 2019 at 07:58):

What language to choose

view this post on Zulip Himanshu (Dec 07 2019 at 07:59):

What language to choose

don't go for it. Just paste and submit and send me the link

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:00):

Ok

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:01):

https://paste.ofcode.org/pqfAS8qHQLaz2cNjPHhCsu

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:02):

the first line is where it starts giving error

view this post on Zulip Himanshu (Dec 07 2019 at 08:02):

you are building in a linux distro ?

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:03):

yup

view this post on Zulip Himanshu (Dec 07 2019 at 08:03):

Are you working on Compile and Install BRL-CAD from source code ?

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:03):

i did it first in windows

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:03):

yeah

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:03):

i have dual boot

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:03):

ubuntu and windows

view this post on Zulip Himanshu (Dec 07 2019 at 08:03):

have you installed svn, cmake ?

view this post on Zulip Himanshu (Dec 07 2019 at 08:04):

I think yes

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:04):

i had the source from widnows so i took it from there and rebuilt it in ubuntu

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:04):

and yes i have installed cmake and svn

view this post on Zulip Himanshu (Dec 07 2019 at 08:05):

@Sumagna Das Have you went through this https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/doc/README.Linux ?

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:06):

i am following this http://brlcad.org/wiki/Building_from_SVN

view this post on Zulip Himanshu (Dec 07 2019 at 08:07):

yeah before you compile brlcad, you should install following essentials described in https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/doc/README.Linux

view this post on Zulip Himanshu (Dec 07 2019 at 08:07):

you can find description for Ubuntu distro too

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:08):

thanks

view this post on Zulip Himanshu (Dec 07 2019 at 08:08):

or more specifically https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/doc/README.Linux#l47

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:08):

i was doing it in windows but found it too complicated

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:09):

so switched to ubuntu cuz its much easier

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:09):

it seems i didnt had the essentials

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:10):

btw does it restart if i upgrade ubuntu from 18.04 to 19.04

view this post on Zulip Himanshu (Dec 07 2019 at 08:11):

I think 18.04 is a LTS version but why do you want to upgrade to 19.04 ?

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:11):

it sent me a notif telling me to upgrade when i started it

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:12):

does brl cad have irc?

view this post on Zulip Himanshu (Dec 07 2019 at 08:13):

it sent me a notif telling me to upgrade when i started it

don't upgrade unless you want to

view this post on Zulip Himanshu (Dec 07 2019 at 08:13):

does brl cad have irc?

may be

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:13):

ok

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:14):

ubuntu is much easier

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:14):

i thought about doing gci on windows but ubuntu is much easier

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:14):

and fast

view this post on Zulip Himanshu (Dec 07 2019 at 08:15):

but brl-cad can be build in windows too

view this post on Zulip Himanshu (Dec 07 2019 at 08:15):

@Jeffrey Liu have installed successfully

view this post on Zulip Himanshu (Dec 07 2019 at 08:15):

gtg bye

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:15):

i know

view this post on Zulip Sumagna Das (Dec 07 2019 at 08:15):

bye

view this post on Zulip Daniel Rossberg (Dec 07 2019 at 13:20):

@Himanshu Sekhar Nayak The librt messages are warnings only.

I suspect a typing error in your throw removal as the cause for the error. You probably removed the "= 0" in the line of the Clone() function in Object.h.

view this post on Zulip Himanshu (Dec 07 2019 at 13:22):

@Daniel Rossberg can you extend my task for one more day as I am busy here in completing school assignments

view this post on Zulip Sumagna Das (Dec 07 2019 at 14:34):

how to see the source code of brl cad after building it

view this post on Zulip Himanshu (Dec 07 2019 at 14:38):

Himanshu Sekhar Nayak The librt messages are warnings only.

I suspect a typing error in your throw removal as the cause for the error. You probably removed the "= 0" in the line of the Clone() function in Object.h.

yeah I accidentally deleted 0

view this post on Zulip Himanshu (Dec 07 2019 at 14:39):

(deleted)

view this post on Zulip Himanshu (Dec 07 2019 at 14:40):

I suspect the compiler is unable to link the files or something like that

view this post on Zulip Himanshu (Dec 07 2019 at 14:40):

how to see the source code of brl cad after building it

use ls command

view this post on Zulip Sumagna Das (Dec 07 2019 at 14:44):

where to use ls

view this post on Zulip Himanshu (Dec 07 2019 at 14:45):

where to use ls

in terminal

view this post on Zulip Himanshu (Dec 07 2019 at 14:45):

or command line you can say

view this post on Zulip Himanshu (Dec 07 2019 at 14:45):

like this

view this post on Zulip Himanshu (Dec 07 2019 at 14:45):

h1manshu@asus:~ $ ls brlcad check Documents Music Public Videos C-Assignment Desktop Downloads Pictures Templates

view this post on Zulip Himanshu (Dec 07 2019 at 14:46):

then if you want to go into the directory brlcad then you have to use cd brlcad/

view this post on Zulip Himanshu (Dec 07 2019 at 14:46):

I can recommend you to google some terminal commands for linux

view this post on Zulip Sumagna Das (Dec 07 2019 at 14:50):

not that seeing i am telling about

view this post on Zulip Sumagna Das (Dec 07 2019 at 14:51):

i am talking about opening it

view this post on Zulip Himanshu (Dec 07 2019 at 14:53):

i am talking about opening it

first you have to go into the directory using cd command and then again use ls command

view this post on Zulip Himanshu (Dec 07 2019 at 14:53):

then you can see some dirs

view this post on Zulip Sumagna Das (Dec 07 2019 at 14:53):

how to see the whole code

view this post on Zulip Sumagna Das (Dec 07 2019 at 14:53):

at the same place

view this post on Zulip Himanshu (Dec 07 2019 at 14:54):

@Daniel Rossberg while compiling it is very odd to look to so much warnings. Is there any command or something I can check only for selected *.h files ?

view this post on Zulip Himanshu (Dec 07 2019 at 14:55):

how to see the whole code

It is not one line of code that you can see at once

view this post on Zulip Himanshu (Dec 07 2019 at 14:55):

All together libraries and some other files that combine the source code

view this post on Zulip Himanshu (Dec 07 2019 at 14:56):

Actually what you want to work on ?

view this post on Zulip Sumagna Das (Dec 07 2019 at 14:56):

yea i am talking about all that in the same place

view this post on Zulip Sumagna Das (Dec 07 2019 at 14:56):

no i just want to see

view this post on Zulip Sumagna Das (Dec 07 2019 at 14:57):

the code

view this post on Zulip Himanshu (Dec 07 2019 at 15:07):

:\

view this post on Zulip Himanshu (Dec 07 2019 at 15:08):

then idk what you are talking about

view this post on Zulip Sumagna Das (Dec 07 2019 at 15:12):

found it

view this post on Zulip Sumagna Das (Dec 07 2019 at 15:13):

i was talking about a folder or something containing all the files related to a part of the software or something organised

view this post on Zulip Sumagna Das (Dec 07 2019 at 15:13):

it was in the src folder

view this post on Zulip Sumagna Das (Dec 07 2019 at 15:14):

i was talking about the files

view this post on Zulip Sumagna Das (Dec 07 2019 at 15:18):

i couldnt explain what i was trying to say

view this post on Zulip Himanshu (Dec 07 2019 at 15:24):

np it's okay

view this post on Zulip Sumagna Das (Dec 07 2019 at 15:24):

i found application related data in the src folder

view this post on Zulip Himanshu (Dec 07 2019 at 17:16):

@Daniel Rossberg btw I removed all the throw() statements from A-C file.

view this post on Zulip Himanshu (Dec 07 2019 at 17:48):

If all things are fine. Then let me know I will work further on removing throw statement on other files too

view this post on Zulip Chiranjiv Singh Malhi (Dec 07 2019 at 18:10):

Capture.PNG
I am having this error while converting .g file to .obj . Can someone help me?

view this post on Zulip Sumagna Das (Dec 07 2019 at 18:44):

my mentor has not reviewed my work yet. should i start working on another task?

view this post on Zulip Sumagna Das (Dec 07 2019 at 18:44):

anyways i have started already

view this post on Zulip Sean (Dec 07 2019 at 18:47):

it sent me a notif telling me to upgrade when i started it

@Sumagna Das https://brlcad.org/wiki/IRC

view this post on Zulip Sumagna Das (Dec 07 2019 at 18:47):

thanks

view this post on Zulip Sean (Dec 07 2019 at 18:49):

reviews can take up to 36 hours. we try our best to respond within 24 hours, and we're typically responding in 4-12 hours

view this post on Zulip Sumagna Das (Dec 07 2019 at 18:51):

so should i try starting working on another one and claim that task later

view this post on Zulip Sumagna Das (Dec 07 2019 at 18:59):

while building rt^3 module, it says "set BRLCAD_BASE_DIR"

view this post on Zulip Sumagna Das (Dec 07 2019 at 18:59):

WHAT SHOULD I DO?

view this post on Zulip Himanshu (Dec 07 2019 at 19:02):

You have to do export PATH="/usr/brlcad/bin:$PATH"

view this post on Zulip Sumagna Das (Dec 07 2019 at 19:03):

ok

view this post on Zulip Sumagna Das (Dec 07 2019 at 19:03):

i am a real noob

view this post on Zulip Himanshu (Dec 07 2019 at 19:04):

:expressionless:

view this post on Zulip Sumagna Das (Dec 07 2019 at 19:04):

anyways i have to get practice before the next GCI

view this post on Zulip Sumagna Das (Dec 07 2019 at 19:06):

do i have to have qt5 for rt^3?

view this post on Zulip Sumagna Das (Dec 08 2019 at 05:05):

@pooh (inder)

Ngadou Yopa

@Shubham Rathore

@Sean

@Erik

Sreyansh Jain

Panda (Gauravjeet Singh)

Kartik Kumar

@Oleksandr Dubenko

Anyone of the above people, please review my work.(by the way, sorry for mentioning you guys)

view this post on Zulip Sumagna Das (Dec 08 2019 at 06:02):

Thanks

view this post on Zulip Sumagna Das (Dec 08 2019 at 07:10):

what should be the output of hellobrlcad command in ubuntu

view this post on Zulip Sumagna Das (Dec 08 2019 at 07:10):

in rt^3

view this post on Zulip Sumagna Das (Dec 08 2019 at 07:18):

pls help

view this post on Zulip Manish Raj (Dec 08 2019 at 07:18):

I GCI is cool

view this post on Zulip Sumagna Das (Dec 08 2019 at 07:18):

i know

view this post on Zulip Sumagna Das (Dec 08 2019 at 07:19):

chiranjiv can u help?

view this post on Zulip Sumagna Das (Dec 08 2019 at 09:23):

should i just remove the throw statements in the task and not replace it with something?

view this post on Zulip Thusal Ranawaka (Dec 08 2019 at 14:14):

Where I can download LibreCAD 3

view this post on Zulip Chiranjiv Singh Malhi (Dec 08 2019 at 14:16):

https://github.com/LibreCAD/LibreCAD_3
You can download the source code from here

view this post on Zulip Chiranjiv Singh Malhi (Dec 08 2019 at 14:18):

Capture.PNG
What can I do to fix this error after cmake command while making brl-cad from source code.

view this post on Zulip Himanshu (Dec 08 2019 at 15:09):

@Daniel Rossberg fixed the throw() statements. If any further suggestions then let me know

view this post on Zulip Himanshu (Dec 08 2019 at 15:44):

@Chiranjiv Singh Malhi Have you done cmake .. ?

view this post on Zulip Chiranjiv Singh Malhi (Dec 08 2019 at 16:25):

@Himanshu Sekhar Nayak Yes

view this post on Zulip Himanshu (Dec 08 2019 at 16:26):

@Chiranjiv Singh Malhi I suspect cmake .. couldn't resolve the path issues

view this post on Zulip Himanshu (Dec 08 2019 at 16:27):

have you gone through prerequisites that needed to build brlcad from source ?

view this post on Zulip Manish Raj (Dec 08 2019 at 16:51):

Hi, I am Manish Raj.I'm participating in GCI. I love to code that's why I join this GCI. From this, I am learning new things like: git, GitHub, new language.
I introduced with code the first time in school that was java language. That was fun. I love gaming, playing soccer. I am wishful.

view this post on Zulip Chiranjiv Singh Malhi (Dec 08 2019 at 16:51):

Hi @Manish Raj

view this post on Zulip Chiranjiv Singh Malhi (Dec 08 2019 at 16:52):

@Himanshu Sekhar Nayak Will check

view this post on Zulip Himanshu (Dec 08 2019 at 16:53):

Hey @Manish Raj

view this post on Zulip Manish Raj (Dec 08 2019 at 16:55):

hi

view this post on Zulip Chiranjiv Singh Malhi (Dec 08 2019 at 16:57):

@Sean Can you help me , I can't make an ebm with the internal object a.PNG

view this post on Zulip Sumagna Das (Dec 08 2019 at 17:17):

hey @Daniel Rossberg should i just remove the throw statements and not replace it with something?

view this post on Zulip Daniel Rossberg (Dec 08 2019 at 17:22):

Right. You can submit the task.

view this post on Zulip Sumagna Das (Dec 08 2019 at 17:22):

ok i am working on it

view this post on Zulip Sumagna Das (Dec 08 2019 at 17:22):

and nothing else?

view this post on Zulip Sumagna Das (Dec 08 2019 at 17:23):

just delete the throw() statement wherever it is present?

view this post on Zulip Daniel Rossberg (Dec 08 2019 at 17:27):

just delete the throw() statement wherever it is present?

In principle, yes. Make sure that everything is still well formatted/aligned after your changes.

This are simple code-changing tasks which shall help you to get familiar with standard code-work.

view this post on Zulip Sumagna Das (Dec 08 2019 at 17:28):

thanks

view this post on Zulip Chiranjiv Singh Malhi (Dec 08 2019 at 17:29):

@Sean Can you help me , I can't make an ebm with the internal object a.PNG

Hey , @Daniel Rossberg Can you help me with this please?

view this post on Zulip Himanshu (Dec 08 2019 at 17:32):

Submitted :sunglasses:

view this post on Zulip Sumagna Das (Dec 08 2019 at 17:33):

which one?

view this post on Zulip Sumagna Das (Dec 08 2019 at 17:34):

i am working on the "remove throw statement(A-C)" task

view this post on Zulip Himanshu (Dec 08 2019 at 17:36):

@Sumagna Das Yeah just submitted and waiting for approval

view this post on Zulip Daniel Rossberg (Dec 08 2019 at 17:36):

@Sean Can you help me , I can't make an ebm with the internal object a.PNG

Hey , Daniel Rossberg Can you help me with this please?

As far as I can see, ebm requires a file name, not a binary object https://brlcad.org/wiki/BRL-CAD_Primitives#ebm

view this post on Zulip Sumagna Das (Dec 08 2019 at 17:36):

i am also working on the same task

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:00):

what should be the extension of the patch? txt?

view this post on Zulip Daniel Rossberg (Dec 08 2019 at 18:05):

what should be the extension of the patch? txt?

.patch

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:09):

okay

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:09):

thanks

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:09):

cuz somewhere it says it should be .txt or .diff

view this post on Zulip Himanshu (Dec 08 2019 at 18:18):

@Daniel Rossberg have you pushed the changes ?

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:19):

what changes?

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:20):

when did u take the task

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:21):

the "remove the throw statements"?

view this post on Zulip Himanshu (Dec 08 2019 at 18:23):

when did u take the task
``3 days ago

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:24):

oh you did it late because of your school assignments, right?

view this post on Zulip Himanshu (Dec 08 2019 at 18:25):

yeah

view this post on Zulip Himanshu (Dec 08 2019 at 18:25):

but done now :)

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:26):

oh ok

view this post on Zulip Himanshu (Dec 08 2019 at 18:29):

ohnok

what happened ?

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:31):

i was typing with my left hand and watching mrbeast on youtube on phone with my right hand

view this post on Zulip Daniel Rossberg (Dec 08 2019 at 18:32):

Daniel Rossberg have you pushed the changes ?

Not yet, Sumagna Das is working on them too.

view this post on Zulip Himanshu (Dec 08 2019 at 18:32):

okay

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:32):

right and i am done( i think).

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:34):

submitted a few minutes ago

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:38):

ok daniel

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:41):

but daniel how can i see that file if its not shown?

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:41):

i am on ubuntu if u want to know

view this post on Zulip Himanshu (Dec 08 2019 at 18:41):

but daniel how can i see that file if its not shown?

ls -a

view this post on Zulip Himanshu (Dec 08 2019 at 18:42):

this will show all the . files too that you can't see when using ls

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:42):

ok thanks

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:49):

should i use svn diff or diff?

view this post on Zulip Himanshu (Dec 08 2019 at 18:51):

diff

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:52):

thanks

view this post on Zulip Daniel Rossberg (Dec 08 2019 at 18:52):

should i use svn diff or diff?

svn diff!

view this post on Zulip Daniel Rossberg (Dec 08 2019 at 18:53):

Then, you get only the files which actually belong to the repository.

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:54):

thanks

view this post on Zulip Himanshu (Dec 08 2019 at 18:55):

I thought you are asking between diif and diff

view this post on Zulip Himanshu (Dec 08 2019 at 18:55):

:\

view this post on Zulip Himanshu (Dec 08 2019 at 18:55):

didn't saw the whole question

view this post on Zulip Daniel Rossberg (Dec 08 2019 at 18:56):

Somewhere (in a task?) the svn diff was mentioned, but I don't remember where :thinking:

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:56):

yea right

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:56):

i also saw that

view this post on Zulip Daniel Rossberg (Dec 08 2019 at 18:57):

Ha! https://brlcad.org/wiki/Patches

view this post on Zulip Sumagna Das (Dec 08 2019 at 18:57):

thanks

view this post on Zulip Sumagna Das (Dec 08 2019 at 19:20):

so i have to do both header and cpp files in this type of task?

view this post on Zulip Himanshu (Dec 08 2019 at 19:21):

so i have to do both header and cpp files in this type of task?

of course

view this post on Zulip Himanshu (Dec 08 2019 at 19:21):

:\

view this post on Zulip Himanshu (Dec 08 2019 at 19:25):

Hey @Jeffrey Liu How's going dude ?

view this post on Zulip Himanshu (Dec 08 2019 at 19:27):

ping @Daniel Rossberg one problem

view this post on Zulip Himanshu (Dec 08 2019 at 19:29):

earlier I created I a patch which shows changes for A-C file but now when I created another patch file A-C and C-F are now merged.

view this post on Zulip Himanshu (Dec 08 2019 at 19:29):

any way I can distinct them ?

view this post on Zulip Himanshu (Dec 08 2019 at 19:35):

one thing I can do like to keep a separate copy of rt^3 and apply patch there so that working directory will be clean

view this post on Zulip Jeffrey Liu (Dec 08 2019 at 19:39):

Hey Jeffrey Liu How's going dude ?

Hey @Himanshu Sekhar Nayak I'm good, how about you?

view this post on Zulip Sean (Dec 08 2019 at 19:44):

@Chiranjiv Singh Malhi my mistake, ebm is one of the primitives that doesn't yet support internal data objects. so your solution will be to also submit your br.bw file

view this post on Zulip Himanshu (Dec 08 2019 at 19:44):

Hey Jeffrey Liu How's going dude ?

Hey Himanshu Sekhar Nayak I'm good, how about you?

I am in good flow :)

view this post on Zulip Sumagna Das (Dec 08 2019 at 19:51):

should i be changing all the cpp files in src after changing the includes or should i be changing only from (A-C) files?

view this post on Zulip Himanshu (Dec 08 2019 at 19:52):

should i be changing all the cpp files in src after changing the includes or should i be changing only from (A-C) files?

only A-C files

view this post on Zulip Himanshu (Dec 08 2019 at 19:54):

one thing I can do like to keep a separate copy of rt^3 and apply patch there so that working directory will be clean

but it will not work

view this post on Zulip Jeffrey Liu (Dec 08 2019 at 20:21):

Hi @Sean , I just started the appleseed integration task #2 and I've been looking through the recommended resources as well as the code base. The task recommends following the rt_shootray() example, but I read that RTUIF is what is used for shooting a grid of rays. Could you help me understand what exactly I should be doing (running rt_shootray() multiple times, or using the RTUIF, etc)?

view this post on Zulip Jeffrey Liu (Dec 08 2019 at 20:31):

I'm also a little confused by RTUIF - does the same main.c run for each RTUIF application? From what I've seen in the examples, they only set up the RTUIF functions but have no main().

view this post on Zulip Sean (Dec 08 2019 at 22:11):

@Jeffrey Liu you can either use rtuif or rt_shootray directly. I recommend whichever seems simpler to you to get started. RTUIF will provide a whole lot for you like setting up the grid and such, but rt_shootray() is ultimately what you will probably need in 'art' as appleseed will be driving the scene, not brl-cad.

view this post on Zulip Sean (Dec 08 2019 at 22:13):

I'm also a little confused by RTUIF - does the same main.c run for each RTUIF application? From what I've seen in the examples, they only set up the RTUIF functions but have no main().

Yes they do. Basically, the only thing different in rtuif apps is the set of callbacks, which are called during rt_shootray() automatically and provided by each application. So literally the entire app-specific logic for rtedge for example lives in viewedge.c and for rtxray in viewxray.c etc. An RTUIF function sets up the grid, sets up parallel ray tracing, sets up the scene and lighting, etc., and calls those callbacks as defined.

view this post on Zulip Sean (Dec 08 2019 at 22:14):

Now for appleseed integration, task 2 is really just about learning the basics of shooting a ray, which is rtexample.c -- a non-rtuif application. That's actually more relevant to the work, but I'm impressed you made the rtuif connection.

view this post on Zulip Jeffrey Liu (Dec 08 2019 at 22:15):

Ah, I think I kinda understand now. Thank you for the clarification! So for task 2 it would be better to just iterate 100 times and run rt_shootray() right? Since rtuif is related to brlcad rendering?

view this post on Zulip SHEU AYOMIDE ABDULAZEEZ (Dec 09 2019 at 01:42):

Mentors, I just submitted a task. Waiting for review. Thank you

view this post on Zulip Jeffrey Liu (Dec 09 2019 at 04:10):

Sorry I had another question about the appleseed task: since I'm only testing if the ray hits or misses the sphere, could I set ap.a_onehit to 1 so that the ray doesn't shoot all the way through?

view this post on Zulip Jeffrey Liu (Dec 09 2019 at 04:21):

Ah, I think I kinda understand now. Thank you for the clarification! So for task 2 it would be better to just iterate 100 times and run rt_shootray() right? Since rtuif is related to brlcad rendering?

Oops, for some reason I thought it was supposed to be a 10x10 grid. I just meant however many times needed in general.

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 07:57):

For the appleseed task 2 . Do we have to make a ray tracer that should be integrated with brl-cad(can be used to raytrace .g files) or just a ray tracer.

view this post on Zulip Sean (Dec 09 2019 at 07:59):

Ah, I think I kinda understand now. Thank you for the clarification! So for task 2 it would be better to just iterate 100 times and run rt_shootray() right? Since rtuif is related to brlcad rendering?

Well, 100 rays would be a 10x10 image, so I'm not sure that'd be the best number for making an image... but otherwise you have the right idea. :)

view this post on Zulip Sean (Dec 09 2019 at 08:01):

Sorry I had another question about the appleseed task: since I'm only testing if the ray hits or misses the sphere, could I set ap.a_onehit to 1 so that the ray doesn't shoot all the way through?

Sure you could. But for a sphere (and most models you'll encounter), it simply won't matter. Most scenes render on the order of 100k to 10M rays per second in parallel, and a sphere is something like 100M rays/s, so even single threaded it's going to b millions per second.

view this post on Zulip Sean (Dec 09 2019 at 08:02):

For the appleseed task 2 . Do we have to make a ray tracer that should be integrated with brl-cad(can be used to raytrace .g files) or just a ray tracer.

@Chiranjiv Singh Malhi did you read the task description? I'm not sure how you can be asking that if you did. ;)

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 08:04):

@Sean sorry, my bad

view this post on Zulip Sean (Dec 09 2019 at 08:04):

No worries :)

view this post on Zulip Sean (Dec 09 2019 at 08:04):

I assume you asked because you have a raytracer or something you made for a class?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 08:06):

Not exactly for a class but yeah , I had the basic structure

view this post on Zulip Sean (Dec 09 2019 at 08:08):

So that should give you a huge leg up for lots of tasks (especially more advanced tasks we release further into GCI as the competition progresses)

view this post on Zulip Sean (Dec 09 2019 at 08:08):

but you have to keep in mind the purpose of GCI ... it's not completing tasks for the sake of completing tasks.

view this post on Zulip Sean (Dec 09 2019 at 08:09):

you're making valuable contributions to existing open source projects that existed long before GCI started and will exist long after GCI is over.

view this post on Zulip Sean (Dec 09 2019 at 08:10):

the point of nearly all tasks is to either get your familiarized so you can be productive later, or it's a task that is directly intended to be something usefully productive

view this post on Zulip Sean (Dec 09 2019 at 08:12):

we're integrating brl-cad with appleseed and using GCI tasks to help us do that integration faster. it requires a ton of background knowledge, but it's manageable if done one bit at a time. the end result is something that will be used by thousands of people annually.

view this post on Zulip Sean (Dec 09 2019 at 08:13):

so most of the tasks are to help you get familiarized, and they have to be done as written one step at a time, otherwise it's too complicated to attempt.

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 08:16):

alright @Sean , thank you :D

view this post on Zulip Sumagna Das (Dec 09 2019 at 08:28):

changing the cpp and h files give a cascade of failures. some i have fixed, some i couldnt fix

view this post on Zulip Sumagna Das (Dec 09 2019 at 08:29):

can someone help me with that

view this post on Zulip Sumagna Das (Dec 09 2019 at 08:31):

Screenshot-from-2019-12-09-14-00-08.png

view this post on Zulip Sumagna Das (Dec 09 2019 at 08:31):

these are the errors

view this post on Zulip Sumagna Das (Dec 09 2019 at 08:31):

i am going one file at a time

view this post on Zulip Sumagna Das (Dec 09 2019 at 08:31):

like arb8.h and arb8.cpp right now

view this post on Zulip Himanshu (Dec 09 2019 at 09:01):

Because those classes belong to object.h

view this post on Zulip Himanshu (Dec 09 2019 at 09:01):

So whatever you change it will reflect

view this post on Zulip Sumagna Das (Dec 09 2019 at 09:07):

Ok so what should i do

view this post on Zulip Sumagna Das (Dec 09 2019 at 09:43):

new error pls help me

view this post on Zulip Sumagna Das (Dec 09 2019 at 09:44):

Screenshot-from-2019-12-09-15-13-09.png

view this post on Zulip Sumagna Das (Dec 09 2019 at 12:45):

There are problems cropping up after i removed the throw statements

view this post on Zulip Sumagna Das (Dec 09 2019 at 12:45):

Should i fix them also?

view this post on Zulip Sumagna Das (Dec 09 2019 at 12:46):

Or let them be there and fix them in the later tasks?

view this post on Zulip Mohtashim Monowar (Dec 09 2019 at 12:50):

Hi, I'm participating in GCI. "LibreCAD - Create and use line patterns in LibreCAD version 3" sound really interesting to me!

view this post on Zulip Thusal Ranawaka (Dec 09 2019 at 14:31):

I sent my screenshots for review.

view this post on Zulip Sumagna Das (Dec 09 2019 at 15:43):

There are problems cropping up after i removed the throw statements

view this post on Zulip Sumagna Das (Dec 09 2019 at 15:43):

So should i fix them or let them be like that?

view this post on Zulip Sumagna Das (Dec 09 2019 at 15:44):

I was supposed to remove throw statements from specific files but fixing them will be beyond the task

view this post on Zulip Sumagna Das (Dec 09 2019 at 15:44):

And is a work for another task

view this post on Zulip Sumagna Das (Dec 09 2019 at 15:45):

So what should i do?

view this post on Zulip Sumagna Das (Dec 09 2019 at 18:53):

Hello @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Dec 09 2019 at 18:55):

hey

view this post on Zulip Sumagna Das (Dec 09 2019 at 18:56):

Task approved?

view this post on Zulip Himanshu (Dec 09 2019 at 18:56):

which one ?

view this post on Zulip Sumagna Das (Dec 09 2019 at 18:56):

Throw statement removal

view this post on Zulip Himanshu (Dec 09 2019 at 18:56):

yes

view this post on Zulip Sumagna Das (Dec 09 2019 at 18:56):

Ok

view this post on Zulip Sumagna Das (Dec 09 2019 at 18:56):

I submitted mine

view this post on Zulip Sumagna Das (Dec 09 2019 at 18:57):

I don't know if it's gonna be approved or not

view this post on Zulip Sumagna Das (Dec 09 2019 at 18:57):

I removed all th throw statements from the cpp files and h files

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 18:57):

Hi

view this post on Zulip Sumagna Das (Dec 09 2019 at 18:58):

But if i didnt remove throw statements from the object.h i gave me a lot of errors

view this post on Zulip Sumagna Das (Dec 09 2019 at 18:58):

So i had to remove them

view this post on Zulip Himanshu (Dec 09 2019 at 18:58):

yeah you have to remove those from object.h

view this post on Zulip Himanshu (Dec 09 2019 at 18:58):

Hey @Chiranjiv Singh Malhi how's going

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 18:59):

@Himanshu Sekhar Nayak I am fine , what about you?

view this post on Zulip Himanshu (Dec 09 2019 at 18:59):

yeah in good flow

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:04):

Wait what

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:04):

@Himanshu Sekhar Nayak i followed the instructions on the site and installed the dependencies but still make command does not get executed as no makefile is there

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:05):

What are you saying @Chiranjiv Singh Malhi

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:05):

Tell me if i know the cause

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:05):

Anyone uses atom btw

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:06):

@Sumagna Das I am having problem in downloading the software from source code

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:06):

Show the screenshot

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:06):

U have ubuntu or something linux, i think?

view this post on Zulip Himanshu (Dec 09 2019 at 19:06):

Himanshu Sekhar Nayak i followed the instructions on the site and installed the dependencies but still make command does not get executed as no makefile is there

Have you followed this https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/doc/README.Windows ?

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:07):

Hey Himanshu, i again took back the changes in object.h file

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:07):

Will it change anything

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:08):

I am not gonna change the file

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:08):

Submitted to the task

view this post on Zulip Himanshu (Dec 09 2019 at 19:09):

if you really have seen the code then you can probably notice there is a header file which points to object.h. So ultimately change the whole throw() statements will show error in other .cpp files

view this post on Zulip Himanshu (Dec 09 2019 at 19:09):

just a common logic I can say

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:12):

Yea

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:12):

Will it be something for which my submission be sent back for more work?

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:13):

@Chiranjiv Singh Malhi do u have windows?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:13):

@Sumagna Das yes

view this post on Zulip Himanshu (Dec 09 2019 at 19:13):

I don't know about your changes. So I have no answer for that

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:14):

Ok @Himanshu Sekhar Nayak and @Chiranjiv Singh Malhi

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:14):

I also use windows

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:14):

So i know some of it

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:14):

Whenever i build the solution file , i never get the bin folder

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:15):

It's happened with me also so i change d to ubuntu to see whether it works there or not

view this post on Zulip Himanshu (Dec 09 2019 at 19:15):

Whenever i build the solution file , i never get the bin folder

Have you gone through this https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/doc/README.Windows ?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:15):

yes

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:15):

I have gone through the whole file

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:15):

It gives many syntax errors, right @Chiranjiv Singh Malhi ?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:16):

yes @Sumagna Das

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:16):

Did u try with make?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:17):

yes this error shows Capture.PNG

view this post on Zulip Himanshu (Dec 09 2019 at 19:18):

yes this error shows Capture.PNG

this is due to cmake .. ended with errors or something I can say

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:18):

R u doing this for a task

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:18):

I can help him do that

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:19):

Yes

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:19):

Do u have cmake gui?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:19):

yes

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:19):

Go there

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:20):

ok

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:20):

And specify the build directory and source directory

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:20):

and what should those be

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:20):

Himanshu i can help him with that, can't i?

view this post on Zulip Himanshu (Dec 09 2019 at 19:20):

yes go on

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:21):

Wait let me start my laptop

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:23):

i am back

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:23):

source directory is where you have your source code

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:23):

build directory is where you want to store the build

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:25):

send me a screenshot after setting those up

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:26):

Capture1.PNG

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:27):

go to file and press delete cache

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:27):

ok done

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:27):

all disappeared i think

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:27):

yes

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:28):

for your ease, keep chrome on one side and cmake gui on the other side

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:28):

ok

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:28):

then press configure

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:28):

dont do finish before i say

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:28):

ok pressed

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:29):

there you can change the generator

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:29):

its visual studio 16 2019 selected now

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:30):

wait

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:30):

do u have mingw?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:30):

yes

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:31):

then change the generator to mingw makefiles

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:32):

ok done

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:32):

now press finish

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:32):

and show me the screenshot after configuring is finished

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:33):

this error came capture3.PNG

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:34):

can you drag the lower section up so the errors can be seen more prominently

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:35):

and send the screenshot

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:36):

capture4.PNG

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:37):

https://stackoverflow.com/questions/45150172/cmake-error-cmake-was-unable-to-find-a-build-program-corresponding-to-mingw-ma
follow this thing if it works

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:37):

wait i will try to do it myself

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:38):

tell me if it works

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:44):

Did it work?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:51):

new error coming Capture5.PNG

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:52):

https://stackoverflow.com/questions/45150172/cmake-error-cmake-was-unable-to-find-a-build-program-corresponding-to-mingw-ma
follow this thing if it works

after trying this

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:53):

Set the cpp compiler path to environment variable CXX first

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:54):

If that doesn't work, set it to c compiler path

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:56):

Can you tell me how ?

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:57):

Windows 10?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:57):

yes

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:57):

Press windows key +S

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:57):

And search environment variables

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:57):

Press on it

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:57):

yes opened

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:58):

Then press on the environment variables button

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:58):

ok

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:58):

Then press new

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 19:59):

ok

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:59):

(deleted)

view this post on Zulip Sumagna Das (Dec 09 2019 at 19:59):

Set variable name CXX

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:00):

ok

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:00):

Like this

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:00):

image-2df1cd7c-2cf2-4ef8-915a-063c2a4d34eb.jpg

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:01):

Now enter your path to the cpp compiler in the variable value or browse to that directory using browse directory option

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:07):

Chiranjiv there?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:07):

yes yes just a minute

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:07):

Ok

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:09):

Where is the cpp complier?

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:09):

Go to command line and type g++

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:11):

image-d6db4609-b543-43b0-9573-65b0332143d6.jpg

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:11):

You don't have mingw installed. that's why

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:12):

Wait let me send the download link

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:13):

Hey @Himanshu Sekhar Nayak do u have the link?

view this post on Zulip Himanshu (Dec 09 2019 at 20:14):

Hey Himanshu Sekhar Nayak do u have the link?

btw I don't use windows so probably can't say much

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:14):

Wait

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:18):

mingw-w64-install.exe

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:18):

download this

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:18):

and install it

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:19):

tell me after installing

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:19):

ok

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:20):

installed?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:21):

not yet my internet speed is really slow

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:21):

ok

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:27):

Hey @Sumagna Das , can we continue from here tomorrow as its late and school tomorrow ? And thank you very very much for the help.

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:27):

i was also getting sleepy

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:27):

bye

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:27):

bye and thanks again

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:27):

is it installed?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:28):

No yet

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:28):

cuz i would say to start the build process now and make process tomorrow

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:28):

it took me some time to configure

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:29):

37 mins and 10 sec

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:32):

I can't open that file it says its corrupted

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:32):

image-a8b0e654-a311-457f-a399-a8c180d75d71.jpg

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:32):

which one?

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:33):

.exe file

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:33):

tomorrow then

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:33):

Ok

view this post on Zulip Sumagna Das (Dec 09 2019 at 20:33):

i would fix it and send

view this post on Zulip Chiranjiv Singh Malhi (Dec 09 2019 at 20:33):

Great . Thanks

view this post on Zulip Sean (Dec 09 2019 at 22:06):

Is there a reason you're not using Visual Studio? That's the typical compiler on Windows, unless you have a task that specifically calls for mingw/cygwin.

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:41):

sean r u t?here

view this post on Zulip Sean (Dec 10 2019 at 04:41):

never

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:42):

anyways

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:43):

i am doing the remove the throw statements (a-c) task

view this post on Zulip Sean (Dec 10 2019 at 04:43):

chat is asynchronous. that means you shouldn't wait until or ask if someone is here or not -- just ask what you intended to ask them, and anyone may respond, someone usually will.

view this post on Zulip Sean (Dec 10 2019 at 04:43):

maybe not immediately, but they will

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:44):

daniel said i have to remove throw statement from the object.h and object.cpp which results in a cascading failure

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:44):

chat is asynchronous. that means you shouldn't wait until or ask if someone is here or not -- just ask what you intended to ask them, and anyone may respond, someone usually will.

ok

view this post on Zulip Sean (Dec 10 2019 at 04:44):

yes

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:45):

so should i remove throw statements for some specific functions in other files cuz they report error

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:46):

Screenshot-from-2019-12-10-10-15-25.png Screenshot-from-2019-12-10-10-15-37.png
these are the errors

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:47):

it specifically comes up for the clone function,etc

view this post on Zulip Sean (Dec 10 2019 at 04:47):

cascading failures is typical with that kind of change

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:47):

so should i change those lines and remove throw statements?

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:48):

or should i keep it for the other (c-f),(g-m),etc tasks?

view this post on Zulip Sean (Dec 10 2019 at 04:48):

link me to the task description

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:49):

https://codein.withgoogle.com/dashboard/task-instances/5343055670935552/

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:49):

daniel said to me that i have to remove throw statements from object.h and object.cpp

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:50):

and more work needed

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:50):

after saying that

view this post on Zulip Sean (Dec 10 2019 at 04:52):

at a glance, it looks to me like you deleted more than a throw statement

view this post on Zulip Sean (Dec 10 2019 at 04:52):

like maybe you deleted a const statement too

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:52):

nope

view this post on Zulip Sean (Dec 10 2019 at 04:52):

what does your "svn diff" change set looks like

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:53):

i deleted const throw

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:53):

does that count?

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:54):

ohhh

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:54):

i now remember that we can put const after arg list for declaring it constant function

view this post on Zulip Sean (Dec 10 2019 at 04:55):

bingo

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:55):

thats causing the problem?

view this post on Zulip Sean (Dec 10 2019 at 04:55):

you made the function non-const, which made it incompatible with a crap-ton of other stuff

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:55):

ok

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:55):

then i will fix it

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:56):

thanks

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:56):

i just couldnt remember when i saw it

view this post on Zulip Sumagna Das (Dec 10 2019 at 04:57):

thanks for pointing out my mistake

view this post on Zulip Sean (Dec 10 2019 at 04:58):

no problem, glad to help

view this post on Zulip Sean (Dec 10 2019 at 04:59):

pay attention to that specific error, you should be able to recognize it next time something like this happens (constness errors are common, it's good to recognize them)

view this post on Zulip Sumagna Das (Dec 10 2019 at 07:47):

pay attention to that specific error, you should be able to recognize it next time something like this happens (constness errors are common, it's good to recognize them)

ok

view this post on Zulip Sumagna Das (Dec 10 2019 at 13:02):

Thanks Sean

view this post on Zulip Sumagna Das (Dec 10 2019 at 13:02):

Now the whole thing works pretty well

view this post on Zulip Sumagna Das (Dec 10 2019 at 13:08):

Hey @Himanshu Sekhar Nayak

view this post on Zulip Himanshu (Dec 10 2019 at 13:09):

Hey @Sumagna Das

view this post on Zulip Sumagna Das (Dec 10 2019 at 13:09):

Working on a new task?

view this post on Zulip Himanshu (Dec 10 2019 at 13:10):

Yeah

view this post on Zulip Sumagna Das (Dec 10 2019 at 13:10):

Ok

view this post on Zulip Mayank Goyal (Dec 10 2019 at 13:10):

I converted .g file to .obj file

view this post on Zulip Mayank Goyal (Dec 10 2019 at 13:10):

But .obj file cannot be opened in applessed directly

view this post on Zulip Mayank Goyal (Dec 10 2019 at 13:10):

can I do it via blender

view this post on Zulip Sumagna Das (Dec 10 2019 at 13:10):

I don't know

view this post on Zulip Sumagna Das (Dec 10 2019 at 13:11):

I have used blender btw

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 13:12):

@Mayank Goyal Appleseed can import .obj files directly; you can look at the documentation and example project to explore how.

view this post on Zulip Mayank Goyal (Dec 10 2019 at 13:12):

Let me try again

view this post on Zulip Mayank Goyal (Dec 10 2019 at 13:18):

Which documentation???

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 13:18):

Sorry, I should've specified Appleseed documentation.

view this post on Zulip Mayank Goyal (Dec 10 2019 at 13:23):

I have imported .obj file having a sphere but on rendering, there render screen does not show the sphere

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 13:23):

You may need a light source or else it will be all black.

view this post on Zulip Mayank Goyal (Dec 10 2019 at 13:26):

render.PNG

view this post on Zulip Chiranjiv Singh Malhi (Dec 10 2019 at 13:53):

@Mayank Goyal Zoom out

view this post on Zulip Sumagna Das (Dec 10 2019 at 14:29):

U completing task Chiranjiv or r u a mentor?

view this post on Zulip Aryan Garg (Dec 10 2019 at 14:38):

Hi, i was wondering what do we actually have to do in the Github pull request task? im a bit confused

view this post on Zulip Mayank Goyal (Dec 10 2019 at 14:43):

There is no zoom out feature

view this post on Zulip Mayank Goyal (Dec 10 2019 at 14:44):

https://codein.withgoogle.com/dashboard/task-instances/4662666010820608/

view this post on Zulip Mayank Goyal (Dec 10 2019 at 14:45):

mentors, could I get 1 day extension please

view this post on Zulip Sumagna Das (Dec 10 2019 at 15:46):

Mayank, done?

view this post on Zulip Mayank Goyal (Dec 10 2019 at 17:40):

Mayank, done?

no

view this post on Zulip Sumagna Das (Dec 10 2019 at 17:42):

I cant do it right now @Chiranjiv Singh Malhi

view this post on Zulip Chiranjiv Singh Malhi (Dec 10 2019 at 17:43):

@Sumagna Das ok no worries

view this post on Zulip Mayank Goyal (Dec 10 2019 at 17:43):

i created a sphere in mged, and then converted the file to .obj

view this post on Zulip Mayank Goyal (Dec 10 2019 at 17:44):

In appleseed then I imported the .obj file but now how to render

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:00):

@Mayank Goyal The pink color indicates that the instance has no material, and since it covers the screen, you most likely need to zoom out.

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:01):

Be careful when you assign it a material though, as the render will be completely black as a result if there is no light source.

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:02):

It can be that the conversion from .g to .obj was not succesfull

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:05):

I experienced the same thing; if the conversion was not successful, there would likely be a different error.

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:10):

First of all , how can i properly convert .g file to obj file

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:14):

Did you use g-obj?

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:15):

I wasn't able to understand it properly

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:15):

where it is present

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:18):

It should be in the bin directory of wherever you compiled, but if you installed/added it to your path, you should be able to call it from anywhere.

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:19):

I clicked on it

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:20):

A dialog box opened and closed immediately. It just opened for a millisecond

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:20):

g-obj.PNG

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:26):

You need to call g-obj through the command line because it requires certain arguments - just cd to that directory and follow the documentation directions.

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:27):

This link might help: http://brlcad.org/~nouhrasofat/man1/en/g-obj.php

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:32):

i referred the link, so what code should I use to call g-obj through command line

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:41):

code present there didn't seem to work

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:43):

It depends on how you set up your geometry database. What is the name of the primitive?

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:44):

sph1.s

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:44):

Is the database called sphere.g?

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:46):

yes

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 18:47):

It would be something like g-obj -o sphere.obj sphere.g sph1.s assuming that sphere.g is in the same directory

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:50):

(deleted)

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:51):

I understood the error

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:52):

I was not typing sph1.s at the last

view this post on Zulip Mayank Goyal (Dec 10 2019 at 18:52):

thank you

view this post on Zulip Jeffrey Liu (Dec 10 2019 at 22:42):

Hey I was getting start with task #3 of appleseed but noticed that the linked example (https://github.com/appleseedhq/appleseed/blob/master/sandbox/samples/cpp/basic/basic.cpp) no longer exists. While I did find some other examples, such as sphereobject.cpp, I realized that those were being used as examples for the next task. What exactly should I be following?

view this post on Zulip Jeffrey Liu (Dec 11 2019 at 00:36):

Nevermind, it seems like basic was apparently renamed to helloworld but they should still be the same thing.

view this post on Zulip SHEU AYOMIDE ABDULAZEEZ (Dec 11 2019 at 01:55):

Can any mentor please review my task.
'Github pull request task"

view this post on Zulip Abhinav Pottigari (Dec 21 2019 at 03:09):

Hey guys. GCI helped me uncover how awesome a company BRL-CAD is. Keep up the good work!!!!!

view this post on Zulip Tan Sharma (Dec 21 2019 at 03:21):

fuc y\

view this post on Zulip Tan Sharma (Dec 21 2019 at 03:29):

Hi,
I am participating in GCI. The tasks offered by BRL-CAD are extremely interesting to work on.

view this post on Zulip Sean (Dec 21 2019 at 17:09):

welcome @Tan Sharma and @Abhinav Pottigari

view this post on Zulip Sean (Dec 24 2019 at 07:11):

Hey guys. GCI helped me uncover how awesome a company BRL-CAD is. Keep up the good work!!!!!

Welcome @Abhinav Pottigari We're more of a community, but glad to have you hear and hope you are enjoying yourself with GCI.

view this post on Zulip Sean (Dec 24 2019 at 07:12):

Hi,
I am participating in GCI. The tasks offered by BRL-CAD are extremely interesting to work on.

Welcome @Tan Sharma ! What have been the most interesting to you so far?

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 10:18):

@Sahibpreet Kaur Can you review my work?

view this post on Zulip Sahibpreet Kaur (Dec 24 2019 at 10:20):

Which task @Thusal Ranawaka ?

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 10:21):

@Sahibpreet Kaur Model Ball and Jacks.

view this post on Zulip Sahibpreet Kaur (Dec 24 2019 at 10:21):

Link please!

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 10:24):

@Sahibpreet Kaur https://codein.withgoogle.com/dashboard/task-instances/5216426202234880/

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 10:26):

@Sahibpreet Kaur https://codein.withgoogle.com/dashboard/task-instances/5216426202234880/

view this post on Zulip Sumagna Das (Dec 24 2019 at 10:26):

@Sahibpreet Kaur you are a mentor?

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 10:26):

Yes, He is.

view this post on Zulip Sumagna Das (Dec 24 2019 at 10:26):

?

view this post on Zulip Sahibpreet Kaur (Dec 24 2019 at 10:27):

Looking at the task @Thusal Ranawaka

view this post on Zulip Sumagna Das (Dec 24 2019 at 10:27):

??

view this post on Zulip Sahibpreet Kaur (Dec 24 2019 at 10:27):

Yes @Sumagna Das

view this post on Zulip Sumagna Das (Dec 24 2019 at 10:27):

ok

view this post on Zulip Sumagna Das (Dec 24 2019 at 10:28):

merry Christmas' eve @all

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 10:32):

@LordOfBikes I'm really interested in LibreCAD v3 but I have no idea how to build it from source.

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 10:36):

@Sahibpreet Kaur I finished work on my task and submit for review.

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 10:39):

@Erik I finished work on my task and submit for review.

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 10:41):

@Sahibpreet Kaur Hello Sahib.

view this post on Zulip Sahibpreet Kaur (Dec 24 2019 at 10:42):

Yes @Thusal Ranawaka there are a few changes to be made. I am writing the review

view this post on Zulip Armin (LordOfBikes) (Dec 24 2019 at 10:54):

@Thusal Ranawaka , glad to hear that. If you really have no idea at all, you must ask yourself if this is the right task for you.
Have you already read the build instructions?
Are there any specific questions or issues?
What is your environment (OS, build tools)?
This task can be very time consuming, especially now during Christmas holidays, when mentors will focus more on family activities than GCI.

view this post on Zulip Armin (LordOfBikes) (Dec 24 2019 at 11:07):

@Thusal Ranawaka , just a hint, have you read https://developers.google.com/open-source/gci/resources/etiquette?
Asking mentors to review ones task minutes after it was submitted for review may be interpreted as pushy (point 2 in etiquette).
I understand, that you are eger to claim the next task, but consider you are not the only participant. There may be other students waiting much longer for review. We mentors get emails and have lists in our dashboard so we will usually process task reviews in incoming order.
Exercise patience, especially now during Chrismas holidays. At least the contest rules says a responnse should be given within 24 hours.

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 11:15):

@LordOfBikes I apologise from everyone for been impatient in task reviews.

view this post on Zulip Sumagna Das (Dec 24 2019 at 11:16):

dont be imapatient

view this post on Zulip Sumagna Das (Dec 24 2019 at 11:16):

and enjoy the season right now

view this post on Zulip Sumagna Das (Dec 24 2019 at 11:16):

dont always work and not enjoy

view this post on Zulip Sumagna Das (Dec 24 2019 at 11:17):

its the time to enjoy

view this post on Zulip Sumagna Das (Dec 24 2019 at 11:18):

end of the year, chirstmas , etc comes once a year. plus its the end of Decade

view this post on Zulip Armin (LordOfBikes) (Dec 24 2019 at 11:24):

@Thusal Ranawaka , don't worry, you are here to learn and contribute and when you do so, everything is fine :wink:

view this post on Zulip Sumagna Das (Dec 24 2019 at 11:38):

merry Christmas' eve Lord

view this post on Zulip Thusal Ranawaka (Dec 24 2019 at 12:41):

Thusal Ranawaka , glad to hear that. If you really have no idea at all, you must ask yourself if this is the right task for you.
Have you already read the build instructions?
Are there any specific questions or issues?
What is your environment (OS, build tools)?
This task can be very time consuming, especially now during Christmas holidays, when mentors will focus more on family activities than GCI.

WINDOWS

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:44):

hey jeffrey , we are supposed to call the program/plugin in appleseed studio during rendering in task 4 but how?

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:44):

i saw you on the discord btw

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:46):

how to call it during render(btw dont tell how to do it if thats the main point of the task)

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:46):

Have you looked at this page yet? https://github.com/appleseedhq/appleseed/tree/master/sandbox/examples/cpp The readme describes how to use the plugins

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:46):

yea

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:47):

but still didnt understand

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:49):

Basically, the appleseed project itself is using the dll

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:49):

so for linux

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:49):

.so

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:49):

Oh right, yeah

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:50):

does that mean we dont have to do anything to call the program/plugin during rendering?

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:51):

it will be called when the rendering starts?

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:51):

Yeah, you just need to make sure you link to the plugin correctly

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:51):

ok thanks

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:52):

no problem, let me know if anything else is confusing

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:53):

btw implementing the plugin in appleseed is the whole point of the task,right?

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:53):

i had to join the discord server to fully understand what are plugins?

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:53):

Yeah, I was a little confused initially as well

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:54):

here plugins extend or modify appleseed

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:55):

just like what we are building for appleseed for the integration of brlcad into it

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:56):

So, I'm not sure 100% how appleseed plugins work, but if you've worked through task #3, you'll see that things like ____Object and _____ObjectFactory are used quite often when implementing things into a project

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:56):

??

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:56):

sphereobject and sphereObjectFactory?

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:57):

Did you do task #3 yet?

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:57):

yea

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:57):

just submitted a few hours ago

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:57):

i couldnt submit it these five days cuz appleseed was not building properly

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:58):

Then you should've seen these Factories be used to create instances of something

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:58):

one of the guys in the discord server(mango3) told me to strictly follow the wiki

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:58):

nope

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:59):

i havent seen their use

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:59):

It's all over helloworld.cpp

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:59):

but thought that the blanks would be filled by a shape

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 14:59):

PinholeCameraFactory, EnvironmentFactory, etc...

view this post on Zulip Sumagna Das (Dec 24 2019 at 14:59):

It's all over helloworld.cpp

oh yes right

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:00):

PinholeCameraFactory, EnvironmentFactory, etc...

ProjectFactory

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:00):

Merry Christmas' Eve

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:00):

So in the case of SphereObjectFactory, it looks like there is a SphereObject being created that has its own set of definitions for intersect() and such

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:01):

Merry Christmas Eve to you too!

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:06):

the appleseed series of tasks is fun but i dont think i will be able to do task 7

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:11):

I agree, I'm hoping to complete all 12 (and more if they are added) if I am able to

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:12):

i will not be able to do task 7 and onwards cuz i cannot write a gui that well

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:13):

I dont think any part of the appleseed integration tasks requires you to write a gui though?

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:13):

in task 7, it says to build a seperate "art"(appleseed ray tracer or tracing,i think) application

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:13):

it isnt?

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:15):

No, the idea is to ultimately create an MGED command that works similarly to rt, but instead calls appleseed raytracing instead of BRLCAD raytracing

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:15):

ohh

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:16):

then i didnt understand the task properly :face_palm:

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:17):

No problem, does it make more sense now?

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:17):

yeah, it actually makes much more sense now

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:18):

Great!

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:19):

btw do u think the full form i assigned to the abbreviation sounds right

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:20):

appleseed ray tracer or raytracing(ART)?

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:22):

I think appleseed raytracing would be the full name, "art" for short

view this post on Zulip Sumagna Das (Dec 24 2019 at 15:22):

or ray tracer for it should be noun

view this post on Zulip Jeffrey Liu (Dec 24 2019 at 15:24):

Sorry I don't quite understand what you mean

view this post on Zulip Thusal Ranawaka (Dec 25 2019 at 02:02):

Thusal Ranawaka , glad to hear that. If you really have no idea at all, you must ask yourself if this is the right task for you.
Have you already read the build instructions?
Are there any specific questions or issues?
What is your environment (OS, build tools)?
This task can be very time consuming, especially now during Christmas holidays, when mentors will focus more on family activities than GCI.

@LordOfBikes First of all sorry for being impatient yesterday I just want to be sure that my task has no problems when there is a mentor online. And Merry Christmas to you hope you have fun today. You have asked me my OS and build tools. My OS is Windows and I have cmake though I don't know how to use it. And I Microsoft visual studio. And Qt creator.

view this post on Zulip Armin (LordOfBikes) (Dec 25 2019 at 10:15):

@Thusal Ranawaka , there is absolutly no reason to feel so sorry. One goal of GCI is to teach young people how open source communities work. We understand, that students are excited and eager, especially when it is there first year in GCI.
Open source communities are spread all over the world, in differrent time zones, with different life styles and schedules. This is why you need patience in community chats. Sometimes we have synchronous communication, scheduled or by chance, but mostly communication is asynchronous, like ask a question and wait for response.

Concerning the Build LibreCAD 3 task, if you want to battle this, I recommend to join our separate Zulip channel https://librecad.zulipchat.com/. Reach out for @Kartik kumar or Florian. Kartik is GCI mentor too and Florian is our V3 maintainer.
But you should at least have an idea how to use all the tools. Follow the instructions, install all needed dependencies and give it a go. Then, when any errors arise, ask for help on our Zulip channel.
Consider the Christmas holidays and turn of the year, responses may take longer these days.

view this post on Zulip Sean (Dec 30 2019 at 17:03):

No, the idea is to ultimately create an MGED command that works similarly to rt, but instead calls appleseed raytracing instead of BRLCAD raytracing

I don't think any of the tasks mention creating an mged command, but that would be the next step after an art application exists that is compatible with rt. Task 7 is more about creating the barebones art app first and making sure it's working.

view this post on Zulip Sean (Dec 30 2019 at 17:05):

@Agi_hero If you haven't done the tutorials yet, they go into detail about how to inspect objects. The most simple of commands is the "l" command (l is and "el" for "list" to list an object's parameters).

view this post on Zulip Jeffrey Liu (Dec 30 2019 at 17:48):

I don't think any of the tasks mention creating an mged command, but that would be the next step after an art *application* exists that is compatible with rt.  Task 7 is more about creating the barebones art app first and making sure it's working.

Oh my bad for the misunderstanding, I think I got a little confused with rt as an MGED command as well

view this post on Zulip Noah Cristino (Dec 31 2019 at 15:56):

@LordOfBikes Hey, I was trying to compile brlcad from source and ran into this error when running make https://pastebin.com/raw/GHrdSNc5
cmake went fine and make worked up until around 44%

view this post on Zulip Himanshu (Dec 31 2019 at 16:08):

Hey @Noah Cristino have you gone though prerequisites before compiling brlcad ?

view this post on Zulip Noah Cristino (Dec 31 2019 at 16:10):

yes

view this post on Zulip Noah Cristino (Dec 31 2019 at 16:11):

I think it's because -Werror is enabled @Himanshu Sekhar Nayak

view this post on Zulip Noah Cristino (Dec 31 2019 at 16:17):

I can see it's enabled in the output I just don't know where to remove it from.

view this post on Zulip Himanshu (Dec 31 2019 at 16:18):

which distro are you using ?

view this post on Zulip Noah Cristino (Dec 31 2019 at 16:18):

archlinux

view this post on Zulip Himanshu (Dec 31 2019 at 16:21):

have you gone through this https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/doc/README.Linux#l41 ?

view this post on Zulip Noah Cristino (Dec 31 2019 at 16:25):

@Himanshu Sekhar Nayak oh no thanks I'll try that I was just following http://brlcad.org/wiki/Building_from_SVN

view this post on Zulip Himanshu (Dec 31 2019 at 16:26):

and use cmake .. (for default build)

view this post on Zulip Himanshu (Dec 31 2019 at 16:26):

I think you have passed the flags that failing the build

view this post on Zulip Noah Cristino (Dec 31 2019 at 16:30):

CMake Error at misc/CMake/BRLCAD_Util.cmake:90 (_message): Could not find at least one of Tcl, Itcl or Tk libraries in /usr/lib, /usr/lib/itcl4.1.2, and /usr/lib - please specify the parent directory for the libraries in the TCL_BIN_PREFIX variable (e.g. ${TCL_BIN_PREFIX}/lib)

view this post on Zulip Noah Cristino (Dec 31 2019 at 16:31):

@Himanshu Sekhar Nayak I have tk installed where do I change the TCL_BIN_PREFIX var?

view this post on Zulip Himanshu (Dec 31 2019 at 16:36):

looks like it is unable to find package or might not be installed

view this post on Zulip Himanshu (Dec 31 2019 at 16:37):

export PATH might solve this but I don't think so

view this post on Zulip Himanshu (Dec 31 2019 at 16:41):

This package I think

view this post on Zulip Himanshu (Dec 31 2019 at 16:41):

for building the Tcl/Tk libraries: libfontconfig-dev

view this post on Zulip Noah Cristino (Dec 31 2019 at 16:41):

I installed itcl instead and it's on the make rn

view this post on Zulip Noah Cristino (Dec 31 2019 at 16:41):

idk maybe cuz I installed tk with python

view this post on Zulip Himanshu (Dec 31 2019 at 16:43):

But that package name for Debian based

view this post on Zulip Himanshu (Dec 31 2019 at 16:43):

There should be package for arch based

view this post on Zulip Noah Cristino (Dec 31 2019 at 19:36):

@Himanshu Sekhar Nayak It worked

view this post on Zulip Noah Cristino (Dec 31 2019 at 19:54):

@Erik Could you approve my task? https://codein.withgoogle.com/dashboard/task-instances/6229960839135232/

view this post on Zulip Sean (Jan 01 2020 at 07:26):

@Noah Cristino your error is caused by a very recent code change. If you disable strict (cmake option BRLCAD_ENABLE_STRICT=OFF), it should get past that warning.

view this post on Zulip Sean (Jan 01 2020 at 07:26):

@starseeker looks like that's something in the cdt logic you changed recently, uninit use case getting detected by newer gcc

view this post on Zulip Sean (Jan 01 2020 at 07:27):

@Alex Liu let's talk publicly -- I just added a task in response to your feedback where you can provide improvements to the documentation.

view this post on Zulip Sean (Jan 01 2020 at 07:28):

the sample geometry folder you found is exactly what the instructions are referring to. any of those models should be fine.

view this post on Zulip Sean (Jan 01 2020 at 07:54):

@Sumagna Das appleseed tasks actually get easier after #6

view this post on Zulip Sean (Jan 01 2020 at 08:30):

@Noah Cristino (and @starseeker ) I think the libbrep warning/error is fixed now. Please retest.

view this post on Zulip Alex Liu (Jan 01 2020 at 14:03):

Hey everyone. After I have opened a sample geometry and typed "tops" I get a list of things to draw. How would I draw them?

view this post on Zulip Jeffrey Liu (Jan 01 2020 at 16:00):

Hey @Alex Liu you should be able to use the command 'draw (insert_name)' to draw the shapes.

view this post on Zulip Daniel Rossberg (Jan 11 2020 at 17:26):

Can somebody please tell me how to use the tops in MGED database?
Thank You

@Mikki Jhuria Have you installed BRL-CAD? There are installation files for Windows on Sourceforge. I recommend to use version 7.26.0.2 for x64.

view this post on Zulip Daniel Rossberg (Jan 23 2020 at 18:26):

This was again a very busy and successful Google Code-in. The quality of the work done was very high and will leave its marks in the program.
Thanks to all students which have chosen BRL-CAD and solved some tasks there. It's a honor for us mentors too, to got chosen by you! :confetti:

view this post on Zulip Chiranjiv Singh Malhi (Jan 23 2020 at 18:30):

Thanks to all the mentors and participants for helping during the competition. I learnt a lot of new things this year and would love to learn more in future competition like Gsoc.
It was a really great year for both the participants and the org. Thank you all :tada:

view this post on Zulip Jeffrey Liu (Jan 23 2020 at 18:52):

Yeah, thanks so much to all the mentors! They really helped me learn a lot of new things, in terms of both technical skills as well as participating in open source. Looking forward to continuing contributing in the future :slight_smile:

view this post on Zulip Aman (Jan 24 2020 at 02:19):

Hey I done 3 tasks,from that one was brl cad.

view this post on Zulip Aman (Jan 24 2020 at 02:20):

Because of my exams i was unable to do other tasks.while i loved brl cad tasks

view this post on Zulip Aman (Jan 24 2020 at 02:20):

So Can anyone tell in 2020 GCI ,brl cad organization would be there

view this post on Zulip Aman (Jan 24 2020 at 02:20):

So i can work and learn brl cad from now

view this post on Zulip Aman (Jan 24 2020 at 02:21):

And So at that time i will do only tasks

view this post on Zulip Aman (Jan 24 2020 at 02:21):

And the community is also responsive

view this post on Zulip Aman (Jan 24 2020 at 02:23):

So can i start to learn it now

view this post on Zulip Sean (Jan 25 2020 at 05:39):

Yes, I'll second what Daniel said -- THANK YOU to all of our GCI participants. You have helped and will hopefully continue to help improve BRL-CAD through your efforts. Open Source is very much about working together, finding means and common motivation to work towards similar goals, or to at least work in a common space in related areas. You have all made a lasting impression and given us months if not years of useful improvements that will benefit people all around the world. Thank you.

view this post on Zulip Sean (Jan 25 2020 at 05:43):

@Aman This is the 5th or 6th time we've participated in GCI, so it's quite likely. You are encouraged and welcome to get involved sooner (i.e., now) rather than later, to take on goals of interest to you, to learn and become familiarized. It will all help you next GCI. Most that stick around and continue to contribute tend to do incredibly well the next year (i.e., grand prize winners).

view this post on Zulip Sean (Jan 25 2020 at 05:44):

If you don't know where to start, I suggest tackling a coding task and learning everything you need to get it working. This could be a GCI coding task or something from our TODO or BUGS files or simply something you think of too.

view this post on Zulip Aman (Jan 25 2020 at 13:30):

@Sean thanks for giving me boost.But please clear that brl cad would be there in gci in 2020?

view this post on Zulip Daniel Rossberg (Jan 25 2020 at 17:49):

To be sure, you have to wait until Google announces the projects. At the moment, they haven't even announced GCi 2020.

view this post on Zulip Sean (Jan 25 2020 at 21:30):

Yeah, @Aman nothing is for certain as that is a year away. Google hasn't even announced whether they will be running it again.

view this post on Zulip Aman (Jan 26 2020 at 02:23):

When they will announce

view this post on Zulip No One (Jan 27 2020 at 15:50):

We invite all the Students who has participated in the GCI 2019 contest to a friendly, experience sharing irc channel.
So who are interested in talking to fellow org students can join in our channel.
Network: irc.freenode.net
Channel: ##gci-2019
dont confuse with #gci-2019


Last updated: Oct 09 2024 at 00:44 UTC