Compile BRL-CAD on Windows using CygwinBRL-CAD
Status: ClosedTime to complete: 100 hrs Mentors: Isaac Kamga, Popescu AndreiTags: compile, windows, cygwinBeginner

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). One we have not tried in a while a compile of BRL-CAD on Cygwin.

This task involves attempting to compile BRL-CAD on Windows on Cygwin. You'll need to download our source code, CMake, and Cygwin. Try to get BRL-CAD to compile and keep notes of what you attempt along the way. You'll report back any failures and otherwise document all the steps you take along the way. Submit a complete build log (whether it succeeds or fails) and your notes documenting everything you did.

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

Resources:

  • http://brlcad.org/wiki/Compiling
  • http://www.cmake.org/
  • http://www.cygwin.com/
Uploaded Work
File name/URLFile sizeDate submitted
build.log2.7 KBDecember 10 2014 12:35 UTC
steps.txt3.9 KBDecember 10 2014 12:35 UTC
CMakeError.log12.4 KBDecember 10 2014 12:35 UTC
CMakeOutput.log2.6 KBDecember 10 2014 12:35 UTC
buildLogCygwinShell.txt825 bytesDecember 10 2014 16:38 UTC
CMakeOutput.log25.3 KBDecember 11 2014 05:35 UTC
CMakeFiles.zip84.5 KBDecember 11 2014 12:45 UTC
Comments
Ivan Tanon December 2 2014 07:28 UTCTask Claimed

I would like to work on this task.

Ivan Tanon December 2 2014 07:33 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

Ivan Tanon December 2 2014 07:33 UTCTask Claimed

I would like to work on this task.

Mandeep Kaur on December 2 2014 07:34 UTCTask Assigned

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

Ivan Tanon December 2 2014 07:41 UTCIRC channel name

Hello, sorry but may i know what is the IRC channel name for this? I might have inquiries and need some assistance from the mentors. Sorry, thanks.


 

Sean on December 2 2014 08:11 UTC

http://brlcad.org/wiki/IRC should have all of the details you seek.

Mandeep Kaur on December 2 2014 08:16 UTCIRC Channel

You can use #brlcad channel for discussion. Check this link for more detail. http://brlcad.org/wiki/IRC

Ivan Tanon December 2 2014 09:08 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

Moretti Georgievon December 9 2014 17:39 UTCTask Claimed

I would like to work on this task.

Deepak on December 9 2014 19:25 UTCTask Assigned

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

Moretti Georgievon December 10 2014 12:36 UTCReady for review

The work on this task is ready to be reviewed.

Daniel_R on December 10 2014 13:47 UTCYou have to call the commands in a Cygwin shell

I.e. install the cmake Cygwin package (using Cygwin's setup.exe), open a Cygwin shell and call CMake there.


You'll probably have to install additional Cygwin packages too.  See http://brlcad.org/wiki/Compiling to get an idea which.

Daniel_R on December 10 2014 13:48 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.

Moretti Georgievon December 10 2014 16:46 UTCCMake in Cygwin shell

Hello,


I called CMake in Cygwin shell and there were some errors that caused BRL-CAD build abort.


I uploaded a file with the build log.


 

Moretti Georgievon December 10 2014 18:58 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 11 2014 04:14 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 11 2014 04:17 UTCexcellent

Moretti, that's excellent progress -- I think the most anyone has gotten with cygwin this year thus far.  Since you've apparently run into a build system issue, we just need a couple more logs from you.  Please look into your build dir for a CMakeFiles subdirectory and upload the CMakeOutput.log and CMakeError.log files.  Thanks!

Moretti Georgievon December 11 2014 05:40 UTCNo CMakeError.log

Hello,


I am uploading just CMakeOutput.log because it is the only log that I have in the build directory. I do not know the reason why there is no CMakeError log. I downloaded again BRL-CAD source code just to be sure that I am not missing any file or any file was harmed.

Moretti Georgievon December 11 2014 05:40 UTCReady for review

The work on this task is ready to be reviewed.

Daniel_R on December 11 2014 09:37 UTC

Hmm, there is an error in the build or run of time.c.  Can you find a hint in your build directory (probable in the CMakeTmp subdirectory there) what's wrong?

Daniel_R on December 11 2014 09:37 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.

Moretti Georgievon December 11 2014 12:21 UTCEpmty files

Hello,


It seems that time.c and timedelta.c are empty. Those files are the only ones in the CMakeTmp folder. In this folder there is also a folder CMakeFiles which has a subdirectory CMakeTmp which is also empty.

Moretti Georgievon December 11 2014 12:24 UTC

The name of the second file is not timedelta.c. It is timedelta_start.c. Sorry for the confusion.

Daniel_R on December 11 2014 12:37 UTC

What is the content of the CMakeFiles subdirectory in the build directory?


If you think that there is no more to do you can set this task to be ready for review (done).

Moretti Georgievon December 11 2014 12:46 UTC

Hello,


I am adding an archive with the content of CMakeFiles folder in the build directory

Moretti Georgievon December 11 2014 12:46 UTCReady for review

The work on this task is ready to be reviewed.

Daniel_R on December 11 2014 12:57 UTCTask Closed

Congratulations, this task has been completed successfully.

Daniel_R on December 11 2014 12:59 UTC

Thank you for uploading the content of the directory.  Maybe somebody can see what goes wrong there.