From efaf4fcf008d725b98b8964c0bdd09267c4ba0a8 Mon Sep 17 00:00:00 2001
From: Willem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be>
Date: Mon, 7 Apr 2014 21:37:47 +0000
Subject: Fix Windows build

---
 NEWS.txt              | 5 ++++-
 README.txt            | 4 ++--
 astra_vc08.vcproj     | 2 +-
 cuda/2d/darthelper.cu | 2 +-
 cuda/2d/darthelper.h  | 4 +++-
 5 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/NEWS.txt b/NEWS.txt
index d11238f..a743cbe 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -6,9 +6,12 @@ Copyright: iMinds-Vision Lab, University of Antwerp
 License: Open Source under GPLv3
 Contact: astra@ua.ac.be
 Website: http://astra.ua.ac.be
-         http://code.google.com/p/astra-toolbox/
+         http://sf.net/projects/astra-toolbox
 -----------------------------------------------------------------------
 
+1.4 (2014-04-07)
+  * various consistency and bug fixes
+
 1.3 (2013-07-02)
   * various consistency and bug fixes
   * add a version of the DART algorithm (written by Wim van Aarle)
diff --git a/README.txt b/README.txt
index 67a673b..97fed55 100644
--- a/README.txt
+++ b/README.txt
@@ -6,7 +6,7 @@ Copyright: iMinds-Vision Lab, University of Antwerp
 License: Open Source under GPLv3
 Contact: astra@ua.ac.be
 Website: http://astra.ua.ac.be
-         http://code.google.com/p/astra-toolbox/
+         http://sf.net/projects/astra-toolbox
 -----------------------------------------------------------------------
 
 
@@ -29,7 +29,7 @@ Documentation / samples:
 -------------------------
 
 See the matlab code samples in samples/ and on
-http://code.google.com/p/astra-toolbox/ .
+http://sf.net/projects/astra-toolbox .
 
 
 
diff --git a/astra_vc08.vcproj b/astra_vc08.vcproj
index 441262f..750a9eb 100644
--- a/astra_vc08.vcproj
+++ b/astra_vc08.vcproj
@@ -278,7 +278,7 @@
 			<Tool
 				Name="CUDA Build Rule"
 				Include="lib\include\cuda"
-				Defines="-DDLL_EXPORTS"
+				Defines="DLL_EXPORTS"
 				Runtime="2"
 				Platform="2"
 			/>
diff --git a/cuda/2d/darthelper.cu b/cuda/2d/darthelper.cu
index 28b77cc..768d14e 100644
--- a/cuda/2d/darthelper.cu
+++ b/cuda/2d/darthelper.cu
@@ -342,7 +342,7 @@ void dartSmoothing(float* out, const float* in, float b, unsigned int radius, un
 
 
 
-bool setGPUIndex(int iGPUIndex)
+_AstraExport bool setGPUIndex(int iGPUIndex)
 {
 	if (iGPUIndex != -1) {
 		cudaSetDevice(iGPUIndex);
diff --git a/cuda/2d/darthelper.h b/cuda/2d/darthelper.h
index 3694b96..8f57d3c 100644
--- a/cuda/2d/darthelper.h
+++ b/cuda/2d/darthelper.h
@@ -29,13 +29,15 @@ $Id$
 #ifndef _CUDA_ARITH2_H
 #define _CUDA_ARITH2_H
 
+#include "util.h"
+
 namespace astraCUDA {
 
 	void roiSelect(float* out, float radius, unsigned int width, unsigned int height);
 	void dartMask(float* out, const float* in, unsigned int conn, unsigned int radius, unsigned int threshold, unsigned int width, unsigned int height);
 	void dartSmoothing(float* out, const float* in, float b, unsigned int radius, unsigned int width, unsigned int height);
 
-	bool setGPUIndex(int index);
+	_AstraExport bool setGPUIndex(int index);
 
 }
 
-- 
cgit v1.2.3