This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Compiling under FreeBSD from git

Tags: None
(comma "," separated)
Dagor
Registered Member
Posts
27
Karma
0

Compiling under FreeBSD from git

Sat Dec 18, 2010 12:45 pm
git clone git://git.kde.org/ktorrent
cd ktorrent
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) ..
make
[list=][ 1%] Building CXX object libktcore/CMakeFiles/ktcore.dir/ktcore_automoc.o
In file included from /usr/home/dagor/ktorrent/ktorrent/build/libktcore/moc_dbustorrentfilestream.cpp:10,
from /usr/home/dagor/ktorrent/ktorrent/build/libktcore/ktcore_automoc.cpp:10:
/usr/home/dagor/ktorrent/ktorrent/build/libktcore/../../libktcore/dbus/dbustorrentfilestream.h:26:39: error: torrent/torrentfilestream.h: No such file or directory
In file included from /usr/home/dagor/ktorrent/ktorrent/build/libktcore/moc_dbustorrentfilestream.cpp:10,
from /usr/home/dagor/ktorrent/ktorrent/build/libktcore/ktcore_automoc.cpp:10:
/usr/home/dagor/ktorrent/ktorrent/build/libktcore/../../libktcore/dbus/dbustorrentfilestream.h:71: error: 'bt::TorrentFileStream' has not been declared
/usr/home/dagor/ktorrent/ktorrent/build/libktcore/../../libktcore/dbus/dbustorrentfilestream.h:71: error: ISO C++ forbids declaration of 'Ptr' with no type
/usr/home/dagor/ktorrent/ktorrent/build/libktcore/../../libktcore/dbus/dbustorrentfilestream.h:71: error: expected ';' before 'stream'
/usr/home/dagor/ktorrent/ktorrent/build/libktcore/../../libktcore/dbus/dbustorrentfilestream.h: In member function 'bool kt::DBusTorrentFileStream::ok() const':
/usr/home/dagor/ktorrent/ktorrent/build/libktcore/../../libktcore/dbus/dbustorrentfilestream.h:45: error: 'stream' was not declared in this scope
*** Error code 1

Stop in /usr/home/dagor/ktorrent/ktorrent/build.
*** Error code 1

Stop in /usr/home/dagor/ktorrent/ktorrent/build.
*** Error code 1

Stop in /usr/home/dagor/ktorrent/ktorrent/build.
[/list]
Dagor
Registered Member
Posts
27
Karma
0
Problem Solved.
de3234f2561468
Registered Member
Posts
3
Karma
0
how?
George
Moderator
Posts
5421
Karma
1
de3234f2561468 wrote:how?


Presumably by installing libktorrent's headers


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]