Fixed broken include paths causing compile errors on Linux.
This commit is contained in:
		| @@ -25,8 +25,8 @@ | ||||
| #ifndef __PolyVox_Array_H__ | ||||
| #define __PolyVox_Array_H__ | ||||
|  | ||||
| #include <PolyVox/Impl/PlatformDefinitions.h> | ||||
| #include <PolyVox/Impl/ErrorHandling.h> | ||||
| #include "Impl/ErrorHandling.h" | ||||
| #include "Impl/PlatformDefinitions.h" | ||||
|  | ||||
| #include <cstdint> | ||||
|  | ||||
|   | ||||
| @@ -26,7 +26,7 @@ | ||||
| #define __PolyVox_Exceptions_H__ | ||||
|  | ||||
| #include <stdexcept> // For base exception classes. | ||||
| #include <string.h> // Exception constuctors take strings. | ||||
| #include <string> // Exception constuctors take strings. | ||||
|  | ||||
| // These exceptions form part of the public API because client code may need to catch them. | ||||
| // Note that our utility macros such as 'POLYVOX_THROW_IF' do not form part of the public API | ||||
|   | ||||
| @@ -25,7 +25,7 @@ | ||||
| #ifndef __PolyVox_AStarPathfinderImpl_H__ | ||||
| #define __PolyVox_AStarPathfinderImpl_H__ | ||||
|  | ||||
| #include "PolyVox/Vector.h" | ||||
| #include "../Vector.h" | ||||
|  | ||||
| #include <algorithm> | ||||
| #include <limits> //For numeric_limits | ||||
|   | ||||
| @@ -25,10 +25,10 @@ | ||||
| #ifndef __PolyVox_Assertions_H__ | ||||
| #define __PolyVox_Assertions_H__ | ||||
|  | ||||
| #include "PolyVox/Config.h" | ||||
| #include "../Config.h" | ||||
|  | ||||
| #include "PolyVox/Impl/LoggingImpl.h" // Asserts can log when they fire. | ||||
| #include "PolyVox/Impl/PlatformDefinitions.h" | ||||
| #include "LoggingImpl.h" // Asserts can log when they fire. | ||||
| #include "PlatformDefinitions.h" | ||||
|  | ||||
| // The code below implements a custom assert function called POLYVOX_ASSERT which has a number of advantages compared | ||||
| // to the standard C/C++ assert(). It is inspired by http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/ | ||||
|   | ||||
| @@ -26,8 +26,8 @@ | ||||
| #ifndef __PolyVox_ErrorHandling_H__ | ||||
| #define __PolyVox_ErrorHandling_H__ | ||||
|  | ||||
| #include "PolyVox/Impl/Assertions.h" | ||||
| #include "PolyVox/Impl/ExceptionsImpl.h" | ||||
| #include "PolyVox/Impl/LoggingImpl.h" | ||||
| #include "Assertions.h" | ||||
| #include "ExceptionsImpl.h" | ||||
| #include "LoggingImpl.h" | ||||
|  | ||||
| #endif //__PolyVox_ErrorHandling_H__ | ||||
|   | ||||
| @@ -25,10 +25,10 @@ | ||||
| #ifndef __PolyVox_ExceptionsImpl_H__ | ||||
| #define __PolyVox_ExceptionsImpl_H__ | ||||
|  | ||||
| #include "PolyVox/Config.h" | ||||
| #include "PolyVox/Exceptions.h" | ||||
| #include "../Config.h" | ||||
| #include "../Exceptions.h" | ||||
|  | ||||
| #include "PolyVox/Impl/LoggingImpl.h" // Exceptions can log when they are thrown. | ||||
| #include "LoggingImpl.h" // Exceptions can log when they are thrown. | ||||
|  | ||||
| #include <cstdlib>  // For std::exit | ||||
| #include <iostream> // For std::cerr | ||||
|   | ||||
| @@ -25,7 +25,7 @@ | ||||
| #ifndef __PolyVox_IteratorController_H__ | ||||
| #define __PolyVox_IteratorController_H__ | ||||
|  | ||||
| #include "Region.h" | ||||
| #include "../Region.h" | ||||
|  | ||||
| namespace PolyVox | ||||
| { | ||||
| @@ -43,6 +43,6 @@ namespace PolyVox | ||||
| 	}; | ||||
| } | ||||
|  | ||||
| #include "Impl/IteratorController.inl" | ||||
| #include "IteratorController.inl" | ||||
|  | ||||
| #endif //__PolyVox_IteratorController_H__ | ||||
|   | ||||
| @@ -25,12 +25,11 @@ | ||||
| #ifndef __PolyVox_LoggingImpl_H__ | ||||
| #define __PolyVox_LoggingImpl_H__ | ||||
|  | ||||
| #include "PolyVox/Config.h" | ||||
| #include "PolyVox/Logging.h" | ||||
| #include "../Config.h" | ||||
| #include "../Logging.h" | ||||
|  | ||||
| #include <sstream> | ||||
|  | ||||
|  | ||||
| namespace PolyVox | ||||
| { | ||||
| 	namespace Impl | ||||
|   | ||||
| @@ -25,7 +25,7 @@ | ||||
| #ifndef __PolyVox_MarchingCubeTables_H__ | ||||
| #define __PolyVox_MarchingCubeTables_H__ | ||||
|  | ||||
| #include "PolyVox/Impl/PlatformDefinitions.h" | ||||
| #include "PlatformDefinitions.h" | ||||
|  | ||||
| #include <cstdint> | ||||
|  | ||||
|   | ||||
| @@ -25,9 +25,9 @@ | ||||
| #ifndef __PolyVox_RandomUnitVectors_H__ | ||||
| #define __PolyVox_RandomUnitVectors_H__ | ||||
|  | ||||
| #include "PolyVox/Impl/PlatformDefinitions.h" | ||||
| #include "PlatformDefinitions.h" | ||||
|  | ||||
| #include "PolyVox/Vector.h" | ||||
| #include "../Vector.h" | ||||
|  | ||||
| namespace PolyVox | ||||
| { | ||||
|   | ||||
| @@ -25,9 +25,9 @@ | ||||
| #ifndef __PolyVox_RandomVectors_H__ | ||||
| #define __PolyVox_RandomVectors_H__ | ||||
|  | ||||
| #include "PolyVox/Impl/PlatformDefinitions.h" | ||||
| #include "PlatformDefinitions.h" | ||||
|  | ||||
| #include "PolyVox/Vector.h" | ||||
| #include "../Vector.h" | ||||
|  | ||||
| namespace PolyVox | ||||
| { | ||||
|   | ||||
| @@ -25,9 +25,8 @@ | ||||
| #ifndef __PolyVox_Timer_H__ | ||||
| #define __PolyVox_Timer_H__ | ||||
|  | ||||
| #include <cstdint> | ||||
|  | ||||
| #include <chrono> | ||||
| #include <cstdint> | ||||
|  | ||||
| namespace PolyVox | ||||
| { | ||||
|   | ||||
| @@ -25,7 +25,7 @@ | ||||
| #ifndef __PolyVox_Utility_H__ | ||||
| #define __PolyVox_Utility_H__ | ||||
|  | ||||
| #include "PolyVox/Impl/PlatformDefinitions.h" | ||||
| #include "PlatformDefinitions.h" | ||||
|  | ||||
| #include <cstdint> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user