scons Buffer.cpp

brnstrmrs brnstrmrs at gmail.com
Thu Mar 13 11:46:05 EDT 2008


I am trying to install some libs but can not get them build properly.
It seems to be looking for Buffer.cpp but can't find it any where .
Here is the error message:
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o AssociationRejection.o -c -I/usr/lib -I/usr/lib/boost
AssociationRejection.cpp
g++ -o Buffer.o -c -I/usr/lib -I/usr/lib/boost Buffer.cpp
In file included from Buffer.cpp:1:
Buffer.hpp:9:27: error: socket/Base.hpp: No such file or directory
Buffer.hpp:10:35: error: socket/SwitchEndian.hpp: No such file or
directory
Buffer.hpp: In member function 'dicom::Buffer&
dicom::Buffer::operator<<(T)':
Buffer.hpp:84: error: 'is_fundamental' is not a member of 'boost'
Buffer.hpp:84: error: '::value' has not been declared
Buffer.hpp:90: error: template argument 1 is invalid
Buffer.hpp:95: error: template argument 1 is invalid
Buffer.hpp:96: error: expected unqualified-id before '}' token
Buffer.hpp: In member function 'dicom::Buffer&
dicom::Buffer::operator>>(T&)':
Buffer.hpp:103: error: 'is_const' is not a member of 'boost'
Buffer.hpp:103: error: '::value' has not been declared
Buffer.hpp:104: error: template argument 1 is invalid
Buffer.hpp:105: error: template argument 1 is invalid
Buffer.hpp:105: error: invalid type in declaration before ';' token
Buffer.hpp:105: error: declaration of 'typedef int& data' shadows a
parameter
Buffer.hpp:109: error: 'pdata' was not declared in this scope
Buffer.hpp:117: error: expected unqualified-id before '=' token
Buffer.cpp: In member function 'dicom::Buffer&
dicom::Buffer::operator>>(std::vector<short unsigned int,
std::allocator<short unsigned int> >&)':
Buffer.cpp:38: error: 'SwitchVectorEndian' was not declared in this
scope
Buffer.cpp: In member function 'void dicom::Buffer::AddVector(const
std::vector<short unsigned int, std::allocator<short unsigned int>
>&)':
Buffer.cpp:112: error: 'SwitchVectorEndian' was not declared in this
scope
Buffer.hpp: In member function 'dicom::Buffer&
dicom::Buffer::operator>>(T&) [with T = char]':
Buffer.cpp:51:   instantiated from here
Buffer.hpp:105: error: declaration of 'typedef int& data' shadows a
parameter
Buffer.hpp: In member function 'dicom::Buffer&
dicom::Buffer::operator>>(T&) [with T = UINT16]':
Buffer.cpp:59:   instantiated from here
Buffer.hpp:105: error: declaration of 'typedef int& data' shadows a
parameter
scons: *** [Buffer.o] Error 1
scons: building terminated because of errors.



More information about the Python-list mailing list