Forget the scons stuff and just use qmake instead.
Matt

On Sun, Jun 21, 2009 at 7:26 PM, lazyart <[email protected]> wrote:

>
>
> Attempting to make on Ubuntu Jaunty 64 bit.
>
> After running scons r=1 I get a slew of errors:
>
> --------------------------------
> In file included from alphabetparameters.h:27,
> from alphabetparameters.cpp:24:
> fixedstring.h:69: error: 'string' in namespace 'std' does not name a type
> fixedstring.h: In constructor
> 'Quackle::FixedLengthString::FixedLengthString(const char*, unsigned int)':
> fixedstring.h:109: error: 'memcpy' was not declared in this scope
> fixedstring.h: In constructor
> 'Quackle::FixedLengthString::FixedLengthString(const char*)':
> fixedstring.h:126: error: 'strlen' was not declared in this scope
> fixedstring.h:128: error: 'memcpy' was not declared in this scope
> fixedstring.h: In copy constructor
> 'Quackle::FixedLengthString::FixedLengthString(const
> Quackle::FixedLengthString&)':
> fixedstring.h:136: error: 'memcpy' was not declared in this scope
> fixedstring.h: In member function 'Quackle::FixedLengthString&
> Quackle::FixedLengthString::operator=(const Quackle::FixedLengthString&)':
> fixedstring.h:144: error: 'memcpy' was not declared in this scope
> fixedstring.h: In member function 'void
> Quackle::FixedLengthString::erase(char*)':
> fixedstring.h:176: error: 'memmove' was not declared in this scope
> fixedstring.h: In member function 'Quackle::FixedLengthString&
> Quackle::FixedLengthString::operator+=(const Quackle::FixedLengthString&)':
> fixedstring.h:212: error: 'memcpy' was not declared in this scope
> scons: *** [alphabetparameters.o] Error 1
> scons: building terminated because of errors.
> d...@tiger:~/quackle-0.96$ find . -name *.o | xargs rm
> d...@tiger:~/quackle-0.96$ scons r=1
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o alphabetparameters.o -c -O2 alphabetparameters.cpp
> In file included from alphabetparameters.h:27,
> from alphabetparameters.cpp:24:
> fixedstring.h:69: error: 'string' in namespace 'std' does not name a type
> fixedstring.h: In constructor
> 'Quackle::FixedLengthString::FixedLengthString(const char*, unsigned int)':
> fixedstring.h:109: error: 'memcpy' was not declared in this scope
> fixedstring.h: In constructor
> 'Quackle::FixedLengthString::FixedLengthString(const char*)':
> fixedstring.h:126: error: 'strlen' was not declared in this scope
> fixedstring.h:128: error: 'memcpy' was not declared in this scope
> fixedstring.h: In copy constructor
> 'Quackle::FixedLengthString::FixedLengthString(const
> Quackle::FixedLengthString&)':
> fixedstring.h:136: error: 'memcpy' was not declared in this scope
> fixedstring.h: In member function 'Quackle::FixedLengthString&
> Quackle::FixedLengthString::operator=(const Quackle::FixedLengthString&)':
> fixedstring.h:144: error: 'memcpy' was not declared in this scope
> fixedstring.h: In member function 'void
> Quackle::FixedLengthString::erase(char*)':
> fixedstring.h:176: error: 'memmove' was not declared in this scope
> fixedstring.h: In member function 'Quackle::FixedLengthString&
> Quackle::FixedLengthString::operator+=(const Quackle::FixedLengthString&)':
> fixedstring.h:212: error: 'memcpy' was not declared in this scope
> scons: *** [alphabetparameters.o] Error 1
> scons: building terminated because of errors.
> -------------------------------
>
> Any ideas?
>
> Art Moore
>
>  
>

Reply via email to