kemcoi / libfacebookcpp

Automatically exported from code.google.com/p/libfacebookcpp
GNU Lesser General Public License v2.1
1 stars 1 forks source link

std::tr1 not available in the latest Linux distros #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I just check out the source code in Ubuntu  but there is no Makefile to build. 
I wonder if there is any quick way to compile with the example?

Original issue reported on code.google.com by alexios...@gmail.com on 27 Dec 2011 at 8:52

GoogleCodeExporter commented 9 years ago
Hi Alex, this projects uses CMake. You should be able to grab it from your 
distro and run cmake in the source directory. Though, keep in mind that trunk 
is probably broken right now. You should grab the official 0.1 from the 
downloads

Original comment by alyhirani on 27 Dec 2011 at 8:55

GoogleCodeExporter commented 9 years ago
Hi, 

Yes,  I have run cmake from inside the src directory of the v0.1 release. 
However, after that I compile with make and encounter the error  as
follows:

alex@alex-laptop:~/facebook/libfacebookcpp-v0.1/src$ cmake  .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Warning at CMakeLists.txt:6 (FIND_PACKAGE):
  Could not find module Findcurl.cmake or a configuration file for package
  curl.

  Adjust CMAKE_MODULE_PATH to find Findcurl.cmake or set curl_DIR to the
  directory containing a CMake configuration file for curl.  The file will
  have one of the following names:

    curlConfig.cmake
    curl-config.cmake

