Saw that the version has been bumped to 2.0.1. So I grabbed the latest main branch (3/6/2013) from git and tried to compile. I'm still getting similar errors as to what is in my previous post. I also grabbed the orig.tar.gz source code file and tried the same with it, but got the same errors as what you see below.
Before re-running the configure script after the git update, I did a make clean on the build directory.
Thanks.
[ 42%] Building CXX object src/CMakeFiles/brewtarget.dir/Algorithms.cpp.o
[ 43%] Building CXX object src/CMakeFiles/brewtarget.dir/BeerXMLElement.cpp.o
In file included from /root/git/brewtarget/src/BeerXMLElement.h:35, from /root/git/brewtarget/src/BeerXMLElement.cpp:19:
/root/git/brewtarget/src/pstdint.h:839:7: warning: no newline at end of file
In file included from /root/git/brewtarget/src/BeerXMLElement.h:35, from /root/git/brewtarget/src/BeerXMLElement.cpp:19:
/root/git/brewtarget/src/pstdint.h:397: error: conflicting declaration 'typedef long long int int64_t'
/usr/include/sys/_stdint.h:49: error: 'int64_t' has a previous declaration as 'typedef __int64_t int64_t'
/root/git/brewtarget/src/pstdint.h:492: error: conflicting declaration 'typedef long long unsigned int uint64_t'
/usr/include/sys/_stdint.h:69: error: 'uint64_t' has a previous declaration as 'typedef __uint64_t uint64_t'
/root/git/brewtarget/src/pstdint.h:652: error: conflicting declaration 'typedef signed char int_fast8_t'
/usr/include/stdint.h:48: error: 'int_fast8_t' has a previous declaration as 'typedef __int_fast8_t int_fast8_t'
/root/git/brewtarget/src/pstdint.h:653: error: conflicting declaration 'typedef unsigned char uint_fast8_t'
/usr/include/stdint.h:53: error: 'uint_fast8_t' has a previous declaration as 'typedef __uint_fast8_t uint_fast8_t'
/root/git/brewtarget/src/pstdint.h:654: error: conflicting declaration 'typedef short int int_fast16_t'
/usr/include/stdint.h:49: error: 'int_fast16_t' has a previous declaration as 'typedef __int_fast16_t int_fast16_t'
/root/git/brewtarget/src/pstdint.h:655: error: conflicting declaration 'typedef short unsigned int uint_fast16_t'
/usr/include/stdint.h:54: error: 'uint_fast16_t' has a previous declaration as 'typedef __uint_fast16_t uint_fast16_t'
*** Error code 1
Stop in /root/git/brewtarget/build.
*** Error code 1
Stop in /root/git/brewtarget/build.
*** Error code 1
Saw that the version has been bumped to 2.0.1. So I grabbed the latest main branch (3/6/2013) from git and tried to compile. I'm still getting similar errors as to what is in my previous post. I also grabbed the orig.tar.gz source code file and tried the same with it, but got the same errors as what you see below.
Before re-running the configure script after the git update, I did a make clean on the build directory.
Thanks.
[ 42%] Building CXX object src/CMakeFiles/ brewtarget. dir/Algorithms. cpp.o brewtarget. dir/BeerXMLElem ent.cpp. o brewtarget/ src/BeerXMLElem ent.h:35,
from /root/git/ brewtarget/ src/BeerXMLElem ent.cpp: 19: brewtarget/ src/pstdint. h:839:7: warning: no newline at end of file brewtarget/ src/BeerXMLElem ent.h:35,
from /root/git/ brewtarget/ src/BeerXMLElem ent.cpp: 19: brewtarget/ src/pstdint. h:397: error: conflicting declaration 'typedef long long int int64_t' sys/_stdint. h:49: error: 'int64_t' has a previous declaration as 'typedef __int64_t int64_t' brewtarget/ src/pstdint. h:492: error: conflicting declaration 'typedef long long unsigned int uint64_t' sys/_stdint. h:69: error: 'uint64_t' has a previous declaration as 'typedef __uint64_t uint64_t' brewtarget/ src/pstdint. h:652: error: conflicting declaration 'typedef signed char int_fast8_t' stdint. h:48: error: 'int_fast8_t' has a previous declaration as 'typedef __int_fast8_t int_fast8_t' brewtarget/ src/pstdint. h:653: error: conflicting declaration 'typedef unsigned char uint_fast8_t' stdint. h:53: error: 'uint_fast8_t' has a previous declaration as 'typedef __uint_fast8_t uint_fast8_t' brewtarget/ src/pstdint. h:654: error: conflicting declaration 'typedef short int int_fast16_t' stdint. h:49: error: 'int_fast16_t' has a previous declaration as 'typedef __int_fast16_t int_fast16_t' brewtarget/ src/pstdint. h:655: error: conflicting declaration 'typedef short unsigned int uint_fast16_t' stdint. h:54: error: 'uint_fast16_t' has a previous declaration as 'typedef __uint_fast16_t uint_fast16_t'
[ 43%] Building CXX object src/CMakeFiles/
In file included from /root/git/
/root/git/
In file included from /root/git/
/root/git/
/usr/include/
/root/git/
/usr/include/
/root/git/
/usr/include/
/root/git/
/usr/include/
/root/git/
/usr/include/
/root/git/
/usr/include/
*** Error code 1
Stop in /root/git/ brewtarget/ build.
*** Error code 1
Stop in /root/git/ brewtarget/ build.
*** Error code 1
Stop in /root/git/ brewtarget/ build.