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.
File name/URL | File size | Date submitted | |
---|---|---|---|
pictx.patch | 772 bytes | December 09 2012 18:15 UTC |
I would like to work on this task.
This task has been assigned to Cezar. You have 48 hours to complete this task, good luck!
The work on this task is ready to be reviewed.
Congratulations, this task has been completed successfully.