Up vote -2 down vote favorite 1 share g+ share fb share tw.
Error: ------------------------------------------------------------------ ||=== gtdoe, Release ===| > obj\Release\test_1. O:test_1. Cpp:(.
Text$_ZN2da6macros3doe15SpaceDefinitionD2Evda::macros::doe::SpaceDefinition::~SpaceDefinition()+0x7)||undefined reference to `_imp___ZTVN2da6macros3doe15SpaceDefinitionE'| obj\Release\test_1. O:test_1. Cpp:(.
Text$_ZN2da6macros3doe15SpaceDefinitionC2Evda::macros::doe::SpaceDefinition::SpaceDefinition()+0x4)||undefined reference to `_imp___ZTVN2da6macros3doe15SpaceDefinitionE| ||=== Build finished: 2 errors, 0 warnings ===| ------------------------------------------------------------------ Code: #include #include #include #include using namespace std; using namespace da::macros::doe; using da::macros::doe::DoeDriver; class UnitSquare : public da::macros::doe::SpaceDefinition { public: // virtual void _imp___(){} virtual unsigned defineNumberOfVariables() const { // Design space dimensionality return 2; } virtual void defineVariablesBounds(double* const lower, double* const upper) const { // Variables bounds for each dimensionality lower0 = lower1 = 0. ; upper0 = upper1 = 1. ; } virtual unsigned defineNumberOfConstraints(){ return 0; } virtual void defineConstraintsBounds(double* const lower, double* const upper) { } virtual void defineConstraints(const double* const x, double* const c) { } }; int main() { // const unsigned sampleSize = 100; using namespace da::macros::doe; // Initialize DoeDriver UnitSquare problem; cout.
7 ¤ link with the relevant library. Cheers & hth. , – Cheers and hth.
- Alf Dec 4 '11 at 6:43 1 Why is everyone so obsessed with "My code is as follows", "Any suggestions are welcome" and stuff like that? Doesn't anyone have any creativity left in them anymore, or has the world sucked them utterly dry of it? – muntoo Dec 4 '11 at 6:59.
You either need to include the library for SpaceDefinition or the object file in the linking phase.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.