Compile BRL-CAD using Microsoft Visual Studio Express 2013BRL-CAD
Status: ClosedTime to complete: 100 hrs Mentors: Sean, IshwerdasTags: visual studio, express, windows, compile, msvcBeginner

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 don't heavily test is Visual Studio Express (only available for Windows)

This task involves attempting to compile BRL-CAD using the MSVC Express 2013 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
submission.zip63.3 KBDecember 04 2014 16:14 UTC
submission.zip70.4 KBDecember 05 2014 16:54 UTC
submission.zip267.0 KBDecember 06 2014 04:18 UTC
Comments
wltanon December 2 2014 15:55 UTCTask Claimed

I would like to work on this task.

Ch3ck on December 2 2014 16:01 UTCTask Assigned

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

wltanon December 4 2014 07:00 UTCProblems finding 3rd party sources

I have downloaded all the required material (namely CMake, the BRL-CAD source code, and Visual Studio Express 2013).


The problem comes when CMake is run. According to the output, CMake attempts to find several different header files, but is unable to find them. Basic items like the STL are still found, but the 3rd party headers are not found by CMake.


BRL-CAD is supposed to come bundled with all the necessary 3rd party components. I can find some of the "missing" header files within src/other (which is supposedly where these components are kept). However, CMake simply does not recognize that these header files exist.


As a result, CMake does not generate any makefile after completing execution. Without the makefile there's nothing to make, so I cannot continue with the compilation.


I must have missed out some configuration beforehand. However, I am already following the instructions on http://brlcad.org/wiki/Compiling as closely as possible. I have tried using different directories, using the snapshot release sources from Sourceforge, etc. without success. I have no idea what to do next, short of trying to add every single directory to CMake's CMAKE_MODULE_PATH (which probably isn't the right thing to do).


It's probably a very simple solution. I would appreciate it if anyone could help.

wltanon December 4 2014 16:16 UTCReady for review

The work on this task is ready to be reviewed.

Jacob B on December 4 2014 17:57 UTCIRC

Nice start.


Can you join #brlcad on IRC (http://brlcad.org/wiki/IRC)?  We can work through the issues you were having more easily there.

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

wltanon December 5 2014 17:00 UTCAbout the uploaded files

There are a few copies of submission.zip uploaded.


To anyone reading this, you need only download the latest submission.zip file. The older files are not required as the newest submission includes the older notes.


If I could delete the older files, I would. But there's no 'delete' button so just ignore them, thanks.

Melange on December 5 2014 20:01 UTCTask due soon

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

wltanon December 6 2014 04:20 UTCReady for review

The work on this task is ready to be reviewed.

Melange on December 6 2014 20:01 UTCNo more Work can be submitted

Melange has detected that the deadline has passed and no more work can be submitted. The submitted work should be reviewed.

Sean on December 7 2014 06:25 UTCTask Closed

Congratulations, this task has been completed successfully.