Compile BRL-CAD using Microsoft Visual Studio Community EditionBRL-CAD
Status: ClosedTime to complete: 100 hrs Mentors: Mihai Neacsu, Gauravjeet SinghTags: visual studio, windows, compile, msvc, community editionBeginner

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 heavily is the new MSVC Community Edition compiler (only available for Windows)

This task involves attempting to compile BRL-CAD using the MSVC Community Edition compiler. You'll need to download our source code, CMake, and MSVC. Compile BRL-CAD 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.

We will create follow-on tasks if you make any fixes that get the build working.

Resources:

  • http://brlcad.org/wiki/Compiling
  • http://www.cmake.org/
  • http://www.visualstudio.com/en-us/downloads
Uploaded Work
File name/URLFile sizeDate submitted
brlcad-msvs-2013-community.zip638.7 KBDecember 04 2014 17:46 UTC
patch.diff342 bytesDecember 04 2014 19:53 UTC
patch_rev2.diff358 bytesDecember 04 2014 19:55 UTC
Output-Build-with-fix-applied.txt17.9 MBDecember 04 2014 20:07 UTC
correct_patch_winmain_bwhish.diff465 bytesDecember 04 2014 20:23 UTC
Comments
codingcow-boyon December 1 2014 19:56 UTCTask Claimed

I would like to work on this task.

Mihai Neacsu on December 1 2014 19:58 UTCTask Assigned

This task has been assigned to codingcow-boy. You have 100 hours to complete this task, good luck!

codingcow-boyon December 4 2014 17:46 UTCReady for review

The work on this task is ready to be reviewed.

Jacob B on December 4 2014 17:53 UTCGreat

Thank you for doing this, and fixing the error.  Your logs and explanation look nice and complete.  One request: could you provide the patch as a unified diff (using 'svn diff'), so we can apply it to the repository?

Jacob B on December 4 2014 17:54 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.

codingcow-boyon December 4 2014 20:17 UTCdiff and new output build log added

I have added a difference of these files(pathc_rev2.diff is correct), but unfortunately not with making use of svn diff, but with the tool gnu difftool(which git uses) because I failed to commit to my local copy of brlcad's repository(it wants to push these changes to the server of which it has no permission to do so of course) and by the way I did not manage to create an own repository on windows in a reasonable amount of time. There are slight differences to the SVn type, but hope that this is satisfying.


I have further attached the build log  from compiling with the patch applied.

codingcow-boyon December 4 2014 20:23 UTCI managed to create the diff with svn ,here it is

Nevertheless of claiming it's hard to do this,it actually turned out to be quite easy. I have now added the correct patch using svn diff

Melange on December 4 2014 23:58 UTCTask due soon

There are less than 24 hours left until the deadline, please submit your work soon.

codingcow-boyon December 5 2014 13:24 UTCReady for review

The work on this task is ready to be reviewed.

Daniel_R on December 5 2014 14:44 UTCTask Closed

Congratulations, this task has been completed successfully.