-- curl version=[7.21.3]
-- Looking for dlopen in dl;
-- Looking for dlopen in dl; - found
-- Looking for connect in socket;dl
-- Looking for connect in socket;dl - not found
-- Looking for gethostbyname in c
-- Looking for gethostbyname in c - found
-- Looking for getch in ws2_32;dl
-- Looking for getch in ws2_32;dl - not found
-- Looking for getch in winmm;dl
-- Looking for getch in winmm;dl - not found
-- Looking for cldap_open in wldap32
-- Looking for cldap_open in wldap32 - not found
-- Looking for CRYPTO_lock in crypto;dl
-- Looking for CRYPTO_lock in crypto;dl - found
-- Looking for SSL_connect in ssl;dl;crypto
-- Looking for SSL_connect in ssl;dl;crypto - found
-- Looking for idna_to_ascii_lz in idn;dl;crypto;ssl
-- Looking for idna_to_ascii_lz in idn;dl;crypto;ssl - found
-- Looking for ldap_init in ldap;dl;crypto;ssl;idn
-- Looking for ldap_init in ldap;dl;crypto;ssl;idn - found
-- Looking for dlopen in dl;crypto;ssl;idn;ldap
-- Looking for dlopen in dl;crypto;ssl;idn;ldap - found
-- Looking for features.h
-- Looking for features.h - found
-- Looking for include files HAVE_STDIO_H
-- Looking for include files HAVE_STDIO_H - found
-- Looking for include files HAVE_INTTYPES_H
-- Looking for include files HAVE_INTTYPES_H - found
-- Looking for include files HAVE_SYS_FILIO_H
-- Looking for include files HAVE_SYS_FILIO_H - not found.
-- Looking for include files HAVE_SYS_IOCTL_H
-- Looking for include files HAVE_SYS_IOCTL_H - found
-- Looking for include files HAVE_SYS_PARAM_H
-- Looking for include files HAVE_SYS_PARAM_H - found
-- Looking for include files HAVE_SYS_POLL_H
-- Looking for include files HAVE_SYS_POLL_H - found
-- Looking for include files HAVE_SYS_RESOURCE_H
-- Looking for include files HAVE_SYS_RESOURCE_H - found
-- Looking for include files HAVE_SYS_SELECT_H
-- Looking for include files HAVE_SYS_SELECT_H - found
-- Looking for include files HAVE_SYS_SOCKET_H
-- Looking for include files HAVE_SYS_SOCKET_H - found
-- Looking for include files HAVE_SYS_SOCKIO_H
-- Looking for include files HAVE_SYS_SOCKIO_H - not found.
-- Looking for include files HAVE_SYS_STAT_H
-- Looking for include files HAVE_SYS_STAT_H - found
-- Looking for include files HAVE_SYS_TIME_H
-- Looking for include files HAVE_SYS_TIME_H - found
-- Looking for include files HAVE_SYS_TYPES_H
-- Looking for include files HAVE_SYS_TYPES_H - found
-- Looking for include files HAVE_SYS_UIO_H
-- Looking for include files HAVE_SYS_UIO_H - found
-- Looking for include files HAVE_SYS_UN_H
-- Looking for include files HAVE_SYS_UN_H - found
-- Looking for include files HAVE_SYS_UTIME_H
-- Looking for include files HAVE_SYS_UTIME_H - not found.
-- Looking for include files HAVE_ALLOCA_H
-- Looking for include files HAVE_ALLOCA_H - found
-- Looking for include files HAVE_ARPA_INET_H
-- Looking for include files HAVE_ARPA_INET_H - found
-- Looking for include files HAVE_ARPA_TFTP_H
-- Looking for include files HAVE_ARPA_TFTP_H - found
-- Looking for include files HAVE_ASSERT_H
-- Looking for include files HAVE_ASSERT_H - found
-- Looking for include files HAVE_CRYPTO_H
-- Looking for include files HAVE_CRYPTO_H - not found.
-- Looking for include files HAVE_DES_H
-- Looking for include files HAVE_DES_H - not found.
-- Looking for include files HAVE_ERR_H
-- Looking for include files HAVE_ERR_H - found
-- Looking for include files HAVE_ERRNO_H
-- Looking for include files HAVE_ERRNO_H - found
-- Looking for include files HAVE_FCNTL_H
-- Looking for include files HAVE_FCNTL_H - found
-- Looking for include files HAVE_GSSAPI_GSSAPI_H
-- Looking for include files HAVE_GSSAPI_GSSAPI_H - found
-- Looking for include files HAVE_GSSAPI_GSSAPI_GENERIC_H
-- Looking for include files HAVE_GSSAPI_GSSAPI_GENERIC_H - found
-- Looking for include files HAVE_GSSAPI_GSSAPI_KRB5_H
-- Looking for include files HAVE_GSSAPI_GSSAPI_KRB5_H - found
-- Looking for include files HAVE_IDN_FREE_H
-- Looking for include files HAVE_IDN_FREE_H - found
-- Looking for include files HAVE_IFADDRS_H
-- Looking for include files HAVE_IFADDRS_H - found
-- Looking for include files HAVE_IO_H
-- Looking for include files HAVE_IO_H - not found.
-- Looking for include files HAVE_KRB_H
-- Looking for include files HAVE_KRB_H - not found.
-- Looking for include files HAVE_LIBGEN_H
-- Looking for include files HAVE_LIBGEN_H - found
-- Looking for include files HAVE_LIBSSH2_H
-- Looking for include files HAVE_LIBSSH2_H - not found.
-- Looking for include files HAVE_LIMITS_H
-- Looking for include files HAVE_LIMITS_H - found
-- Looking for include files HAVE_LOCALE_H
-- Looking for include files HAVE_LOCALE_H - found
-- Looking for include files HAVE_NET_IF_H
-- Looking for include files HAVE_NET_IF_H - found
-- Looking for include files HAVE_NETDB_H
-- Looking for include files HAVE_NETDB_H - found
-- Looking for include files HAVE_NETINET_IN_H
-- Looking for include files HAVE_NETINET_IN_H - found
-- Looking for include files HAVE_NETINET_TCP_H
-- Looking for include files HAVE_NETINET_TCP_H - found
-- Looking for include files HAVE_OPENSSL_CRYPTO_H
-- Looking for include files HAVE_OPENSSL_CRYPTO_H - found
-- Looking for include files HAVE_OPENSSL_ENGINE_H
-- Looking for include files HAVE_OPENSSL_ENGINE_H - found
-- Looking for include files HAVE_OPENSSL_ERR_H
-- Looking for include files HAVE_OPENSSL_ERR_H - found
-- Looking for include files HAVE_OPENSSL_PEM_H
-- Looking for include files HAVE_OPENSSL_PEM_H - found
-- Looking for include files HAVE_OPENSSL_PKCS12_H
-- Looking for include files HAVE_OPENSSL_PKCS12_H - found
-- Looking for include files HAVE_OPENSSL_RSA_H
-- Looking for include files HAVE_OPENSSL_RSA_H - found
-- Looking for include files HAVE_OPENSSL_SSL_H
-- Looking for include files HAVE_OPENSSL_SSL_H - found
-- Looking for include files HAVE_OPENSSL_X509_H
-- Looking for include files HAVE_OPENSSL_X509_H - found
-- Looking for include files HAVE_PEM_H
-- Looking for include files HAVE_PEM_H - not found.
-- Looking for include files HAVE_POLL_H
-- Looking for include files HAVE_POLL_H - found
-- Looking for include files HAVE_PWD_H
-- Looking for include files HAVE_PWD_H - found
-- Looking for include files HAVE_RSA_H
-- Looking for include files HAVE_RSA_H - not found.
-- Looking for include files HAVE_SETJMP_H
-- Looking for include files HAVE_SETJMP_H - found
-- Looking for include files HAVE_SGTTY_H
-- Looking for include files HAVE_SGTTY_H - found
-- Looking for include files HAVE_SIGNAL_H
-- Looking for include files HAVE_SIGNAL_H - found
-- Looking for include files HAVE_SSL_H
-- Looking for include files HAVE_SSL_H - not found.
-- Looking for include files HAVE_STDBOOL_H
-- Looking for include files HAVE_STDBOOL_H - found
-- Looking for include files HAVE_STDINT_H
-- Looking for include files HAVE_STDINT_H - found
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for include files HAVE_STRING_H
-- Looking for include files HAVE_STRING_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- Looking for include files HAVE_STROPTS_H
-- Looking for include files HAVE_STROPTS_H - found
-- Looking for include files HAVE_TERMIO_H
-- Looking for include files HAVE_TERMIO_H - found
-- Looking for include files HAVE_TERMIOS_H
-- Looking for include files HAVE_TERMIOS_H - found
-- Looking for include files HAVE_TIME_H
-- Looking for include files HAVE_TIME_H - found
-- Looking for include files HAVE_TLD_H
-- Looking for include files HAVE_TLD_H - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_UTIME_H
-- Looking for include files HAVE_UTIME_H - found
-- Looking for include files HAVE_X509_H
-- Looking for include files HAVE_X509_H - not found.
-- Looking for include files HAVE_PROCESS_H
-- Looking for include files HAVE_PROCESS_H - not found.
-- Looking for include files HAVE_STDDEF_H
-- Looking for include files HAVE_STDDEF_H - found
-- Looking for include files HAVE_DLFCN_H
-- Looking for include files HAVE_DLFCN_H - found
-- Looking for include files HAVE_MALLOC_H
-- Looking for include files HAVE_MALLOC_H - found
-- Looking for include files HAVE_MEMORY_H
-- Looking for include files HAVE_MEMORY_H - found
-- Looking for include files HAVE_LDAP_H
-- Looking for include files HAVE_LDAP_H - found
-- Looking for include files HAVE_NETINET_IF_ETHER_H
-- Looking for include files HAVE_NETINET_IF_ETHER_H - found
-- Looking for include files HAVE_SOCKIO_H
-- Looking for include files HAVE_SOCKIO_H - not found.
-- Looking for include files HAVE_SYS_UTSNAME_H
-- Looking for include files HAVE_SYS_UTSNAME_H - found
-- Looking for include files HAVE_IDNA_H
-- Looking for include files HAVE_IDNA_H - found
-- Looking for include files HAVE_OPENSSL_RAND_H
-- Looking for include files HAVE_OPENSSL_RAND_H - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of long
-- Check size of long - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of __int64
-- Check size of __int64 - failed
-- Check size of long double
-- Check size of long double - done
-- Check size of time_t
-- Check size of time_t - done
-- Looking for basename
-- Looking for basename - found
-- Looking for socket
-- Looking for socket - found
-- Looking for poll
-- Looking for poll - found
-- Looking for select
-- Looking for select - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for strftime
-- Looking for strftime - found
-- Looking for uname
-- Looking for uname - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for stricmp
-- Looking for stricmp - not found.
-- Looking for strcmpi
-- Looking for strcmpi - not found.
-- Looking for strncmpi
-- Looking for strncmpi - not found.
-- Looking for alarm
-- Looking for alarm - found
-- Looking for gethostbyaddr
-- Looking for gethostbyaddr - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for inet_addr
-- Looking for inet_addr - found
-- Looking for inet_ntoa
-- Looking for inet_ntoa - found
-- Looking for inet_ntoa_r
-- Looking for inet_ntoa_r - not found.
-- Looking for tcsetattr
-- Looking for tcsetattr - found
-- Looking for tcgetattr
-- Looking for tcgetattr - found
-- Looking for perror
-- Looking for perror - found
-- Looking for closesocket
-- Looking for closesocket - not found.
-- Looking for setvbuf
-- Looking for setvbuf - found
-- Looking for sigsetjmp
-- Looking for sigsetjmp - found
-- Looking for getpass_r
-- Looking for getpass_r - not found.
-- Looking for strlcat
-- Looking for strlcat - not found.
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for geteuid
-- Looking for geteuid - found
-- Looking for utime
-- Looking for utime - found
-- Looking for RAND_status
-- Looking for RAND_status - found
-- Looking for RAND_screen
-- Looking for RAND_screen - not found.
-- Looking for RAND_egd
-- Looking for RAND_egd - found
-- Looking for CRYPTO_cleanup_all_ex_data
-- Looking for CRYPTO_cleanup_all_ex_data - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for signal
-- Looking for signal - found
-- Looking for SIGALRM
-- Looking for SIGALRM - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found.
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for siginterrupt
-- Looking for siginterrupt - found
-- Looking for fork
-- Looking for fork - found
-- Looking for freeaddrinfo
-- Looking for freeaddrinfo - found
-- Looking for freeifaddrs
-- Looking for freeifaddrs - found
-- Looking for pipe
-- Looking for pipe - found
-- Looking for ftruncate
-- Looking for ftruncate - found
-- Looking for getprotobyname
-- Looking for getprotobyname - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for idn_free
-- Looking for idn_free - found
-- Looking for idna_strerror
-- Looking for idna_strerror - found
-- Looking for tld_strerror
-- Looking for tld_strerror - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for ioctl
-- Looking for ioctl - found
-- Looking for setsockopt
-- Looking for setsockopt - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK - Success
-- Performing Curl Test HAVE_IOCTLSOCKET
-- Performing Curl Test HAVE_IOCTLSOCKET - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTL_FIONBIO
-- Performing Curl Test HAVE_IOCTL_FIONBIO - Success
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR - Success
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK - Failed
-- Performing Curl Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
-- Performing Curl Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID - Failed
-- Performing Curl Test TIME_WITH_SYS_TIME
-- Performing Curl Test TIME_WITH_SYS_TIME - Success
-- Performing Curl Test HAVE_O_NONBLOCK
-- Performing Curl Test HAVE_O_NONBLOCK - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5 - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7 - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8 - Success
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8_REENTRANT - Success
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3 - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5 - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6 - Success
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT - Failed
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6_REENTRANT
-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6_REENTRANT - Success
-- Performing Curl Test HAVE_SOCKLEN_T
-- Performing Curl Test HAVE_SOCKLEN_T - Success
-- Performing Curl Test HAVE_IN_ADDR_T
-- Performing Curl Test HAVE_IN_ADDR_T - Success
-- Performing Curl Test HAVE_BOOL_T
-- Performing Curl Test HAVE_BOOL_T - Success
-- Performing Curl Test STDC_HEADERS
-- Performing Curl Test STDC_HEADERS - Success
-- Performing Curl Test RETSIGTYPE_TEST
-- Performing Curl Test RETSIGTYPE_TEST - Success
-- Performing Curl Test HAVE_INET_NTOA_R_DECL
-- Performing Curl Test HAVE_INET_NTOA_R_DECL - Failed
-- Performing Curl Test HAVE_INET_NTOA_R_DECL_REENTRANT
-- Performing Curl Test HAVE_INET_NTOA_R_DECL_REENTRANT - Failed
-- Performing Curl Test HAVE_GETADDRINFO
-- Performing Curl Test HAVE_GETADDRINFO - Success
-- Performing Curl Test HAVE_FILE_OFFSET_BITS
-- Performing Curl Test HAVE_FILE_OFFSET_BITS - Success
-- Performing Curl Test HAVE_GLIBC_STRERROR_R
-- Performing Curl Test HAVE_GLIBC_STRERROR_R - Failed
-- Performing Curl Test HAVE_POSIX_STRERROR_R
-- Performing Curl Test HAVE_POSIX_STRERROR_R - Success
-- Check size of curl_off_t
-- Check size of curl_off_t - failed
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Performing Test curl_cv_recv
-- Performing Test curl_cv_recv - Success
-- Performing Test int recv(int, void *, size_t, int)
(curl_cv_func_recv_test)
-- Performing Test int recv(int, void *, size_t, int)
(curl_cv_func_recv_test) - Success
-- Performing Test curl_cv_send
-- Performing Test curl_cv_send - Success
-- Performing Test int send(int, const void *, size_t, int)
(curl_cv_func_send_test)
-- Performing Test int send(int, const void *, size_t, int)
(curl_cv_func_send_test) - Success
-- Performing Test HAVE_MSG_NOSIGNAL
-- Performing Test HAVE_MSG_NOSIGNAL - Success
-- Performing Test HAVE_STRUCT_TIMEVAL
-- Performing Test HAVE_STRUCT_TIMEVAL - Success
-- Performing Test HAVE_POLL_FINE
-- Performing Test HAVE_POLL_FINE - Success
-- Check size of sig_atomic_t
-- Check size of sig_atomic_t - done
-- Performing Test HAVE_SIG_ATOMIC_T_NOT_VOLATILE
-- Performing Test HAVE_SIG_ATOMIC_T_NOT_VOLATILE - Success
-- Check size of struct sockaddr_storage
-- Check size of struct sockaddr_storage - done
CMake Warning (dev) at external-lib/curl-7.21.3/tests/CMakeLists.txt:1
(add_subdirectory):
  The source directory

