Compile BRL-CAD using GCC 4.8BRL-CAD
Status: ClosedTime to complete: 72 hrs Mentors: SeanTags: compile, gcc, windows, linux, macosx, bsd, unix

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.  One we have not tested is the upcoming trunk version, GCC 4.8 

This task involves attempting to compile BRL-CAD using the latest trunk version of GCC.  You'll need to download our source code, CMake, and install GCC 4.8 (outside the scope of this task!).  Compile BRL-CAD using GCC 4.8 and 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.  Join IRC to discuss your progress and let us help.

Bonus points if you make any fixes that get it working.

Resources:

  • http://brlcad.org/wiki/Compiling
  • http://www.cmake.org/
  • http://gcc.gnu.org/install/
  • http://hpc.sourceforge.net/ (precompiled mac binaries that might work)
Uploaded Work
File name/URLFile sizeDate submitted
configurelog.txt25.5 KBDecember 05 2012 08:40 UTC
build-log.txt25.6 KBDecember 05 2012 15:48 UTC
Final.tar.gz36.1 KBDecember 07 2012 13:35 UTC
Readme46 bytesDecember 07 2012 13:36 UTC
Final2.tar.gz211.1 KBDecember 08 2012 15:33 UTC
Readme47 bytesDecember 08 2012 15:34 UTC
Comments
Jacob Groveron November 29 2012 19:59 UTCTask Claimed

I would like to work on this task.

Sean on November 29 2012 20:04 UTCTask Assigned

This task has been assigned to Jacob Grover. You have 72 hours to complete this task, good luck!

Melange on December 2 2012 20:04 UTCInitial Deadline passed

Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.

Melange on December 3 2012 20:04 UTCTask Reopened

Melange has detected that the final deadline has passed and it has reopened the task.

Ambar Palon December 4 2012 05:22 UTCTask Claimed

I would like to work on this task.

Daniel Rossberg on December 4 2012 07:35 UTCTask Assigned

This task has been assigned to Ambar Pal. You have 72 hours to complete this task, good luck!

Ambar Palon December 4 2012 10:55 UTCPassword Required

I have downloaded and run the image provided here


http://brlcad.org/wiki/Deuces


Now when I try to compile and enter the command


sudo make install


it asks for the password of the current user. Please tell me the password. You can mail it to me if you want


a m b a r p a l 1 9 9 6 a t g m a i l d o t c o m

Sean on December 5 2012 03:36 UTCdid you figure it out?

There are instructions on the page where you downloaded the image with setup information including that password.

Ambar Palon December 5 2012 06:43 UTCThanks

Tom Browder sent me the password and I got to know that it was already provided in the instructions.

Ambar Palon December 5 2012 08:56 UTCHow to compile?

I have got the build directory set up properly using Cmake(see th configuration log). now how/where do I given the gcc filename -o fileout command?

Ambar Palon December 5 2012 14:40 UTCPlease Reply

Please reply to the above comment. I am not able to ficure out which file to compile using gcc.

Sean on December 5 2012 15:06 UTCthis is going to be an uphill battle

This sounds like it's going to be an uphill battle for you.  I'm glad to help, but we cannot tell you every step along the way or we'd be better off just doing the task ourself (or letting someone else).


We have extensive documentation in many places on how to compile BRL-CAD.  There's the README and INSTALL file in the source distribution as well as http://brlcad.org/wiki/Compiling which was also linked at http://brlcad.org/wiki/Deuces where you probably found out about the image.


You're not compiling a file with gcc.  You're compiling ALL of BRL-CAD using the latest trunk sources of GCC.  To do that, you also need to download GCC in SOURCE CODE form and compile your compiler.  Then you'll run cmake and point it to that compiler that you built.


 

Melange on December 7 2012 07:35 UTCInitial Deadline passed

Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.

Ambar Palon December 7 2012 13:38 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 7 2012 17:01 UTCDeadline extended

The deadline of the task has been extended with 1 days and 0 hours.

Sean on December 7 2012 17:01 UTCTask Needs More Work

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.

Sean on December 7 2012 17:09 UTCmake with continuation

That looks good, but run "make -k VERBOSE=1" so that we can get all of the errors at once and with a lot more detail.

Ambar Palon December 8 2012 03:53 UTCOkay

Ok I will do that

Ambar Palon December 8 2012 15:38 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 8 2012 19:17 UTCTask Closed

Congratulations, this task has been completed successfully.

Sean on December 19 2012 22:23 UTCfollow-on task

A follow-on task has been posted:


http://www.google-melange.com/gci/task/view/google/gci2012/8105205

Sean on January 10 2013 06:10 UTCfyi

I think you're just one task away from getting the free Google t-shirt prize.  Thought you might like to know. :)