View Issue Details

IDProjectCategoryView StatusLast Update
0000045FreeCADBugpublic2009-11-27 08:06
Reporterunauthenticated Assigned Towmayer  
Status closedResolutionfixed 
Summary0000045: Error compiling sources.
DescriptionI'm using a debian lenny over an Intel 64 bits computer.

I've downloaded FreeCAD sources via svn as indicated in the web page.

When I try to compile (after autogen and configuree CXXFLAGS="-D_OCC64") the compiler (g++) shows an error message that says: "from Document.ccp: 62: .... error: ‘CHAR_BIT’ was not declared in this scope".

I've added this line to src/App/Document.cpp:

#include <climits>

and then the error disappears. Now the program runs fine.


Luis Claudio Pérez Tato
Iturribizia, S.L.
Calle Valdidueñas, 40
28814 Daganzo
Madrid. Spain.
TagsNo tags attached.
FreeCAD Information



2009-11-27 08:06

administrator   ~0000040

It's fixed I wasn't able to reproduce this error, though. Thanks for reporting.

Issue History

Date Modified Username Field Change
2009-11-26 15:46 unauthenticated New Issue
2009-11-27 08:06 wmayer Note Added: 0000040
2009-11-27 08:06 wmayer Assigned To => wmayer
2009-11-27 08:06 wmayer Status new => closed
2009-11-27 08:06 wmayer Resolution open => fixed