I started with the structure of the Qt Display Manager. I have realized, that it is not possible to use the OO approach directly. The function pointers in the structure "dm" can't be used for pointing on member functions (methods).
So I decided to encapsulate a drawing class and instantiate it as a global variable in the qt_dm.cpp. The functions are used as interfaces to this class.
I have built BRL-CAD successfully on Linux and Windows.
I have released two Patches in this week:
- Refactor and manage libbn tolerance uses by providing an interface default (e.g., an init macro) and making everyone use that where it is hardcoded to 0.0005 presently.
-I have added a relative float check (following to: http://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/) and fixed some FIXME section with it. I am not certain about it. If the algorithm is suitable for brlcad, i could change the rest of vmath.h.
On both I am waiting for Feedback.
I have built BRL-CAD from svn on ubuntu (12.04).
I have installed and built all depencies on Windows, but I get following build errors (only a few of them, the errors repeating):
<source lang="dos"> On libpoints-static: 448>points_scan.l(130): error C2065: 'PLATE': not declared 448>points_scan.l(145): error C2065: 'SYMMETRY': not declared 448>points_scan.l(160): error C2065: 'CYLINDER': not declared </source> Same on: libpoints […]
scriptsort: <source lang="dos"> cl: Command line error D8021: invalid numeric argument / Wno-error. </source> intro-to-tcltk_presentation_html, Konfiguration; imod: no error or warning message
All projects with libged depencies, even though libged-static build is successful: <source lang="dos"> 590> LINK: fatal error LNK1104: File ".. \ .. \ debug \ lib \ libged.lib" can not be opened. </source>
All projects with libtclcad depencies, even though libtclcad -static build is successful:
614> LINK: fatal error LNK1104: File ".. \ .. \ debug \ lib \ libtclcad.lib" can not be opened.
Mged_tclindex: <source lang="dos"> 618> Generating .. / ../../Debug/share/brlcad/7.21.0/tclscripts/pl-dm/pkgIndex.tcl 618> The command ".. \ .. \ bin \ .. \ debug \ btclsh.exe" is either misspelled or 618> could not be found. 618> C: \ Program Files (x86) \ MSBuild \ Microsoft.Cpp \ v4.0 \Microsoft.CppCommon.targets (151.5): error MSB6006: "cmd.exe" exited with code 9009. […] --> 851 successful and 74 errors" </source>