/home/alex/facebook/libfacebookcpp-v0.1/src/external-lib/curl-7.21.3/tests/libte
st

  does not contain a CMakeLists.txt file.

  CMake does not support this case but it used to work accidentally and is
  being allowed for compatibility.

  Policy CMP0014 is not set: Input directories must have CMakeLists.txt. 
Run
  "cmake --help-policy CMP0014" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at external-lib/curl-7.21.3/tests/CMakeLists.txt:2
(add_subdirectory):
  The source directory

/home/alex/facebook/libfacebookcpp-v0.1/src/external-lib/curl-7.21.3/tests/serve
r

  does not contain a CMakeLists.txt file.

  CMake does not support this case but it used to work accidentally and is
  being allowed for compatibility.

  Policy CMP0014 is not set: Input directories must have CMakeLists.txt. 
Run
  "cmake --help-policy CMP0014" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to:
/home/alex/facebook/libfacebookcpp-v0.1/src
alex@alex-laptop:~/facebook/libfacebookcpp-v0.1/src$ ls
Album.cpp             Comment.hpp       Exception.hpp            Group.hpp
         Logger.cpp      Photo.hpp              Session.hpp  Venue.cpp
Album.hpp             Common.hpp        ExtendedPermissions.cpp 
HTTPRequest.cpp     Logger.hpp      PolymorphicObject.cpp  Status.cpp  
Venue.hpp
AuthorizedObject.cpp  DateTime.cpp      ExtendedPermissions.hpp 
HttpRequest.hpp     Makefile        PolymorphicObject.hpp  Status.hpp  
Version.hpp
AuthorizedObject.hpp  DateTime.hpp      external-lib            
LibFacebookCpp.cpp  Message.cpp     Post.cpp               To.cpp      
Video.cpp
CMakeCache.txt        Deserializer.cpp  Friend.cpp              
LibFacebookCpp.hpp  Message.hpp     Post.hpp               To.hpp      
Video.hpp
CMakeFiles            Deserializer.hpp  Friend.hpp              
libfacebookcpp.rc   Note.cpp        precompile.hpp         User.cpp
cmake_install.cmake   Event.cpp         From.cpp                 Link.cpp 
         Note.hpp        ResponseBlob.cpp       User.hpp
