Revision: 41742
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41742&view=rev
Author:   starseeker
Date:     2010-12-21 19:51:26 +0000 (Tue, 21 Dec 2010)

Log Message:
-----------
Get ssamp-bw building on Windows

Modified Paths:
--------------
    brlcad/branches/cmake/include/optical.h
    brlcad/branches/cmake/src/liboptical/init.c
    brlcad/branches/cmake/src/rttherm/ssamp-bw.c

Modified: brlcad/branches/cmake/include/optical.h
===================================================================
--- brlcad/branches/cmake/include/optical.h     2010-12-21 19:30:17 UTC (rev 
41741)
+++ brlcad/branches/cmake/include/optical.h     2010-12-21 19:51:26 UTC (rev 
41742)
@@ -91,6 +91,7 @@
 OPTICAL_EXPORT extern struct mfuncs stk_mfuncs[];
 OPTICAL_EXPORT extern struct mfuncs phg_mfuncs[];
 OPTICAL_EXPORT extern struct mfuncs noise_mfuncs[];
+OPTICAL_EXPORT extern struct bn_table *spectrum;
 
 OPTICAL_EXPORT extern int      rdebug;
 

Modified: brlcad/branches/cmake/src/liboptical/init.c
===================================================================
--- brlcad/branches/cmake/src/liboptical/init.c 2010-12-21 19:30:17 UTC (rev 
41741)
+++ brlcad/branches/cmake/src/liboptical/init.c 2010-12-21 19:51:26 UTC (rev 
41742)
@@ -35,6 +35,7 @@
 #include "bu.h"
 #include "raytrace.h"
 #include "rtprivate.h"
+#include "optical.h"
 
 int            rt_verbosity = -1;      /* blather incesantly by default */
 int            rdebug;                 /* RT program debugging */

Modified: brlcad/branches/cmake/src/rttherm/ssamp-bw.c
===================================================================
--- brlcad/branches/cmake/src/rttherm/ssamp-bw.c        2010-12-21 19:30:17 UTC 
(rev 41741)
+++ brlcad/branches/cmake/src/rttherm/ssamp-bw.c        2010-12-21 19:51:26 UTC 
(rev 41742)
@@ -35,6 +35,7 @@
 #include "bn.h"
 #include "raytrace.h"
 #include "spectrum.h"
+#include "optical.h"
 
 
 int verbose = 0;
@@ -46,8 +47,6 @@
 char *datafile_basename = "mtherm";
 char spectrum_name[100];
 
-extern struct bn_table *spectrum;      /* spectrum table from liboptical */
-
 struct bn_tabdata *data;               /* a big array */
 
 struct bn_tabdata *filt;               /* filter kernel */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to