Results 1 to 4 of 4

Thread: qbittorrent Build Error

  1. #1
    Join Date
    Mar 2010
    Posts
    92
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default qbittorrent Build Error

    i download source QbitTorrent at http://sourceforge.net/projects/qbittorrent/files/ but when i build then Message QT 4.6.2 is:

    Running build steps for project qbittorrent...
    Starting: f:/programfiles/qt/qt/bin/qmake.exe G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2/qbittorrent.pro -spec win32-g++ -r
    Reading G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2/src/src.pro
    Project MESSAGE: Release build!
    Project MESSAGE: On Windows, GeoIP database must be embedded.
    Project ERROR: GeoIP.dat was not found in src/geoip/ folder, please follow instructions in src/geoip/README.
    Exited with code 2.
    Error while building project qbittorrent
    When executing build step 'QMake'
    why ?

  2. #2
    Join Date
    Mar 2010
    Posts
    92
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: qbittorrent Build Error

    In file included from GUI.h:38,
    from main.cpp:43:
    qtorrenthandle.h:34:41: error: libtorrent/torrent_handle.hpp: No such file or directory
    qtorrenthandle.h:35:39: error: libtorrent/torrent_info.hpp: No such file or directory
    In file included from main.cpp:63:
    misc.h:38:59: error: boost/date_time/posix_time/posix_time_types.hpp: No such file or directory
    misc.h:39:53: error: boost/date_time/posix_time/conversion.hpp: No such file or directory
    why ?,i was edit error

  3. #3
    Join Date
    Mar 2010
    Posts
    92
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: qbittorrent Build Error

    Running build steps for project qbittorrent...
    Starting: f:/programfiles/qt/qt/bin/qmake.exe G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2/qbittorrent.pro -spec win32-g++ -r
    Reading G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2/src/src.pro
    'pkg-config' is not recognized as an internal or external command,
    operable program or batch file.
    'pkg-config' is not recognized as an internal or external command,
    operable program or batch file.
    'pkg-config' is not recognized as an internal or external command,
    operable program or batch file.
    'pkg-config' is not recognized as an internal or external command,
    operable program or batch file.
    'pkg-config' is not recognized as an internal or external command,
    operable program or batch file.
    'pkg-config' is not recognized as an internal or external command,
    operable program or batch file.
    'pkg-config' is not recognized as an internal or external command,
    operable program or batch file.
    'pkg-config' is not recognized as an internal or external command,
    operable program or batch file.
    'pkg-config' is not recognized as an internal or external command,
    operable program or batch file.
    Project MESSAGE: Release build!
    Project MESSAGE: On Windows, GeoIP database must be embedded.
    Project MESSAGE: GeoIP.dat was found in src/geoip/.
    Project MESSAGE: Release build!
    Project MESSAGE: On Windows, GeoIP database must be embedded.
    Project MESSAGE: GeoIP.dat was found in src/geoip/.
    Project MESSAGE: Release build!
    Project MESSAGE: On Windows, GeoIP database must be embedded.
    Project MESSAGE: GeoIP.dat was found in src/geoip/.
    Exited with code 0.
    Starting: F:/ProgramFiles/QT/mingw/bin/mingw32-make.exe -w
    mingw32-make: Entering directory `G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2'
    cd src\ && F:/ProgramFiles/QT/mingw/bin/mingw32-make -f Makefile
    mingw32-make[1]: Entering directory `G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2/src'
    F:/ProgramFiles/QT/mingw/bin/mingw32-make -f Makefile.Release
    mingw32-make[2]: Entering directory `G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2/src'
    g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DVERSION=\"v2.2.2\" -DVERSION_MAJOR=2 -DVERSION_MINOR=2 -DVERSION_BUGFIX=2 -DVERSION_TYPE=NORMAL -DQT_NO_DEBUG_OUTPUT -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DWITH_GEOIP_EMBEDDED -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"f:\ProgramFiles\QT\qt\include\QtCore" -I"f:\ProgramFiles\QT\qt\include\QtNetwork" -I"f:\ProgramFiles\QT\qt\include\QtGui" -I"f:\ProgramFiles\QT\qt\include\QtXml" -I"f:\ProgramFiles\QT\qt\include" -I"." -I"f:\ProgramFiles\QT\qt\include\ActiveQt" -I"release" -I"." -I"f:\ProgramFiles\QT\qt\mkspecs\win32-g++" -o release\main.o main.cpp
    In file included from GUI.h:38,
    from main.cpp:43:
    qtorrenthandle.h:34:41: error: libtorrent/torrent_handle.hpp: No such file or directory
    qtorrenthandle.h:35:39: error: libtorrent/torrent_info.hpp: No such file or directory
    In file included from main.cpp:63:
    misc.h:38:59: error: boost/date_time/posix_time/posix_time_types.hpp: No such file or directory
    misc.h:39:53: error: boost/date_time/posix_time/conversion.hpp: No such file or directory
    In file included from GUI.h:38,
    from main.cpp:43:
    qtorrenthandle.h:37: error: 'libtorrent' is not a namespace-name
    qtorrenthandle.h:37: error: expected namespace-name before ';' token
    In file included from GUI.h:38,
    from main.cpp:43:
    qtorrenthandle.h:47: error: 'torrent_handle' does not name a type
    qtorrenthandle.h:56: error: expected ')' before 'h'
    qtorrenthandle.h:62: error: 'torrent_handle' does not name a type
    qtorrenthandle.h:63: error: 'torrent_info' does not name a type
    qtorrenthandle.h:67: error: 'bitfield' does not name a type
    qtorrenthandle.h:69: error: 'partial_piece_info' was not declared in this scope
    qtorrenthandle.h:69: error: template argument 1 is invalid
    qtorrenthandle.h:69: error: template argument 2 is invalid
    qtorrenthandle.h:74: error: 'size_type' does not name a type
    qtorrenthandle.h:75: error: 'size_type' does not name a type
    qtorrenthandle.h:77: error: 'size_type' does not name a type
    qtorrenthandle.h:89: error: 'size_type' does not name a type
    qtorrenthandle.h:98: error: 'size_type' does not name a type
    qtorrenthandle.h:99: error: 'announce_entry' was not declared in this scope
    qtorrenthandle.h:99: error: template argument 1 is invalid
    qtorrenthandle.h:99: error: template argument 2 is invalid
    qtorrenthandle.h:100: error: 'torrent_status' has not been declared
    qtorrenthandle.h:100: error: ISO C++ forbids declaration of 'state_t' with no type
    qtorrenthandle.h:100: error: expected ';' before 'state'
    qtorrenthandle.h:103: error: 'size_type' does not name a type
    qtorrenthandle.h:104: error: 'size_type' does not name a type
    qtorrenthandle.h:105: error: 'size_type' was not declared in this scope
    qtorrenthandle.h:105: error: template argument 1 is invalid
    qtorrenthandle.h:105: error: template argument 2 is invalid
    qtorrenthandle.h:106: error: 'size_type' does not name a type
    qtorrenthandle.h:107: error: 'size_type' does not name a type
    qtorrenthandle.h:108: error: 'size_type' does not name a type
    qtorrenthandle.h:109: error: 'size_type' does not name a type
    qtorrenthandle.h:110: error: 'size_type' does not name a type
    qtorrenthandle.h:124: error: 'peer_info' was not declared in this scope
    qtorrenthandle.h:124: error: template argument 1 is invalid
    qtorrenthandle.h:124: error: template argument 2 is invalid
    qtorrenthandle.h:132: error: 'bitfield' has not been declared
    qtorrenthandle.h:149: error: 'announce_entry' was not declared in this scope
    qtorrenthandle.h:149: error: template argument 1 is invalid
    qtorrenthandle.h:149: error: template argument 2 is invalid
    qtorrenthandle.h:165: error: 'libtorrent' has not been declared
    qtorrenthandle.h:165: error: expected ',' or '...' before 'const'
    qtorrenthandle.h:166: error: 'libtorrent' has not been declared
    qtorrenthandle.h:166: error: expected ',' or '...' before 'ip'
    qtorrenthandle.h:167: error: 'libtorrent' has not been declared
    qtorrenthandle.h:167: error: expected ',' or '...' before 'ip'
    qtorrenthandle.h:168: error: 'announce_entry' has not been declared
    qtorrenthandle.h:176: error: ISO C++ forbids declaration of 'torrent_handle' with no type
    qtorrenthandle.h:176: error: expected ',' or '...' before '&' token
    In file included from main.cpp:63:
    misc.h:43: error: 'libtorrent' is not a namespace-name
    misc.h:43: error: expected namespace-name before ';' token
    misc.h:58: error: 'sha1_hash' has not been declared
    misc.h:64: error: 'sha1_hash' does not name a type
    misc.h:101: error: ISO C++ forbids declaration of 'boost' with no type
    misc.h:101: error: expected ',' or '...' before '::' token
    main.cpp: In static member function 'static void UsageDisplay::displayUsage(char*)':
    main.cpp:77: error: 'cout' is not a member of 'std'
    main.cpp:78: error: 'cout' is not a member of 'std'
    main.cpp:80: error: 'cout' is not a member of 'std'
    main.cpp:82: error: 'cout' is not a member of 'std'
    main.cpp:83: error: 'cout' is not a member of 'std'
    main.cpp:84: error: 'cout' is not a member of 'std'
    main.cpp: In function 'int qMain(int, char**)':
    main.cpp:181: error: 'getuid' was not declared in this scope
    main.cpp:184: error: 'cout' is not a member of 'std'
    main.cpp:190: error: 'cout' is not a member of 'std'
    main.cpp:193: error: 'cout' is not a member of 'std'
    main.cpp:194: error: 'cout' is not a member of 'std'
    main.cpp:197: error: 'cout' is not a member of 'std'
    main.cpp:199: error: 'cerr' is not a member of 'std'
    main.cpp:202: error: 'cout' is not a member of 'std'
    main.cpp:233: error: 'cout' is not a member of 'std'
    main.cpp:272: error: 'cerr' is not a member of 'std'
    mingw32-make[2]: Leaving directory `G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2/src'
    mingw32-make[1]: Leaving directory `G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2/src'
    mingw32-make: Leaving directory `G:/Library OpenSource C++/qbittorrent/qbittorrent-2.2.2'
    mingw32-make[2]: *** [release/main.o] Error 1
    mingw32-make[1]: *** [release] Error 2
    mingw32-make: *** [sub-src-make_default] Error 2
    Exited with code 2.
    Error while building project qbittorrent
    When executing build step 'Make'

  4. #4
    Join Date
    Mar 2010
    Location
    Kawasaki, Japan
    Posts
    13
    Qt products
    Qt/Embedded Qt Jambi
    Platforms
    Symbian S60

    Default Re: qbittorrent Build Error

    Quote Originally Posted by nhs_0702 View Post
    Project ERROR: GeoIP.dat was not found in src/geoip/ folder, please follow instructions in src/geoip/README.
    Hi,

    I hope you noticed the error message.
    It is expecting the database to be embedded. Please check the instructions for setting this up.

    -Girish

Similar Threads

  1. Qwt build error with Qt 4.6.0-tp1
    By alex-krutikov in forum Qwt
    Replies: 6
    Last Post: 20th December 2009, 09:43
  2. Build Error qwt_5.3.0
    By Noeldi in forum Qwt
    Replies: 0
    Last Post: 13th December 2009, 12:46
  3. qt build error
    By sunnyan in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 30th November 2009, 08:25
  4. Application gives error when build using Qt 4.4.3
    By santosh.kumar in forum Qt Programming
    Replies: 1
    Last Post: 11th November 2008, 18:36
  5. Error to build Qt4.4 on Mac OS X 10.5.3
    By chackal_sjc in forum Installation and Deployment
    Replies: 8
    Last Post: 20th July 2008, 19:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.