windows compilation fixes, part 3

metadata
Wenzel Jakob 2010-10-18 17:04:47 -07:00
parent d41876fc4f
commit a057677e89
3 changed files with 5 additions and 5 deletions

View File

@ -3092,9 +3092,9 @@ template <typename Derived> void GenericKDTree<Derived>::findCosts(
nIntersections++;
if (i > warmup) {
A[idx].x = 1;
A[idx].y = boost::get<1>(statistics);
A[idx].z = boost::get<2>(statistics);
b[idx] = boost::get<3>(statistics);
A[idx].y = (Float) boost::get<1>(statistics);
A[idx].z = (Float) boost::get<2>(statistics);
b[idx] = (Float) boost::get<3>(statistics);
idx++;
}
}

View File

@ -54,7 +54,7 @@ MTS_NAMESPACE_BEGIN
*
* \sa GenericKDTree
*/
class KDTree : public GenericKDTree<KDTree> {
class MTS_EXPORT_RENDER KDTree : public GenericKDTree<KDTree> {
friend class GenericKDTree<KDTree>;
public:
/// Create an empty kd-tree

View File

@ -32,7 +32,7 @@
#include <mitsuba/core/plugin.h>
#include <mitsuba/core/statistics.h>
#if defined(WIN32)
#include "../mitsuba/getopt.h"
#include <mitsuba/core/getopt.h>
#endif
XERCES_CPP_NAMESPACE_USE