hypeartist / fog

Automatically exported from code.google.com/p/fog
0 stars 0 forks source link

Compilation errors with OTCore.h #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm running Funtoo. When I compile the source (after applying the patches I 
attached in issue #42), I get the following error (with svn 969). The only 
non-default cmake parameters I'm using are -DFOG_BUILD_UI=ON 
-DFOG_BUILD_UI_X11=ON -DFOG_BUILD_UI_X11_MODULE=ON.

[ 92%] Building CXX object 
CMakeFiles/Fog.dir/Src/Fog/G2d/Text/OpenType/OTCore.cpp.o
In file included from 
/var/tmp/portage/media-libs/fog-9999/work/fog-9999/Fog/Src/Fog/G2d/Text/OpenType
/OTCore.cpp:7:0:
/var/tmp/portage/media-libs/fog-9999/work/fog-9999/Fog/Src/Fog/G2d/Text/OpenType
/OTCore.h:595:3: error: ‘LONG’ does not name a type
/var/tmp/portage/media-libs/fog-9999/work/fog-9999/Fog/Src/Fog/G2d/Text/OpenType
/OTCore.h:596:3: error: ‘ULONG’ does not name a type
/var/tmp/portage/media-libs/fog-9999/work/fog-9999/Fog/Src/Fog/G2d/Text/OpenType
/OTCore.h: In member function ‘uint64_t Fog::OT_DateTime::asUInt64() const’:
/var/tmp/portage/media-libs/fog-9999/work/fog-9999/Fog/Src/Fog/G2d/Text/OpenType
/OTCore.h:588:35: error: ‘hi’ was not declared in this scope
/var/tmp/portage/media-libs/fog-9999/work/fog-9999/Fog/Src/Fog/G2d/Text/OpenType
/OTCore.h:588:70: error: ‘lo’ was not declared in this scope
make[2]: *** [CMakeFiles/Fog.dir/Src/Fog/G2d/Text/OpenType/OTCore.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Fog.dir/all] Error 2
make: *** [all] Error 2

Original issue reported on code.google.com by doctorwh...@gmail.com on 5 Mar 2012 at 10:51

GoogleCodeExporter commented 8 years ago
Should be fixed by r970.

Original comment by kobalicek.petr on 6 Mar 2012 at 8:34

GoogleCodeExporter commented 8 years ago

Original comment by kobalicek.petr on 31 Mar 2012 at 8:20