Enable our pictx tool for compilationBRL-CAD
Status: ClosedTime to complete: 48 hrs Mentors: SeanTags: build system, cmake, compile, X11

BRL-CAD provides more than 400 applications.  When we migrated from an Autotools build system to CMake, some tools were not converted and some were disabled long ago for a variety of reasons.  One such tool is one called pictx.

Note that the tool uses the X11 interface so you'll have to add proper protections so that the tool does not attempt to compile on other platforms.  See src/util/CMakeLists.txt file for examples of other X11 tools that compile conditionally.

This task requires enabling that tool for compilation, properly defining the build system logic in our CMakeLists.txt file (to link the right libraries), and fixing any compilation warnings that have crept in.  If you cannot get it to compile, you must provide a build log with explanation of the problem(s) you encountered and why they cannot be (easily) overcome.

References:

  • src/util/CMakeLists.txt

Code:

  • src/irprep/CMakeLists.txt
  • src/irprep/pictx.c

Provide a patch of all your changes.

Uploaded Work
File name/URLFile sizeDate submitted
pictx.patch772 bytesDecember 09 2012 18:15 UTC
Comments
Cezaron December 9 2012 17:15 UTCTask Claimed

I would like to work on this task.

Andrei Popescu on December 9 2012 17:18 UTCTask Assigned

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

Cezaron December 9 2012 18:16 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 9 2012 19:00 UTCTask Closed

Congratulations, this task has been completed successfully.