View Issue Details

IDProjectCategoryView StatusLast Update
0000073FreeCADFeaturepublic2010-02-10 19:58
Reporterunauthenticated Assigned Towmayer  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version0.9 
Summary0000073: Problem building on 64Bit Ubuntu Karmic.
DescriptionI ran script as recommended got following error during make:

/home/tim/downloads/freecad/src/Base/Stream.cpp: In member function ‘virtual int Base::IODeviceIStreambuf::underflow()’:
/home/tim/aerodevices/downloads/freecad/src/Base/Stream.cpp:269: error: ‘std::memcpy’ has not been declared
make[2]: *** [src/Base/CMakeFiles/FreeCADBase.dir/Stream.cpp.o] Error 1
make[1]: *** [src/Base/CMakeFiles/FreeCADBase.dir/all] Error 2
make: *** [all] Error 2

TagsNo tags attached.
FreeCAD Information

Activities

unauthenticated

2010-02-10 10:25

viewer   ~0000174

Ok, I fixed the missing prototype problem by adding

#include <cstring>

in the #ifdef __GNUC__ section of the Stream.cpp file


Hope this helps.

Issue History

Date Modified Username Field Change
2010-02-10 09:47 unauthenticated New Issue
2010-02-10 10:25 unauthenticated Note Added: 0000174
2010-02-10 19:58 wmayer Assigned To => wmayer
2010-02-10 19:58 wmayer Status new => closed
2010-02-10 19:58 wmayer Resolution open => fixed