Hey guys i'm yogi, participating in the GCI and i think the Goliath project is really interesting, and it's my favorite!!!!!
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!
Welcome @Mayur Nath
Welcome guys!
Happy New year everyone :smiley:
Happy new year!
Happy New Year everybody!
Happy New Year guys!
Hi...Happy New Year Everyone :tada: :smiley:
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!
@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 )
@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.
(deleted)
@Nwankwo Ifeanyichukwu If you were referring to the sourceforge link, you can go to I believe a folder called BRL-CAD Source Code there.
http://brlcad.org/wiki/Building_from_SVN
Sorry im new to zulip lol.
Hi I am Divyanshu participating in GCI. The Appleseed task projects sound very interesting.
Welcome @Divyanshu Mehrotra
Welcome @Divyanshu Mehrotra @William Cook ! Join us at #Google Code-in to discuss topics related to GCI.
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. ;)
@Jeff Sieu thanks so much
Hi I am Aryan Patadiya, participating in GCI. I think that creating a Facebook banner for BRL-CAD sounds as very interesting task.
@Aryan Patadiya Welcome!
Hi I'm wondering, why is the model a chess rook task seem to be missing?
probably they must have updated their tasks, there is still model a chess bishop, queen, knight and King present .
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.
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
I think like one person has tried to model a tennis ball and they didn't succeed
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!
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?
Ask her for adding new instances. Sometimes it's possible.
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)
Nevermind, I solved it using a white sphere inside a yellow one :)
@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
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 ?
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!
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 ?
@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?
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.
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!
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?
@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
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).
@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.
To be an effective mentor, you'll simply need to be an active contributor. ;)
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)
Woah, you're just jumping right in! love it
There's not, the task is more about you getting set up with appleseed, familiar with and successful at any rendering with imported geometry
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.
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.
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.
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.
@Jeffrey Liu yeah, that's great to hear -- how are your coding skills?
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.
certainly. I think you'll do well here. :)
Thanks! I'm really excited to learn more about graphics :)
@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/
Thanks for the heads up! I'll check it out as soon as I'm done with my current task.
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?
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.
Oh I see, thank you!
@Jeffrey Liu just out of curiosity, what platform are you on?
I'm still on Windows right now, I was having some trouble properly compiling on Debian Buster. Would that be an issue?
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. ;)
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.
My build log doesn't really suggest anything going wrong either - there are no errors until the libged project fails out of the blue.
@Jeffrey Liu Heh, not without a build log showing what the errors are. That's basically saying "something is wrong, do you know why?"
So what is the libged error?
To be honest, I don't really know because this is all that happens in the build log: pasted image
That's only the summary log.
or the error is further back
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?
What's in your Error List?
studio actually makes it a little tricky to get the error sometimes, depending on the type of error
can you post the entire output log?
Sure: Output-Build.txt
For some reason, my error list says that there's 0 errors.
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)
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
so those are the two main errors, everything else cascades from there
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.
the first one is not surprising -- what build target did you select in studio?
Debug x64
that's the profile, which target?
I think you'll want to select ALL_BUILD iirc
the real error is that debug_vars.c error which causes libged to fail, which causes everything that depends on libged to also fail
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
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?
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...
ALL_BUILD is a target that is just what you'd expect, just the main libraries and binaries you'd typically expect
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.
oh the build will still take a long time :)
but shouldn't be nearly as long if it was building all solutions
Yeah, it took me around 2 hours to build the first time
typical build should be about 2-20 min depending on your computer
So for the second error with libged, is there anything I could do to circumvent it?
2min would be a 64+ core machine :)
I'm testing a fix now
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
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
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.
I'm looking at the CMakeLists.txt right now. Would "COMMAND debug2c" be the factor leading to misc/tools/debug2c?
yes
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
that's what would lead you to misc/tools
or even more lazy: grep -r debug2c .
Haha yeah, maybe I should try to compile on Linux again after this
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.
the dbg_vars array**
yep, you got it
it's fine for C99 and C11, but not for the stricter compilation mode it's using
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++?
yes, that's likely a fix that would work
oh wow, I guess I'll try to do that and see if it works.
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.
Sorry I'm pretty unfamiliar with the terminology - does that mean that debug.c should also be converted into c++?
yep
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
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?
import statements?
this isn't javascript ;)
Sorry I meant include lol
there's only one include that I saw, but yes, you'd have to update it of course
Wait so aside from that is there anything else I would need to adjust?
you'll just have to compile and find out :)
Alright, I'm recompiling now to see if anything else needs adjusting. So far I've only changed the include statements.
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.
hi @Jeffrey Liu
what's up
:)
Hi!
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.
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
I wrote this
# We need BRL-CAD
find_package(BRLCAD REQUIRED)
include_directories(${BRLCAD_BASE_DIR})
include_directories(
${RT3_SOURCE_DIR}/include
)
is BRLCAD_BASE_DIR
correct or BRL_INCLUDE_DIR
or any ?
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)
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
.
@Himanshu Sekhar Nayak First, it is important that you really INSTALLED!!! BRL-CAD in the "Compile and Install BRL-CAD from source code" task.
yeah I forgot to make install
:\
And, if you are on Linux, make sure that the bin directory of your installation is included in your PATH environment variable.
yeah using linux
how to change height of cylinder using edit option
I tried by selecting Set H and then did but it wasn't working
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
now it's good
:)
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.
but cicommon.h is still in that brlcad dir
btw I just removed brlcad/cicommon.h and named it to cicommon.h and now it is compiling
i have claimed the task of installing and running brl-cad
i cant find the mged window or dont know how to open it. can anyone pls help me?
hey @Sumagna Das
have you obtain the source and build, compile it yet ?
if yes mged part is not more far for you :)
hi @Sean
@Himanshu Sekhar Nayak i have installed a pre compiled version. i am gonna obtain the source and build it next.
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
`
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
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 ?
do u mean the whole install wizard. if yes, yea i have done that
oh i found the mged program
it wasnt on the recently installed list on the start menu
so i couldnt find it
very nice :)
my exams are going on so just gonna see how the tasks in google code in works like
yeah is it your first time in this competition ?
if yes you are gonna learn and enjoy lot of things
:)
yea
:grinning_face_with_smiling_eyes:
my exams end this friday and then its holidays for me and my friends
:)
so many indians in the server. very happy to see that.
yeah
mentors coming soon
timing issues
i will just submit this task today and then i will start going in this competition full time after saturday
great go on !!
windows explorer just crashed
only google chrome is open and i cant even switch between things
bye
bye
brl cad has broken shortcut creating system
??
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
hey @Erik
It'd be better to ask/comment openly, "don't ask to ask", others may have answers :)
me,erik?
It’s good advice for everyone @Sumagna Das :)
And welcome
Did you compile and install BRL-CAD from checkout before trying the rt^3 build?
yes
after building BRL-CAD from source, I went to build rt^3
Your comments above indicate you used a precompiled install
What’s your brlcad version?
What’s your brlcad version?
how to know the version ? like brl-cad --version or any ?
Run rt
What is the output?
What is the output?
7.30.3
Can you please send the whole thing?
Or even screenshot the whole output
Or even screenshot the whole output
Screenshot.png Screenshot-1.png
And @Himanshu Sekhar Nayak are you having the same problem?
which problem ?
Heh
:\
No worries my mistake
Sumanga wasn’t installed yet
hey @Daniel Rossberg :)
@Himanshu Sekhar Nayak where did you install to and what changes have you made testing? Just cicommon?
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
let me get start over
How are you Sir?
I just finished and submitted a task on GCI. Worked on the brlcad about page.
It was cool though made some correction
Any mentor available to check that out?
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
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/
It would be technical and a great learning experience
Take them any time when you are free from any other tasks
Those look quite interesting! I don't have any experience with LibreCAD but I'd love to learn about it.
I'll definitely check them out when I can!
I have submitted the task for review ( Task: Complete BRL - CAD tutorial, lesson 1-8)
Hi, when I'm submitting a patch on sourceforge, is the only required attachment the "PATCH" file?
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?
hi @Daniel Rossberg what does this mean 'Run the printTitle program with a BRL-CAD database of your choice' ?
which BRL-CAD database ?
you mean .g files ?
or any ?
@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.
In CMake notation, RT3 is the project and coreinterface etc. the build targets.
@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
but no luck with hellobrlcad
himanshu@asus:~/brl-code/rt^3/build
$ tests-bin/hellobrlcad ~/brl-code/brlcad-code/build/share/db/xmp.g
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.)
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
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:
can I do something for it ?
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.
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.
if it's possible, i will give my best to solve it
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.
so for now should I submit the task and choose the remove throw
task ?
I uploaded both screenshots for printTitle
and hellobrlcad
program for working and not working
:)
Thanks @Daniel Rossberg
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?
Otherwise, I could revert back to the most recent revision and then edit the file again.
I have submitted the task for review ( Task: Complete BRL - CAD tutorial, lesson 1-8)
please review so that I can begin with new task or improvise it
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
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.
https://codein.withgoogle.com/dashboard/task-instances/4605933116719104/
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.
https://codein.withgoogle.com/dashboard/task-instances/4605933116719104/
the link of the task
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.
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?
Submitted a review
Web: Creating About page
https://codein.withgoogle.com/dashboard/task-instances/6752777821224960/
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.
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]?
but in MX 18, I am getting a mged window
Is it normal or any ?
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.
my bad
sorry for that
:disappointed:
ping @Daniel Rossberg Is your rt^3
compiling well because mine throws error for qt5
?
https://paste.ofcode.org/qbwyrVbaj64AFpbA6KJuFc
@Himanshu Sekhar Nayak https://brlcad.org/wiki/Compiling lists a set of debian deps (at one point)
@Himanshu Sekhar Nayak your compile errors point towards a missing or incorrect libpng
thanks for info
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.
@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 ?
libpng-dev.
libpng-dev
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
hey @Jeffrey Liu :)
Hello!
@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.
Thank you for the advice @Daniel Rossberg , it is exactly what I needed. I will try out as soon as I can.
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)
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/
Thanks Mentors for the corrections, it keeps me going
would really appreciate it if someone please reviewed my task: https://codein.withgoogle.com/dashboard/task-instances/6121998590148608/
@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
?
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.
hello
which task should i choose? (beginner )compile and install brl cad or compile brl cad from source on your computer
which task should i choose? beginner )
hello @Sumagna Das yes go with beginner task. You will feel pretty straight forward :)
both sound like the same
help wanted
help wanted
as both are pretty beginner. You can go on whatevr you like :)
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.
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
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
so you have to compile it and install it
so which one should i choose
so which one should i choose
your distro ?
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
windows
yeah both are similar
I will suggest you to go through first one if you like :)
so which one?
Hi @Jeffrey Liu How's going dude ?
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
ok
Hey @Himanshu Sekhar Nayak I'm good, how about you?
yeah I am in flow :\
thanks
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
?
@Jeffrey Liu do you know anything about that ^^^ ?
There is something called the cmake-gui, but I've only ever used it Windows before.
Seems like on Linux, you need to install cmake-qt-gui
From what I just read on stack overflow ^^
thanks for info :)
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.
yeah I am in flow :\
is it a good or bad flow? :)
good flow
I am loving it
great
@Himanshu Sekhar Nayak daniel was saying you need to rebuild and reinstall brl-cad
yeah got it
I am on my way :)
with different cmake settings, specifically to make sure it's configured to use the system png
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
okay thanks @Sean helps a lot :)
fixing that issue would be a great gci task, but it is a little advanced to understand what's going on
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.
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
oh... now I understand
that's why conflict arises between system png and brlcad png
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.
@Sean okay thanks!
@Daniel Rossberg looks like it is already in SYSTEM AUTO Screenshot.png
And you didn't compile earlier with different settings?
nah
just did cmake ..
but now I rebuild brlcad and now I saw with ccmake ..
compiled rt^3 but still same
did you install brl-cad?
yeah I did
What does it report if you run ldd on path/to/brlcad/bin/rt
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)
https://paste.ofcode.org/5G7J6uy8Gj7Dmw5YY7qfpu
Screenshot-1.png btw I got this from rt^3/build
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.
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.
looks like it's cant find the version number
@Himanshu Sekhar Nayak so that shows the issue. for whatever reason, it's linking against the system Freetype which links against PNG.
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?
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.
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
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
don't see an actual error there
first is a warning, not important here
second is the summary, not the actual error
https://paste.ofcode.org/HGCa8VpjVm2EadTgNWkvLu
run "make VERBOSE1"
it says make: *** No rule to make target 'VERBOSE1'. Stop.
make VERBOSE=1
https://paste.ofcode.org/hG5zGcMsVmDxydzs9brPQq
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.
@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.
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.
@Himanshu Sekhar Nayak Have you cleared the rt^3 build directory before reconfiguring and rebuilding it?
@Jeffrey Liu no I mean output from the command
afk
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
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.
@Himanshu Sekhar Nayak Does there still exit a file /usr/brlcad/dev-7.30.3/lib/libpng.so?
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
Therefore, you haven't cleaned up your install directory before rebuilding?
make clean ?
rm -R /usr/brlcad/dev-7.30.3
(sorry)
:\
just deleted the whole dir
let me build it another time
not a problem, just reinstall :)
Jap. make install
should fill it again in a minute.
Then, the libpng should be gone.
so by default it is SYSTEM(AUTO) ?
Jap, system means "no need to build an own one".
we do need to change brl-cad's build, though .. this issue comes up often with libpng and libz in particular
successfully compiled
:)
now I can work on dynamic exception
thanks for the help @Sean and @Daniel Rossberg
does that mean it's working now?
yes
great
:)
now I can see dynamic warnings messages
a lot of it
:silence:
late night now
have to wake up early for school
see ya
see you!
anyone gonna help me
i cant build the application. any help?
Hi @Sumagna Das , what is the error you're getting?
i just closed vs2017
anyways, i was getting errors saying syntax error: len or syntax error :"offset
"
something like that
Send us a screenshot of the error log so we're better able to pinpoint how you could resolve it.
vs2017 build error log?
Yeah, that would help a lot.
i am trying again from scratch from command line
it is also giving me a lot of "failed" and "not found" messages for tests and headers respectively
As long as the CMake configuration completed successfully without any errors, I think you should be fine.
ok
i am doing that from cmd this time
earlier i did it from the gui
i gotta sleep but i wanna finish the build at least before that.
:sleepy:
sorry for spamming in the chat.
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/"?
I believe http://svn.code.sf.net/p/brlcad/code/brlcad/trunk/ is what you should be using when checking out the source code
Speaking of CMake, I've been having some trouble with configuring it for rt^3. This is the error: pasted image
From what I've seen online, the error is caused by the fact that BRLCAD_VERSION at line 157 on FindBRLCAD is empty
^^ When I say seen online, I mean what causes similar error statements.
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)
and I'm a little confused because looking at the bin files, the brlcad_config isn't even an executable for some reason
Am I following the right trail? I believe that everything installed correctly because there were no errors when I built the INSTALL project.
it's a script that you can see, generated from misc/brlcad-config.in
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
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
Oh, is it not possible to install rt^3 on Windows?
No, it totally should be
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
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
So if I'm understanding correctly, I should be able to manually edit misc/brlconfig.in to fix it?
curious, you planning on getting back to the appleseed chain of tasks?
no, you shouldn't need to edit the brlcad-config script
there's probably a variable you can set when running rt^3's cmak
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.
they're all similar complexity and concepts
based on how well you did with the pixcount task, I don't think you'll have trouble with any of them.
it'll more be a function of your time and availability, how many tasks you're able to complete before time runs our :)
s/our/out/
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.
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.
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 :)
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.
Ah, I see - so in that case, could you please help clarify? :)
Sure, but what's the question :)
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.
it depends what application you're writing, but it's more simple than it seems
The application in question would just be task 2 for the appleseed integration.
And then more if it works out :)
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.
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
to create a new program like rtexample, you merely have to look at how rtexample was defined in src/rt/CMakeLists.txt
there, you'll find just two lines mentioning "rtexample", and only one of them is actually needed to build the program
to add your own, it's as simple as adding one line for your application
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?
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
yep
suggest calling it "art.cpp" for appleseed-rt ;)
And then this would create a properly configured project for me to work on, if I'm understanding correctly?
suggest calling it "art.cpp" for appleseed-rt ;)
good idea, I will definitely do that :)
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
but then that's also why the task is broken up into so many tasks (and 1-5 is really just the start)
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?
for now, yes, that's perfectly fine
it's one of the easiest image formats, second only probably to writing out pix data
if you're inclined, I can add another task to convert PPM support to PIX support like the other RT tools
we have a library for it called LIBICV (image conversion library) that one can write to, which would be best
heck adding PPM support to libicv would be a good GCI task
Haha sounds good, i will begin working as soon as I can.
-- 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?
should i be doing "start without debugging" with x64 configuration in vs2017 for brlcad solution?
@Sumagna Das Select build in the toolbar and then select build solution.
ok
configuration?
cmake should have properly configured everything. All that's left is to build the solution.
win32 or x64?
i am getting errors
What's the error?
i have a screenshot. wanna see?
Yes please
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)
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
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.
should i be changing the configuration to x64?
will it do anything?
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.
mine is x64 and the config is set to win32. should i be changing it or its okay for both?
It's my understanding that win32 will still work on 64-bit architectures, but it might be better to change it.
ok
Hello
@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
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 ?
@Daniel Rossberg I removed and modified throw()
statements and looks like some error pointing to librt.so
[ 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
Daniel Rossberg I removed and modified
throw()
statements and looks like some error pointing tolibrt.so
I only removed throw()
in Arb8.h
, Arb8.cpp
and Object.h
Himanshu see if u can help me
It gets stuck when generating pnglibconf.c
It gets stuck when generating pnglibconf.c
paste me the output
not here but somewhere else like https://paste.ofcode.org/
Which output?
your error output
Ok
What language to choose
What language to choose
don't go for it. Just paste and submit and send me the link
Ok
https://paste.ofcode.org/pqfAS8qHQLaz2cNjPHhCsu
the first line is where it starts giving error
you are building in a linux distro ?
yup
Are you working on Compile and Install BRL-CAD from source code
?
i did it first in windows
yeah
i have dual boot
ubuntu and windows
have you installed svn
, cmake
?
I think yes
i had the source from widnows so i took it from there and rebuilt it in ubuntu
and yes i have installed cmake and svn
@Sumagna Das Have you went through this https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/doc/README.Linux ?
i am following this http://brlcad.org/wiki/Building_from_SVN
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
you can find description for Ubuntu
distro too
thanks
or more specifically https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/doc/README.Linux#l47
i was doing it in windows but found it too complicated
so switched to ubuntu cuz its much easier
it seems i didnt had the essentials
btw does it restart if i upgrade ubuntu from 18.04 to 19.04
I think 18.04 is a LTS version but why do you want to upgrade to 19.04 ?
it sent me a notif telling me to upgrade when i started it
does brl cad have irc?
it sent me a notif telling me to upgrade when i started it
don't upgrade unless you want to
does brl cad have irc?
may be
ok
ubuntu is much easier
i thought about doing gci on windows but ubuntu is much easier
and fast
but brl-cad can be build in windows too
@Jeffrey Liu have installed successfully
gtg bye
i know
bye
@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.
@Daniel Rossberg can you extend my task for one more day as I am busy here in completing school assignments
how to see the source code of brl cad after building it
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
(deleted)
I suspect the compiler is unable to link the files or something like that
how to see the source code of brl cad after building it
use ls
command
where to use ls
where to use ls
in terminal
or command line you can say
like this
h1manshu@asus:~
$ ls
brlcad check Documents Music Public Videos
C-Assignment Desktop Downloads Pictures Templates
then if you want to go into the directory brlcad
then you have to use cd brlcad/
I can recommend you to google some terminal commands for linux
not that seeing i am telling about
i am talking about opening it
i am talking about opening it
first you have to go into the directory using cd
command and then again use ls
command
then you can see some dirs
how to see the whole code
at the same place
@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 ?
how to see the whole code
It is not one line of code that you can see at once
All together libraries and some other files that combine the source code
Actually what you want to work on ?
yea i am talking about all that in the same place
no i just want to see
the code
:\
then idk what you are talking about
found it
i was talking about a folder or something containing all the files related to a part of the software or something organised
it was in the src folder
i was talking about the files
i couldnt explain what i was trying to say
np it's okay
i found application related data in the src folder
@Daniel Rossberg btw I removed all the throw() statements from A-C file.
If all things are fine. Then let me know I will work further on removing throw statement on other files too
Capture.PNG
I am having this error while converting .g file to .obj . Can someone help me?
my mentor has not reviewed my work yet. should i start working on another task?
anyways i have started already
it sent me a notif telling me to upgrade when i started it
@Sumagna Das https://brlcad.org/wiki/IRC
thanks
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
so should i try starting working on another one and claim that task later
while building rt^3 module, it says "set BRLCAD_BASE_DIR"
WHAT SHOULD I DO?
You have to do export PATH="/usr/brlcad/bin:$PATH"
ok
i am a real noob
:expressionless:
anyways i have to get practice before the next GCI
do i have to have qt5 for rt^3?
@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)
Thanks
what should be the output of hellobrlcad command in ubuntu
in rt^3
pls help
I GCI is cool
i know
chiranjiv can u help?
should i just remove the throw statements in the task and not replace it with something?
Where I can download LibreCAD 3
https://github.com/LibreCAD/LibreCAD_3
You can download the source code from here
Capture.PNG
What can I do to fix this error after cmake command while making brl-cad from source code.
@Daniel Rossberg fixed the throw() statements. If any further suggestions then let me know
@Chiranjiv Singh Malhi Have you done cmake ..
?
@Himanshu Sekhar Nayak Yes
@Chiranjiv Singh Malhi I suspect cmake ..
couldn't resolve the path issues
have you gone through prerequisites that needed to build brlcad from source ?
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.
Hi @Manish Raj
@Himanshu Sekhar Nayak Will check
Hey @Manish Raj
hi
@Sean Can you help me , I can't make an ebm with the internal object a.PNG
hey @Daniel Rossberg should i just remove the throw statements and not replace it with something?
Right. You can submit the task.
ok i am working on it
and nothing else?
just delete the throw() statement wherever it is present?
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.
thanks
@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?
Submitted :sunglasses:
which one?
i am working on the "remove throw statement(A-C)" task
@Sumagna Das Yeah just submitted and waiting for approval
@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
i am also working on the same task
what should be the extension of the patch? txt?
what should be the extension of the patch? txt?
.patch
okay
thanks
cuz somewhere it says it should be .txt or .diff
@Daniel Rossberg have you pushed the changes ?
what changes?
when did u take the task
the "remove the throw statements"?
when did u take the task
``3 days ago
oh you did it late because of your school assignments, right?
yeah
but done now :)
oh ok
ohnok
what happened ?
i was typing with my left hand and watching mrbeast on youtube on phone with my right hand
Daniel Rossberg have you pushed the changes ?
Not yet, Sumagna Das is working on them too.
okay
right and i am done( i think).
submitted a few minutes ago
ok daniel
but daniel how can i see that file if its not shown?
i am on ubuntu if u want to know
but daniel how can i see that file if its not shown?
ls -a
this will show all the . files too that you can't see when using ls
ok thanks
should i use svn diff or diff?
diff
thanks
should i use svn diff or diff?
svn diff!
Then, you get only the files which actually belong to the repository.
thanks
I thought you are asking between diif
and diff
:\
didn't saw the whole question
Somewhere (in a task?) the svn diff
was mentioned, but I don't remember where :thinking:
yea right
i also saw that
Ha! https://brlcad.org/wiki/Patches
thanks
so i have to do both header and cpp files in this type of task?
so i have to do both header and cpp files in this type of task?
of course
:\
Hey @Jeffrey Liu How's going dude ?
ping @Daniel Rossberg one problem
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.
any way I can distinct them ?
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
Hey Jeffrey Liu How's going dude ?
Hey @Himanshu Sekhar Nayak I'm good, how about you?
@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
Hey Jeffrey Liu How's going dude ?
Hey Himanshu Sekhar Nayak I'm good, how about you?
I am in good flow :)
should i be changing all the cpp files in src after changing the includes or should i be changing only from (A-C) files?
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
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
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)?
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().
@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.
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.
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.
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?
Mentors, I just submitted a task. Waiting for review. Thank you
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?
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.
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.
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. :)
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.
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. ;)
@Sean sorry, my bad
No worries :)
I assume you asked because you have a raytracer or something you made for a class?
Not exactly for a class but yeah , I had the basic structure
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)
but you have to keep in mind the purpose of GCI ... it's not completing tasks for the sake of completing tasks.
you're making valuable contributions to existing open source projects that existed long before GCI started and will exist long after GCI is over.
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
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.
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.
alright @Sean , thank you :D
changing the cpp and h files give a cascade of failures. some i have fixed, some i couldnt fix
can someone help me with that
Screenshot-from-2019-12-09-14-00-08.png
these are the errors
i am going one file at a time
like arb8.h and arb8.cpp right now
Because those classes belong to object.h
So whatever you change it will reflect
Ok so what should i do
new error pls help me
Screenshot-from-2019-12-09-15-13-09.png
There are problems cropping up after i removed the throw statements
Should i fix them also?
Or let them be there and fix them in the later tasks?
Hi, I'm participating in GCI. "LibreCAD - Create and use line patterns in LibreCAD version 3" sound really interesting to me!
I sent my screenshots for review.
There are problems cropping up after i removed the throw statements
So should i fix them or let them be like that?
I was supposed to remove throw statements from specific files but fixing them will be beyond the task
And is a work for another task
So what should i do?
Hello @Himanshu Sekhar Nayak
hey
Task approved?
which one ?
Throw statement removal
yes
Ok
I submitted mine
I don't know if it's gonna be approved or not
I removed all th throw statements from the cpp files and h files
Hi
But if i didnt remove throw statements from the object.h i gave me a lot of errors
So i had to remove them
yeah you have to remove those from object.h
Hey @Chiranjiv Singh Malhi how's going
@Himanshu Sekhar Nayak I am fine , what about you?
yeah in good flow
Wait what
@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
What are you saying @Chiranjiv Singh Malhi
Tell me if i know the cause
Anyone uses atom btw
@Sumagna Das I am having problem in downloading the software from source code
Show the screenshot
U have ubuntu or something linux, i think?
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 ?
Hey Himanshu, i again took back the changes in object.h file
Will it change anything
I am not gonna change the file
Submitted to the task
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
just a common logic I can say
Yea
Will it be something for which my submission be sent back for more work?
@Chiranjiv Singh Malhi do u have windows?
@Sumagna Das yes
I don't know about your changes. So I have no answer for that
Ok @Himanshu Sekhar Nayak and @Chiranjiv Singh Malhi
I also use windows
So i know some of it
Whenever i build the solution file , i never get the bin folder
It's happened with me also so i change d to ubuntu to see whether it works there or not
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 ?
yes
I have gone through the whole file
It gives many syntax errors, right @Chiranjiv Singh Malhi ?
yes @Sumagna Das
Did u try with make?
yes this error shows Capture.PNG
yes this error shows Capture.PNG
this is due to cmake ..
ended with errors or something I can say
R u doing this for a task
I can help him do that
Yes
Do u have cmake gui?
yes
Go there
ok
And specify the build directory and source directory
and what should those be
Himanshu i can help him with that, can't i?
yes go on
Wait let me start my laptop
i am back
source directory is where you have your source code
build directory is where you want to store the build
send me a screenshot after setting those up
go to file and press delete cache
ok done
all disappeared i think
yes
for your ease, keep chrome on one side and cmake gui on the other side
ok
then press configure
dont do finish before i say
ok pressed
there you can change the generator
its visual studio 16 2019 selected now
wait
do u have mingw?
yes
then change the generator to mingw makefiles
ok done
now press finish
and show me the screenshot after configuring is finished
this error came capture3.PNG
can you drag the lower section up so the errors can be seen more prominently
and send the screenshot
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
wait i will try to do it myself
tell me if it works
Did it work?
new error coming Capture5.PNG
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
Set the cpp compiler path to environment variable CXX first
If that doesn't work, set it to c compiler path
Can you tell me how ?
Windows 10?
yes
Press windows key +S
And search environment variables
Press on it
yes opened
Then press on the environment variables button
ok
Then press new
ok
(deleted)
Set variable name CXX
ok
Like this
image-2df1cd7c-2cf2-4ef8-915a-063c2a4d34eb.jpg
Now enter your path to the cpp compiler in the variable value or browse to that directory using browse directory option
Chiranjiv there?
yes yes just a minute
Ok
Where is the cpp complier?
Go to command line and type g++
image-d6db4609-b543-43b0-9573-65b0332143d6.jpg
You don't have mingw installed. that's why
Wait let me send the download link
Hey @Himanshu Sekhar Nayak do u have the link?
Hey Himanshu Sekhar Nayak do u have the link?
btw I don't use windows so probably can't say much
Wait
download this
and install it
tell me after installing
ok
installed?
not yet my internet speed is really slow
ok
Hey @Sumagna Das , can we continue from here tomorrow as its late and school tomorrow ? And thank you very very much for the help.
i was also getting sleepy
bye
bye and thanks again
is it installed?
No yet
cuz i would say to start the build process now and make process tomorrow
it took me some time to configure
37 mins and 10 sec
I can't open that file it says its corrupted
image-a8b0e654-a311-457f-a399-a8c180d75d71.jpg
which one?
.exe file
tomorrow then
Ok
i would fix it and send
Great . Thanks
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.
sean r u t?here
never
anyways
i am doing the remove the throw statements (a-c) task
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.
maybe not immediately, but they will
daniel said i have to remove throw statement from the object.h and object.cpp which results in a cascading failure
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
yes
so should i remove throw statements for some specific functions in other files cuz they report error
Screenshot-from-2019-12-10-10-15-25.png Screenshot-from-2019-12-10-10-15-37.png
these are the errors
it specifically comes up for the clone function,etc
cascading failures is typical with that kind of change
so should i change those lines and remove throw statements?
or should i keep it for the other (c-f),(g-m),etc tasks?
link me to the task description
https://codein.withgoogle.com/dashboard/task-instances/5343055670935552/
daniel said to me that i have to remove throw statements from object.h and object.cpp
and more work needed
after saying that
at a glance, it looks to me like you deleted more than a throw statement
like maybe you deleted a const statement too
nope
what does your "svn diff" change set looks like
i deleted const throw
does that count?
ohhh
i now remember that we can put const after arg list for declaring it constant function
bingo
thats causing the problem?
you made the function non-const, which made it incompatible with a crap-ton of other stuff
ok
then i will fix it
thanks
i just couldnt remember when i saw it
thanks for pointing out my mistake
no problem, glad to help
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)
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
Thanks Sean
Now the whole thing works pretty well
Hey @Himanshu Sekhar Nayak
Hey @Sumagna Das
Working on a new task?
Yeah
Ok
I converted .g file to .obj file
But .obj file cannot be opened in applessed directly
can I do it via blender
I don't know
I have used blender btw
@Mayank Goyal Appleseed can import .obj files directly; you can look at the documentation and example project to explore how.
Let me try again
Which documentation???
Sorry, I should've specified Appleseed documentation.
I have imported .obj file having a sphere but on rendering, there render screen does not show the sphere
You may need a light source or else it will be all black.
@Mayank Goyal Zoom out
U completing task Chiranjiv or r u a mentor?
Hi, i was wondering what do we actually have to do in the Github pull request task? im a bit confused
There is no zoom out feature
https://codein.withgoogle.com/dashboard/task-instances/4662666010820608/
mentors, could I get 1 day extension please
Mayank, done?
Mayank, done?
no
I cant do it right now @Chiranjiv Singh Malhi
@Sumagna Das ok no worries
i created a sphere in mged, and then converted the file to .obj
In appleseed then I imported the .obj file but now how to render
@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.
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.
It can be that the conversion from .g to .obj was not succesfull
I experienced the same thing; if the conversion was not successful, there would likely be a different error.
First of all , how can i properly convert .g file to obj file
Did you use g-obj?
I wasn't able to understand it properly
where it is present
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.
I clicked on it
A dialog box opened and closed immediately. It just opened for a millisecond
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.
This link might help: http://brlcad.org/~nouhrasofat/man1/en/g-obj.php
i referred the link, so what code should I use to call g-obj through command line
code present there didn't seem to work
It depends on how you set up your geometry database. What is the name of the primitive?
sph1.s
Is the database called sphere.g?
yes
It would be something like g-obj -o sphere.obj sphere.g sph1.s
assuming that sphere.g is in the same directory
(deleted)
I understood the error
I was not typing sph1.s at the last
thank you
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?
Nevermind, it seems like basic was apparently renamed to helloworld but they should still be the same thing.
Can any mentor please review my task.
'Github pull request task"
Hey guys. GCI helped me uncover how awesome a company BRL-CAD is. Keep up the good work!!!!!
fuc y\
Hi,
I am participating in GCI. The tasks offered by BRL-CAD are extremely interesting to work on.
welcome @Tan Sharma and @Abhinav Pottigari
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.
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?
@Sahibpreet Kaur Can you review my work?
Which task @Thusal Ranawaka ?
@Sahibpreet Kaur Model Ball and Jacks.
Link please!
@Sahibpreet Kaur https://codein.withgoogle.com/dashboard/task-instances/5216426202234880/
@Sahibpreet Kaur https://codein.withgoogle.com/dashboard/task-instances/5216426202234880/
@Sahibpreet Kaur you are a mentor?
Yes, He is.
?
Looking at the task @Thusal Ranawaka
??
Yes @Sumagna Das
ok
merry Christmas' eve @all
@LordOfBikes I'm really interested in LibreCAD v3 but I have no idea how to build it from source.
@Sahibpreet Kaur I finished work on my task and submit for review.
@Erik I finished work on my task and submit for review.
@Sahibpreet Kaur Hello Sahib.
Yes @Thusal Ranawaka there are a few changes to be made. I am writing the review
@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.
@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.
@LordOfBikes I apologise from everyone for been impatient in task reviews.
dont be imapatient
and enjoy the season right now
dont always work and not enjoy
its the time to enjoy
end of the year, chirstmas , etc comes once a year. plus its the end of Decade
@Thusal Ranawaka , don't worry, you are here to learn and contribute and when you do so, everything is fine :wink:
merry Christmas' eve Lord
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
hey jeffrey , we are supposed to call the program/plugin in appleseed studio during rendering in task 4 but how?
i saw you on the discord btw
how to call it during render(btw dont tell how to do it if thats the main point of the task)
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
yea
but still didnt understand
Basically, the appleseed project itself is using the dll
so for linux
.so
Oh right, yeah
does that mean we dont have to do anything to call the program/plugin during rendering?
it will be called when the rendering starts?
Yeah, you just need to make sure you link to the plugin correctly
ok thanks
no problem, let me know if anything else is confusing
btw implementing the plugin in appleseed is the whole point of the task,right?
i had to join the discord server to fully understand what are plugins?
Yeah, I was a little confused initially as well
here plugins extend or modify appleseed
just like what we are building for appleseed for the integration of brlcad into it
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
??
sphereobject and sphereObjectFactory?
Did you do task #3 yet?
yea
just submitted a few hours ago
i couldnt submit it these five days cuz appleseed was not building properly
Then you should've seen these Factories be used to create instances of something
one of the guys in the discord server(mango3) told me to strictly follow the wiki
nope
i havent seen their use
It's all over helloworld.cpp
but thought that the blanks would be filled by a shape
PinholeCameraFactory, EnvironmentFactory, etc...
It's all over helloworld.cpp
oh yes right
PinholeCameraFactory, EnvironmentFactory, etc...
ProjectFactory
Merry Christmas' Eve
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
Merry Christmas Eve to you too!
the appleseed series of tasks is fun but i dont think i will be able to do task 7
I agree, I'm hoping to complete all 12 (and more if they are added) if I am able to
i will not be able to do task 7 and onwards cuz i cannot write a gui that well
I dont think any part of the appleseed integration tasks requires you to write a gui though?
in task 7, it says to build a seperate "art"(appleseed ray tracer or tracing,i think) application
it isnt?
No, the idea is to ultimately create an MGED command that works similarly to rt
, but instead calls appleseed raytracing instead of BRLCAD raytracing
ohh
then i didnt understand the task properly :face_palm:
No problem, does it make more sense now?
yeah, it actually makes much more sense now
Great!
btw do u think the full form i assigned to the abbreviation sounds right
appleseed ray tracer or raytracing(ART)?
I think appleseed raytracing would be the full name, "art" for short
or ray tracer for it should be noun
Sorry I don't quite understand what you mean
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.
@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.
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.
@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).
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
@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%
Hey @Noah Cristino have you gone though prerequisites before compiling brlcad ?
yes
I think it's because -Werror is enabled @Himanshu Sekhar Nayak
I can see it's enabled in the output I just don't know where to remove it from.
which distro are you using ?
archlinux
have you gone through this https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/doc/README.Linux#l41 ?
@Himanshu Sekhar Nayak oh no thanks I'll try that I was just following http://brlcad.org/wiki/Building_from_SVN
and use cmake ..
(for default build)
I think you have passed the flags that failing the build
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)
@Himanshu Sekhar Nayak I have tk installed where do I change the TCL_BIN_PREFIX var?
looks like it is unable to find package or might not be installed
export PATH
might solve this but I don't think so
This package I think
for building the Tcl/Tk libraries: libfontconfig-dev
I installed itcl instead and it's on the make rn
idk maybe cuz I installed tk with python
But that package name for Debian based
There should be package for arch based
@Himanshu Sekhar Nayak It worked
@Erik Could you approve my task? https://codein.withgoogle.com/dashboard/task-instances/6229960839135232/
@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.
@starseeker looks like that's something in the cdt logic you changed recently, uninit use case getting detected by newer gcc
@Alex Liu let's talk publicly -- I just added a task in response to your feedback where you can provide improvements to the documentation.
the sample geometry folder you found is exactly what the instructions are referring to. any of those models should be fine.
@Sumagna Das appleseed tasks actually get easier after #6
@Noah Cristino (and @starseeker ) I think the libbrep warning/error is fixed now. Please retest.
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?
Hey @Alex Liu you should be able to use the command 'draw (insert_name)' to draw the shapes.
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.
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:
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:
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:
Hey I done 3 tasks,from that one was brl cad.
Because of my exams i was unable to do other tasks.while i loved brl cad tasks
So Can anyone tell in 2020 GCI ,brl cad organization would be there
So i can work and learn brl cad from now
And So at that time i will do only tasks
And the community is also responsive
So can i start to learn it now
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.
@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).
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.
@Sean thanks for giving me boost.But please clear that brl cad would be there in gci in 2020?
To be sure, you have to wait until Google announces the projects. At the moment, they haven't even announced GCi 2020.
Yeah, @Aman nothing is for certain as that is a year away. Google hasn't even announced whether they will be running it again.
When they will announce
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: Feb 12 2025 at 00:46 UTC