BRL-CAD builds pervasively on a number of different operating systems, hardware, and compilers. We actively seek out new compilation environments and like to get them working as best as we can. We regularly build with Microsoft Visual Studio (the professional one you have to pay for), GCC, and a number of other compilers.
This task involves attempting to compile BRL-CAD using the latest and greatest version of GNU's C compiler (GCC) directly from their source repository. You'll need to download our source code, CMake, checkout the GCC source code, and compile your compiler. It's not complicated, but will take some time to compile GCC if you never have done so from scratch before. Once you get GCC built, then it's time to compile BRL-CAD. Keep notes of everything you do along the way! You'll report back any failures and otherwise document all the steps you take. Submit a complete build log and your notes documenting everything you did.
We will create follow-on tasks if you make any fixes that get the build working. You MUST first compile BRL-CAD successfully with any other compiler before claiming this task.
Resources:
- http://brlcad.org/wiki/Compiling
- http://www.cmake.org/
- https://gcc.gnu.org/install/download.html
File name/URL | File size | Date submitted | |
---|---|---|---|
https://drive.google.com/folderview?id=0B1... | n/a | December 14 2014 10:32 UTC |
I would like to work on this task.
This task has been assigned to Brin Taylor. You have 100 hours to complete this task, good luck!
There are less than 24 hours left until the deadline, please submit your work soon.
The claim on this task has been removed, someone else can claim it now.
I would like to work on this task.
This task has been assigned to Arnav. You have 100 hours to complete this task, good luck!
The claim on this task has been removed, someone else can claim it now.
I would like to work on this task.
This task has been assigned to Vamshi Balanaga. You have 100 hours to complete this task, good luck!
I have the latest version of gcc, I downloaded, built and installed cmake, downloaded and built brl-cad. But when I tried to compile I got two errors. One was just a warning, but the second error was in several places and the same thing every time. I'm uploading a link to a google doc folder with screenshots and a log in which I wrote down the steps involved.
IS this all I have to do? Or do I have to figure out the reason for the error, and fix it?
Of course, the best would be to troubleshoot and fix the problem, then submit logs for a successful build (along with what you did to fix it).
But if think there's nothing else that can be done on your side, then hit the "Mark Task as Completed" button to submit the work for review. If there's really a legitimate issue beyond your control, then they'll most probably close the task. Otherwise, they'll send it back to you for further editing and work.
The work on this task is ready to be reviewed.
Could you please upload the build log files to your drive? In the mean time have you attempted to resolve the build errors?
your gcc --version is 4.8.1. have you tried compiling with gcc 4.9.1. that's the latest gcc available to my knowledge.
See what you can do.
One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.
I uploaded the build log. I'm trying to install and compile using gcc 4.9
Nice, trying installing and compiling from gcc 4.9.2 that should be the latest and let's see how it goes ;)
I installed and repeated the process with gcc 4.9.2 and have uploaded the build.log and several screenshots.
The work on this task is ready to be reviewed.
Congratulations, this task has been completed successfully.
Vamshi, this is perfect, thanks! Apparently GCC added a new compilation warning and some of our code is affected, which is what those -Werror=unprototyped-calls errors are all about. If you'd like to fix those, that would make a fantastic follow-on task. Just e-mail contest@brlcad.org if this interests you.