CMakeLists.txt        Event.hpp         From.hpp                 Link.hpp 
         PagingInfo.hpp  ResponseBlob.hpp       Utils.cpp
Comment.cpp           Exception.cpp     Group.cpp                List.hpp 
         Photo.cpp       Session.cpp            Utils.hpp
alex@alex-laptop:~/facebook/libfacebookcpp-v0.1/src$ make
Scanning dependencies of target libcurl
[  1%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/file.c.o
[  2%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/timeval.c.o
[  2%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/base64.c.o
[  3%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/hostip.c.o
[  4%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/progress.c.o
[  5%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/formdata.c.o
[  5%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/cookie.c.o
[  6%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/http.c.o
[  7%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/sendf.c.o
[  8%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/ftp.c.o
[  8%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/url.c.o
[  9%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/dict.c.o
[ 10%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/if2ip.c.o
[ 10%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/speedcheck.c.o
[ 11%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/ldap.c.o
[ 12%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/ssluse.c.o
[ 13%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/version.c.o
[ 13%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/getenv.c.o
[ 14%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/escape.c.o
[ 15%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/mprintf.c.o
[ 16%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/telnet.c.o
[ 16%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/netrc.c.o
[ 17%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/getinfo.c.o
[ 18%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/transfer.c.o
[ 19%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/strequal.c.o
[ 19%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/easy.c.o
[ 20%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/security.c.o
[ 21%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/krb4.c.o
[ 22%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/curl_fnmatch.c.o
[ 22%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/fileinfo.c.o
[ 23%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/ftplistparser.c.o
[ 24%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/wildcard.c.o
[ 25%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/krb5.c.o
[ 25%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/memdebug.c.o
[ 26%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/http_chunks.c.o
[ 27%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/strtok.c.o
[ 28%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/connect.c.o
[ 28%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/llist.c.o
[ 29%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/hash.c.o
[ 30%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/multi.c.o
[ 30%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/content_encoding.c.o
[ 31%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/share.c.o
[ 32%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/http_digest.c.o
[ 33%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/md4.c.o
[ 33%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/md5.c.o
[ 34%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/curl_rand.c.o
[ 35%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/http_negotiate.c.o
[ 36%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/http_ntlm.c.o
[ 36%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/inet_pton.c.o
[ 37%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/strtoofft.c.o
[ 38%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/strerror.c.o
[ 39%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/hostares.c.o
[ 39%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/hostasyn.c.o
[ 40%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/hostip4.c.o
[ 41%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/hostip6.c.o
[ 42%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/hostsyn.c.o
[ 42%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/hostthre.c.o
[ 43%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/inet_ntop.c.o
[ 44%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/parsedate.c.o
[ 45%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/select.c.o
[ 45%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/gtls.c.o
[ 46%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/sslgen.c.o
[ 47%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/tftp.c.o
[ 48%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/splay.c.o
[ 48%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/strdup.c.o
[ 49%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/socks.c.o
[ 50%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/ssh.c.o
[ 50%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/nss.c.o
[ 51%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/qssl.c.o
[ 52%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/rawstr.c.o
[ 53%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/curl_addrinfo.c.o
[ 53%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/socks_gssapi.c.o
[ 54%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/socks_sspi.c.o
[ 55%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/curl_sspi.c.o
[ 56%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/slist.c.o
[ 56%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/nonblock.c.o
[ 57%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/curl_memrchr.c.o
[ 58%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/imap.c.o
[ 59%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/pop3.c.o
[ 59%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/smtp.c.o
[ 60%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/pingpong.c.o
[ 61%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/rtsp.c.o
[ 62%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/curl_threads.c.o
[ 62%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/warnless.c.o
[ 63%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/hmac.c.o
[ 64%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/polarssl.c.o
[ 65%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/curl_rtmp.c.o
[ 65%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/openldap.c.o
[ 66%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/curl_gethostname.c.o
[ 67%] Building C object
external-lib/curl-7.21.3/lib/CMakeFiles/libcurl.dir/gopher.c.o
Linking C shared library libcurl.so
[ 67%] Built target libcurl
Scanning dependencies of target jsoncpp
[ 68%] Building CXX object
external-lib/jsoncpp-src-0.5.0/CMakeFiles/jsoncpp.dir/src/lib_json/json_reader.c
pp.o
[ 68%] Building CXX object
external-lib/jsoncpp-src-0.5.0/CMakeFiles/jsoncpp.dir/src/lib_json/json_value.cp
p.o
[ 69%] Building CXX object
external-lib/jsoncpp-src-0.5.0/CMakeFiles/jsoncpp.dir/src/lib_json/json_writer.c
pp.o
Linking CXX static library libjsoncpp.a
[ 69%] Built target jsoncpp
Scanning dependencies of target libfacebookcpp
[ 70%] Building CXX object CMakeFiles/libfacebookcpp.dir/Album.cpp.o
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.hpp:25,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:23:
/home/alex/facebook/libfacebookcpp-v0.1/src/From.hpp:55:8: warning: extra
tokens at end of #endif directive
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/precompile.hpp:30,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:21:
/home/alex/facebook/libfacebookcpp-v0.1/src/Common.hpp:67: error:
‘std::tr1’ has not been declared
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/precompile.hpp:33,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:21:
/home/alex/facebook/libfacebookcpp-v0.1/src/Exception.hpp:34: error:
expected class-name before ‘{’ token
/home/alex/facebook/libfacebookcpp-v0.1/src/Exception.hpp:36: error:
‘invalid_argument’ in namespace ‘std’ does not name a type
/home/alex/facebook/libfacebookcpp-v0.1/src/Exception.hpp:41: error:
expected class-name before ‘{’ token
/home/alex/facebook/libfacebookcpp-v0.1/src/Exception.hpp:43: error:
‘runtime_error’ in namespace ‘std’ does not name a type
/home/alex/facebook/libfacebookcpp-v0.1/src/Exception.hpp:48: error:
expected class-name before ‘{’ token
/home/alex/facebook/libfacebookcpp-v0.1/src/Exception.hpp:50: error:
‘logic_error’ in namespace ‘std’ does not name a type
/home/alex/facebook/libfacebookcpp-v0.1/src/Exception.hpp:55: error:
expected class-name before ‘{’ token
/home/alex/facebook/libfacebookcpp-v0.1/src/Exception.hpp:57: error:
‘logic_error’ in namespace ‘std’ does not name a type
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:24,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:22:
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:50:
error: ISO C++ forbids declaration of ‘shared_ptr’ with no type
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:50:
error: expected ‘,’ or ‘...’ before ‘<’ token
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:24,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:22:
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:108:
error: ISO C++ forbids declaration of ‘shared_ptr’ with no type
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:108:
error: expected ‘;’ before ‘<’ token
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:24,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:22:
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp: In
member function ‘void
LibFacebookCpp::AuthorizedObject::_GetConnection(const std::string&, const
char*, TType*) const’:
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:70:
error: ‘request_’ was not declared in this scope
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:24,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:22:
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp: In
member function ‘void
LibFacebookCpp::AuthorizedObject::_GetConnection(const std::string&,
LibFacebookCpp::List<TType>*) const’:
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:86:
error: ‘request_’ was not declared in this scope
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp: In
member function ‘void
LibFacebookCpp::AuthorizedObject::_GetConnection(const std::string&, const
char*, const LibFacebookCpp::PagingInfo*, LibFacebookCpp::List<TType>*)
const’:
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:97:
error: ‘request_’ was not declared in this scope
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:102:
error: invalid use of incomplete type ‘const struct
LibFacebookCpp::PagingInfo’
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:31:
error: forward declaration of ‘const struct LibFacebookCpp::PagingInfo’
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/AuthorizedObject.hpp:116,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:24,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:22:
/home/alex/facebook/libfacebookcpp-v0.1/src/List.hpp: In member function
‘void LibFacebookCpp::List<FBType>::PagingUri::Deserialize(const
LibFacebookCpp::AuthorizedObject&, const Json::Value&)’:
/home/alex/facebook/libfacebookcpp-v0.1/src/List.hpp:39: error:
‘Deserializer’ was not declared in this scope
/home/alex/facebook/libfacebookcpp-v0.1/src/List.hpp:39: error: expected
‘;’ before ‘d’
/home/alex/facebook/libfacebookcpp-v0.1/src/List.hpp:41: error: ‘d’ was
not declared in this scope
/home/alex/facebook/libfacebookcpp-v0.1/src/List.hpp: In member function
‘void LibFacebookCpp::List<FBType>::_Deserialize(const
LibFacebookCpp::AuthorizedObject&, const Json::Value&)’:
/home/alex/facebook/libfacebookcpp-v0.1/src/List.hpp:85: error:
‘Deserializer’ was not declared in this scope
/home/alex/facebook/libfacebookcpp-v0.1/src/List.hpp:85: error: expected
‘;’ before ‘d’
/home/alex/facebook/libfacebookcpp-v0.1/src/List.hpp:87: error: ‘d’ was
not declared in this scope
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:26,
                 from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:22:
/home/alex/facebook/libfacebookcpp-v0.1/src/DateTime.hpp: In constructor
‘LibFacebookCpp::DateTime::DateTime()’:
/home/alex/facebook/libfacebookcpp-v0.1/src/DateTime.hpp:31: error:
‘memset’ was not declared in this scope
In file included from
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:22:
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp: At global
scope:
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:111: error:
explicit specialization in non-namespace scope ‘class
LibFacebookCpp::Deserializer’
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:127: error:
explicit specialization in non-namespace scope ‘class
LibFacebookCpp::Deserializer’
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:143: error:
explicit specialization in non-namespace scope ‘class
LibFacebookCpp::Deserializer’
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:159: error:
explicit specialization in non-namespace scope ‘class
LibFacebookCpp::Deserializer’
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:175: error:
explicit specialization in non-namespace scope ‘class
LibFacebookCpp::Deserializer’
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:194: error:
too many template-parameter-lists
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:218: error:
too many template-parameter-lists
/home/alex/facebook/libfacebookcpp-v0.1/src/Deserializer.hpp:224: error:
too many template-parameter-lists
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp: In member function
‘virtual void LibFacebookCpp::Album::_Deserialize(const
LibFacebookCpp::AuthorizedObject&, const Json::Value&)’:
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:46: error: ‘class
LibFacebookCpp::Deserializer’ has no member named ‘Deserialize’
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:47: error: ‘class
LibFacebookCpp::Deserializer’ has no member named ‘Deserialize’
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:48: error: ‘class
LibFacebookCpp::Deserializer’ has no member named ‘Deserialize’
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:49: error: ‘class
LibFacebookCpp::Deserializer’ has no member named ‘Deserialize’
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:50: error: ‘class
LibFacebookCpp::Deserializer’ has no member named ‘Deserialize’
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:51: error: ‘class
LibFacebookCpp::Deserializer’ has no member named ‘Deserialize’
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:52: error: ‘class
LibFacebookCpp::Deserializer’ has no member named ‘Deserialize’
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:53: error: ‘class
LibFacebookCpp::Deserializer’ has no member named ‘Deserialize’
/home/alex/facebook/libfacebookcpp-v0.1/src/Album.cpp:54: error: ‘class
LibFacebookCpp::Deserializer’ has no member named ‘Deserialize’
make[2]: *** [CMakeFiles/libfacebookcpp.dir/Album.cpp.o] Error 1
make[1]: *** [CMakeFiles/libfacebookcpp.dir/all] Error 2
make: *** [all] Error 2
alex@alex-laptop:~/facebook/libfacebookcpp-v0.1/src$

Original comment by alexios...@gmail.com on 27 Dec 2011 at 9:51

GoogleCodeExporter commented 9 years ago
Looking at the output, looks like there are some warnings, but the compiler you 
are using doesn't support the std::tr1, either since it is too old or since it 
is too new? Is this an updated version of gcc from your distro? Try changing 
all the references of std::tr1::, to std::. If that doesn't work, additional 
dependency of boost could be used to bring in the libraries that are required. 
Let me know if it doesn't work and I could help you debug that.

Also, could you paste the output of g++ --version?

Also, is there any specific functionality you are expecting to use from this 
library? I could tell you off hand if it is implemented.

Original comment by alyhirani on 27 Dec 2011 at 6:57

GoogleCodeExporter commented 9 years ago
I will check more based on your guidance. 

Following is g++ version on my machine

#g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin
--enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)

Original comment by alexios...@gmail.com on 28 Dec 2011 at 12:47

GoogleCodeExporter commented 9 years ago
Oh, in that case try #include <memory> in the files that complain of 
std::tr1::shared_ptr as per: 
http://gcc.gnu.org/onlinedocs/libstdc++/manual/memory.html

Original comment by alyhirani on 28 Dec 2011 at 4:45

GoogleCodeExporter commented 9 years ago
In fact
src/Common.hpp
already has 
#included <memory>

Original comment by alexios...@gmail.com on 28 Dec 2011 at 5:56

GoogleCodeExporter commented 9 years ago
Is this project developed in Linux or Windows environment? What Linux distro 
you are using?

Original comment by alexios...@gmail.com on 5 Jan 2012 at 4:20

GoogleCodeExporter commented 9 years ago
Both are supported. I don't remember which distro I last used to compile this. 
I could check. Are you still having build issues?

Original comment by alyhirani on 5 Jan 2012 at 4:22

GoogleCodeExporter commented 9 years ago
Yep, still having the issue. What is the main environment and OS developing 
this at the moment?

Original comment by alexios...@gmail.com on 6 Jan 2012 at 3:01

GoogleCodeExporter commented 9 years ago
Went from Windows 7 with VS2008 to Ubuntu 10.04 (maybe). I am updating my VM 
right now to test it out with the latest version. I'll update you as soon as I 
have something

Original comment by alyhirani on 6 Jan 2012 at 3:04

GoogleCodeExporter commented 9 years ago

Original comment by alyhirani on 7 Jan 2012 at 12:38

GoogleCodeExporter commented 9 years ago
I can repro this and have a partial fix for it as well. The only thing left is 
the template-hell and the cyclic dependency between the List<> class and one of 
the base classes. It should be fix-able, depending on my free time (which I 
don't have at all).

Original comment by alyhirani on 13 Jan 2012 at 7:42

GoogleCodeExporter commented 9 years ago
I have the same issue, I use gc++ compiler, I had to import Boost library to 
overcome the shared_ptr bug, but I'm now facing the template issue, in 
Deserialzer class I have this error: Explicit specialization in non-namespace 
scope.
it's because of the explicit specialization of( _DeserializeObject ) in the 
class, I hope you can help me if you can, thanks.

Original comment by mbiz.a...@gmail.com on 27 Dec 2012 at 12:01

GoogleCodeExporter commented 9 years ago
Hi, 

I added: #include <tr1/memory>, but this solved only the first error: 
"‘std::tr1’ has not been declared"

My system is Debian Jessie and gcc version 4.8.3 (Debian 4.8.3-2).

Original comment by vinicius...@gmail.com on 19 Jul 2014 at 9:05

GoogleCodeExporter commented 9 years ago
Most of the tr1 stuff has now been updated. I don't think all of it will work 
out of the box anymore.

Sorry, I don't have much time to update this anymore. Will get to it as soon as 
I get the first chance.

Original comment by alyhirani on 21 Jul 2014 at 4:30

GoogleCodeExporter commented 9 years ago
Hi, what do you mean "I don't think all of it will work out of the box 
anymore"? 
Even if these errors are fixed, the library does not work anymore?

Thanks anyway.

Original comment by vinicius...@gmail.com on 21 Jul 2014 at 6:35

GoogleCodeExporter commented 9 years ago
Unfortunately, it most likely won't :(. Sorry about that :(. I didn't get much 
time to update this lib and then kind of lost interest :(

Original comment by alyhirani on 21 Jul 2014 at 6:40