Quote:
Originally Posted by Valloric
Again read the error message that tells you you're doing it from the wrong directory. It tells you how to do it correctly (I know, because I wrote it).
|
Ok I deleted the source directory and tried again and (of course) it works

For others here is the commands that I used
Code:
~src$ unzip Sigil-0.2.4-Code
~src$ cd Sigil-0.2.4-Code
~/src/Sigil-0.2.4-Code$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ~/src/Sigil-0.2.4-Code
~/src/Sigil-0.2.4-Code$ make
But I get an error when building the main.cpp.o, any ideas?
Code:
[ 58%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/main.cpp.o
/home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/main.cpp: In function ‘int main(int, char**)’:
/home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/main.cpp:144: warning: format not a string literal and no format arguments
[ 58%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/Tabs/TabManager.cpp.o
/home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/Tabs/TabManager.cpp: In member function ‘void TabManager::EmitTabChanged()’:
/home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/Tabs/TabManager.cpp:142: error: ‘class QWeakPointer<ContentTab>’ has no member named ‘data’
/home/mwtheobald/src/Sigil-0.2.4-Code/src/Sigil/Tabs/TabManager.cpp:144: error: no matching function for call to ‘QWeakPointer<ContentTab>::QWeakPointer(ContentTab*&)’
/usr/include/qt4/QtCore/qsharedpointer_impl.h:359: note: candidates are: QWeakPointer<T>::QWeakPointer(const QSharedPointer<X>&) [with T = ContentTab]
/usr/include/qt4/QtCore/qsharedpointer_impl.h:351: note: QWeakPointer<T>::QWeakPointer(const QWeakPointer<T>&) [with T = ContentTab]
/usr/include/qt4/QtCore/qsharedpointer_impl.h:349: note: QWeakPointer<T>::QWeakPointer() [with T = ContentTab]
make[2]: *** [src/Sigil/CMakeFiles/sigil.dir/Tabs/TabManager.cpp.o] Error 1
make[1]: *** [src/Sigil/CMakeFiles/sigil.dir/all] Error 2
make: *** [all] Error 2
I just tried grabbing the latest from the repo and got the same error... And yes I installed the core QT libraries as noted in the instructions.