Compile BRL-CAD using Microsoft Visual Studio Community Edition and NinjaBRL-CAD
Status: ClosedTime to complete: 100 hrs Mentors: Sean, DishankTags: visual studio, windows, compile, msvc, ninja, community edition

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 configuration we have not tested is the combination of the new MSVC Community Edition compiler (only available for Windows) and the Ninja build tool. This task involves attempting to compile BRL-CAD using the MSVC Community Edition compiler and the Ninja build tool. You'll need to download our source code, CMake, MSVC, and Ninja. 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
  • https://github.com/downloads/martine/ninja/ninja-120715-win.zip
Uploaded Work
File name/URLFile sizeDate submitted
ninja.zip23.3 KBDecember 07 2014 16:57 UTC
cmake_log_and_build_ninja_additional_forgot_to_add_it.zip273.3 KBDecember 07 2014 17:01 UTC
Comments
codingcow-boyon December 7 2014 14:27 UTCTask Claimed

I would like to work on this task.

Ch3ck on December 7 2014 14:31 UTCTask Assigned

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

codingcow-boyon December 7 2014 16:57 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 7 2014 17:34 UTCTask Closed

Congratulations, this task has been completed successfully.

Sean on December 7 2014 17:35 UTCfollow-on tasks

Nicely done codingcow-boy!  Are you interested in follow-on tasks to fix the various build issues you uncovered?


 

codingcow-boyon December 7 2014 17:56 UTC

I would be interested in doing so,but with caveat,I cannot guarantee I will get this working,as this task will then involve fixing cmake which could get very hard to do this and consume much time.This is especially the case for me because neither I am really familiar with cmake and ninja nor with calling the Resource Compiler by cmd.

codingcow-boyon December 7 2014 18:14 UTC

Yes,as of now I don't think it won't be that hard as I managed to compile brlcad with ninja after modifying the build.ninja file.So I would certainly be interested in you creating a follow-on-task.