Trunk not compilable on ubuntu 12.04

2013-05-14 Thread Kornel Benko
/usr/bin/cmake -E cmake_progress_report /usr/BUILD/BuildLyxGit/CMakeFiles 
[ 49%] Building CXX object src/tex2lyx/CMakeFiles/tex2lyx2.1.dir/__/Lexer.cpp.o
cd /usr/BUILD/BuildLyxGit/src/tex2lyx && /usr/bin/c++   -DNO_LAYOUT_CSS 
-DTEX2LYX -Wall -Wunused-parameter -std=gnu++0x -fno-strict-aliasing  -Wall 
-Wunused-parameter -std=gnu++0x -fno-strict-aliasing -O0 -g3 -D_DEBUG 
-I/usr/src/lyx/lyx-git/src/support/minizip -I/usr/src/lyx/lyx-git/src/tex2lyx 
-I/usr/BUILD/BuildLyxGit -I/usr/src/lyx/lyx-git/src -I/usr/include/enchant 
-I/usr/src/lyx/lyx-git/boost-DBOOST_USER_CONFIG="" -o 
CMakeFiles/tex2lyx2.1.dir/__/Lexer.cpp.o -c /usr/src/lyx/lyx-git/src/Lexer.cpp
In file included from /usr/src/lyx/lyx-git/src/Lexer.cpp:23:0:
/usr/src/lyx/lyx-git/src/support/gzstream.h:35:18: fatal error: QtCore: No such 
file or directory
compilation terminated.

To make it on cmake compilable again, one has to add:
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 07541ba..490990b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -6,7 +6,7 @@
 
 project(${_lyx})
 
-include_directories(${TOP_SRC_DIR}/src)
+include_directories(${TOP_SRC_DIR}/src ${QT_INCLUDES})
 
 set_property(GLOBAL PROPERTY USE_FOLDERS ON)
 set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMakeTargets")
...

Will commit, if nobody objects.

Kornel



signature.asc
Description: This is a digitally signed message part.


master (trunk?) not compilable

2012-05-26 Thread Kornel Benko
This is on ubuntu 12.04

...
cd /usr/BUILD/BuildLyxGit/src/frontends/qt4 && /usr/bin/c++   -DUSE_ENCHANT=1 
-DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND -Wall -Wunused-parameter 
-fno-strict-aliasing  -Wall -Wunused-parameter -O3 -DNDEBUG 
-I/usr/BUILD/BuildLyxGit -I/usr/src/lyx/lyx-git/src -I/usr/include/enchant 
-I/usr/src/lyx/lyx-git/po -I/usr/src/lyx/lyx-git/boost 
-I/usr/src/lyx/lyx-git/src/frontends -I/usr/src/lyx/lyx-git/src/frontends/qt4 
-I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtDesigner 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/BUILD/BuildLyxGit/src/frontends/qt4-DBOOST_USER_CONFIG="" 
-o CMakeFiles/frontend_qt4.dir/GuiWorkArea.cpp.o -c 
/usr/src/lyx/lyx-git/src/frontends/qt4/GuiWorkArea.cpp
/usr/src/lyx/lyx-git/src/frontends/qt4/GuiWorkArea.cpp: In member function 
‘virtual void lyx::frontend::TabWorkArea::paintEvent(QPaintEvent*)’:
/usr/src/lyx/lyx-git/src/frontends/qt4/GuiWorkArea.cpp:1566:3: error: 
‘QStylePainter’ was not declared in this scope
/usr/src/lyx/lyx-git/src/frontends/qt4/GuiWorkArea.cpp:1566:17: error: expected 
‘;’ before ‘p’
/usr/src/lyx/lyx-git/src/frontends/qt4/GuiWorkArea.cpp:1572:3: error: ‘p’ was 
not declared in this scope
make[2]: *** [src/frontends/qt4/CMakeFiles/frontend_qt4.dir/GuiWorkArea.cpp.o] 
Error 1
make[2]: Leaving directory `/usr/BUILD/BuildLyxGit'
make[1]: *** [src/frontends/qt4/CMakeFiles/frontend_qt4.dir/all] Error 2
make[1]: Leaving directory `/usr/BUILD/BuildLyxGit'
make: *** [all] Error 2
...
class QStylePainter defined in "/usr/include/qt4/Qt/qstylepainter.h", which is 
included by "/usr/include/qt4/Qt/QtGui"

Korneldiff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp
index 362f062..aa39f99 100644
--- a/src/frontends/qt4/GuiWorkArea.cpp
+++ b/src/frontends/qt4/GuiWorkArea.cpp
@@ -70,6 +70,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "support/bind.h"
 


signature.asc
Description: This is a digitally signed message part.


Re: Re: Trunk not compilable

2012-01-05 Thread Kornel Benko
Am Donnerstag, 5. Januar 2012 um 14:29:50, schrieb Stephan Witt 

> Am 05.01.2012 um 11:05 schrieb Kornel Benko:
>
> > I get this:
> > ...
> > cd /usr/BUILD/BuildLyx/src && /usr/bin/c++   -DUSE_ENCHANT=1 -Wall 
> > -Wunused-parameter -fno-strict-aliasing  -Wall -Wunused-parameter -O3 
> > -DNDEBUG -I/usr/BUILD/BuildLyx -I/usr/src/lyx/lyx-devel/src 
> > -I/usr/include/enchant -I/usr/src/lyx/lyx-devel/po 
> > -I/usr/src/lyx/lyx-devel/boost -I/usr/BUILD/BuildLyx/src -I/usr/include/qt4 
> > -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default 
> > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
> > -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtDesigner 
> > -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL 
> > -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg 
> > -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest
> > -DBOOST_USER_CONFIG="" -o CMakeFiles/lyx.dir/LyX.cpp.o -c 
> > /usr/src/lyx/lyx-devel/src/LyX.cpp
> > /usr/src/lyx/lyx-devel/src/LyX.cpp: In function ‘void 
> > lyx::setSpellChecker()’:
> > /usr/src/lyx/lyx-devel/src/LyX.cpp:1449:62: error: cannot allocate an 
> > object of abstract type ‘lyx::EnchantChecker’
> > /usr/src/lyx/lyx-devel/src/EnchantChecker.h:27:7: note:   because the 
> > following virtual functions are pure within ‘lyx::EnchantChecker’:
> > /usr/src/lyx/lyx-devel/src/SpellChecker.h:78:14: note:  virtual int 
> > lyx::SpellChecker::numDictionaries() const
> > make[2]: *** [src/CMakeFiles/lyx.dir/LyX.cpp.o] Error 1
> > ...
>
> Hi Kornel,
>
> is it better now?
>
> Stephan

Thanks, no problems now :)

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Trunk not compilable

2012-01-05 Thread Stephan Witt
Am 05.01.2012 um 11:05 schrieb Kornel Benko:

> I get this:
> ...
> cd /usr/BUILD/BuildLyx/src && /usr/bin/c++   -DUSE_ENCHANT=1 -Wall 
> -Wunused-parameter -fno-strict-aliasing  -Wall -Wunused-parameter -O3 
> -DNDEBUG -I/usr/BUILD/BuildLyx -I/usr/src/lyx/lyx-devel/src 
> -I/usr/include/enchant -I/usr/src/lyx/lyx-devel/po 
> -I/usr/src/lyx/lyx-devel/boost -I/usr/BUILD/BuildLyx/src -I/usr/include/qt4 
> -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default 
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
> -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtDesigner 
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL 
> -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg 
> -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest
> -DBOOST_USER_CONFIG="" -o CMakeFiles/lyx.dir/LyX.cpp.o -c 
> /usr/src/lyx/lyx-devel/src/LyX.cpp
> /usr/src/lyx/lyx-devel/src/LyX.cpp: In function ‘void lyx::setSpellChecker()’:
> /usr/src/lyx/lyx-devel/src/LyX.cpp:1449:62: error: cannot allocate an object 
> of abstract type ‘lyx::EnchantChecker’
> /usr/src/lyx/lyx-devel/src/EnchantChecker.h:27:7: note:   because the 
> following virtual functions are pure within ‘lyx::EnchantChecker’:
> /usr/src/lyx/lyx-devel/src/SpellChecker.h:78:14: note:  virtual int 
> lyx::SpellChecker::numDictionaries() const
> make[2]: *** [src/CMakeFiles/lyx.dir/LyX.cpp.o] Error 1
> ...

Oops, I've missed Enchant... will correct that soon.

Stephan



Trunk not compilable

2012-01-05 Thread Kornel Benko
I get this:
...
cd /usr/BUILD/BuildLyx/src && /usr/bin/c++   -DUSE_ENCHANT=1 -Wall 
-Wunused-parameter -fno-strict-aliasing  -Wall -Wunused-parameter -O3 -DNDEBUG 
-I/usr/BUILD/BuildLyx -I/usr/src/lyx/lyx-devel/src -I/usr/include/enchant 
-I/usr/src/lyx/lyx-devel/po -I/usr/src/lyx/lyx-devel/boost 
-I/usr/BUILD/BuildLyx/src -I/usr/include/qt4 -I/usr/include/qt4/Qt 
-I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtNetwork 
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
   -DBOOST_USER_CONFIG="" -o CMakeFiles/lyx.dir/LyX.cpp.o -c 
/usr/src/lyx/lyx-devel/src/LyX.cpp
/usr/src/lyx/lyx-devel/src/LyX.cpp: In function ‘void lyx::setSpellChecker()’:
/usr/src/lyx/lyx-devel/src/LyX.cpp:1449:62: error: cannot allocate an object of 
abstract type ‘lyx::EnchantChecker’
/usr/src/lyx/lyx-devel/src/EnchantChecker.h:27:7: note:   because the following 
virtual functions are pure within ‘lyx::EnchantChecker’:
/usr/src/lyx/lyx-devel/src/SpellChecker.h:78:14: note:  virtual int 
lyx::SpellChecker::numDictionaries() const
make[2]: *** [src/CMakeFiles/lyx.dir/LyX.cpp.o] Error 1
...

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Trunk not compilable with new boost?

2011-11-21 Thread Peter Kümmel

On 21.11.2011 11:29, Kornel Benko wrote:

Am Sonntag, 20. November 2011 um 21:51:25, schrieb Peter 
Kümmel

On 20.11.2011 21:31, Kornel Benko wrote:

Am Sonntag, 20. November 2011 um 20:57:24, schrieb Kornel Benko

I get now:
...
Linking CXX executable ../bin/lyx
...
../lib/libboost_regex.a(regex.cpp.o): In function 
`boost::re_detail::get_mem_block()':
regex.cpp:(.text+0x133): undefined reference to 
`boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
 bool)'
regex.cpp:(.text+0x158): undefined reference to 
`boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
regex.cpp:(.text+0x17e): undefined reference to 
`boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
../lib/libboost_regex.a(regex.cpp.o): In function 
`boost::re_detail::put_mem_block(void*)':
regex.cpp:(.text+0x1a6): undefined reference to 
`boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
 bool)'
regex.cpp:(.text+0x1cf): undefined reference to 
`boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
...

Kornel


Solved, corrected the cmake-build now.


rm -rf is your (dangerous) friend ;)



Kornel


It was a clean build. But nonetheless, the appropriate CMakeLists.txt is 
corrected now.


Sorry, I've tested it on Ubuntu and got no errors, didn't realized that there 
is a new file.



Kornel


Re: Re: Trunk not compilable with new boost?

2011-11-21 Thread Kornel Benko
Am Sonntag, 20. November 2011 um 21:51:25, schrieb Peter Kümmel 

> On 20.11.2011 21:31, Kornel Benko wrote:
> > Am Sonntag, 20. November 2011 um 20:57:24, schrieb Kornel 
> > Benko
> >> I get now:
> >> ...
> >> Linking CXX executable ../bin/lyx
> >> ...
> >> ../lib/libboost_regex.a(regex.cpp.o): In function 
> >> `boost::re_detail::get_mem_block()':
> >> regex.cpp:(.text+0x133): undefined reference to 
> >> `boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
> >>  bool)'
> >> regex.cpp:(.text+0x158): undefined reference to 
> >> `boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
> >> regex.cpp:(.text+0x17e): undefined reference to 
> >> `boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
> >> ../lib/libboost_regex.a(regex.cpp.o): In function 
> >> `boost::re_detail::put_mem_block(void*)':
> >> regex.cpp:(.text+0x1a6): undefined reference to 
> >> `boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
> >>  bool)'
> >> regex.cpp:(.text+0x1cf): undefined reference to 
> >> `boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
> >> ...
> >>
> >>Kornel
> >
> > Solved, corrected the cmake-build now.
>
> rm -rf is your (dangerous) friend ;)
>
> >
> > Kornel

It was a clean build. But nonetheless, the appropriate CMakeLists.txt is 
corrected now.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Trunk not compilable with new boost?

2011-11-20 Thread Peter Kümmel

On 20.11.2011 21:31, Kornel Benko wrote:

Am Sonntag, 20. November 2011 um 20:57:24, schrieb Kornel Benko

I get now:
...
Linking CXX executable ../bin/lyx
...
../lib/libboost_regex.a(regex.cpp.o): In function 
`boost::re_detail::get_mem_block()':
regex.cpp:(.text+0x133): undefined reference to 
`boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
 bool)'
regex.cpp:(.text+0x158): undefined reference to 
`boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
regex.cpp:(.text+0x17e): undefined reference to 
`boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
../lib/libboost_regex.a(regex.cpp.o): In function 
`boost::re_detail::put_mem_block(void*)':
regex.cpp:(.text+0x1a6): undefined reference to 
`boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
 bool)'
regex.cpp:(.text+0x1cf): undefined reference to 
`boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
...

Kornel


Solved, corrected the cmake-build now.


rm -rf is your (dangerous) friend ;)



Kornel


Re: Trunk not compilable with new boost?

2011-11-20 Thread Kornel Benko
Am Sonntag, 20. November 2011 um 20:57:24, schrieb Kornel Benko 
> I get now:
> ...
> Linking CXX executable ../bin/lyx
> ...
> ../lib/libboost_regex.a(regex.cpp.o): In function 
> `boost::re_detail::get_mem_block()':
> regex.cpp:(.text+0x133): undefined reference to 
> `boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
>  bool)'
> regex.cpp:(.text+0x158): undefined reference to 
> `boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
> regex.cpp:(.text+0x17e): undefined reference to 
> `boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
> ../lib/libboost_regex.a(regex.cpp.o): In function 
> `boost::re_detail::put_mem_block(void*)':
> regex.cpp:(.text+0x1a6): undefined reference to 
> `boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
>  bool)'
> regex.cpp:(.text+0x1cf): undefined reference to 
> `boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
> ...
> 
>   Kornel

Solved, corrected the cmake-build now.

Kornel

signature.asc
Description: This is a digitally signed message part.


Trunk not compilable with new boost?

2011-11-20 Thread Kornel Benko
I get now:
...
Linking CXX executable ../bin/lyx
...
../lib/libboost_regex.a(regex.cpp.o): In function 
`boost::re_detail::get_mem_block()':
regex.cpp:(.text+0x133): undefined reference to 
`boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
 bool)'
regex.cpp:(.text+0x158): undefined reference to 
`boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
regex.cpp:(.text+0x17e): undefined reference to 
`boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
../lib/libboost_regex.a(regex.cpp.o): In function 
`boost::re_detail::put_mem_block(void*)':
regex.cpp:(.text+0x1a6): undefined reference to 
`boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&,
 bool)'
regex.cpp:(.text+0x1cf): undefined reference to 
`boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()'
...

Kornel

signature.asc
Description: This is a digitally signed message part.


trunk not compilable

2011-06-06 Thread Uwe Stöhr

Due to this change in FancyLineEdit.h:
http://www.lyx.org/trac/changeset/38963
I cannot compile LyX with Qt 4.7 anymore:

release\src\PersonalWordList.obj : warning LNK4042: object specified more than 
once; extras ignored
   Creating library release\lyx.lib and object release\lyx.exp
FancyLineEdit.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject 
const * __thiscall lyx::frontend::IconButton::metaObject(void)

const " (?metaObject@IconButton@frontend@lyx@@UBEPBUQMetaObject@@XZ)
FancyLineEdit.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall 
lyx::frontend::IconButton::qt_metacast(char const *)" (?qt_meta 
cast@IconButton@frontend@lyx@@UAEPAXPBD@Z)
FancyLineEdit.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall 
lyx::frontend::IconButton::qt_metacall(enum QMetaObject::Call,int,void * *)" 
(?qt_metacall@IconButton@frontend@lyx@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
FancyLineEdit.obj : error LNK2019: unresolved external symbol "public: static struct QMetaObject 
const lyx::frontend::IconButton::staticMetaObject" 
(?staticMetaObject@IconButton@frontend@lyx@@2UQMetaObject@@B) referenced in function "class
lyx::frontend::IconButton * __cdecl qobject_cast(class QObject 
*)" (??$qobject_cast@PAVIconButton@frontend@lyxYAPAVIconButton@frontend@lyx@@PAVQObject@@@Z)

release\lyx.exe : fatal error LNK1120: 4 unresolved externals
scons: *** [release\lyx.exe] Error 1120
scons: building terminated because of errors.

Without the new #if QT_VERSION >= 0x040600 it compiles.

regards Uwe


Re: trunk not compilable

2011-06-06 Thread Kornel
Am pondelok 06 Jún 2011 schrieb Stephan Witt:
> Am 06.06.2011 um 13:12 schrieb Kornel:
> > I get this while linking lyx
> > ...
> > Linking CXX executable ../bin/lyx
> > cd /usr/BUILD/BuildLyx/src && /usr/bin/cmake -E cmake_link_script
> > CMakeFiles/lyx.dir/link.txt --verbose=1 /usr/bin/c++   -Wall
> > -Wunused-parameter -fno-strict-aliasing  -Wall -Wunused-parameter -O3
> > -DNDEBUG   CMakeFiles/lyx.dir/PersonalWordList.cpp.o ...
> > CMakeFiles/lyx.dir/CursorSlice.cpp.o CMakeFiles/lyx.dir/Changes.cpp.o
> > CMakeFiles/lyx.dir/output_docbook.cpp.o
> > CMakeFiles/lyx.dir/TextClass.cpp.o CMakeFiles/lyx.dir/Format.cpp.o
> > CMakeFiles/lyx.dir/BufferList.cpp.o CMakeFiles/lyx.dir/Layout.cpp.o  -o
> > ../bin/lyx -rdynamic ../lib/libmathed.a ../lib/libinsets.a
> > ../lib/libfrontends.a ../lib/libfrontend_qt4.a ../lib/libgraphics.a
> > ../lib/libsupport.a ../lib/libintl.a -lhunspell -lenchant
> > ../lib/libfrontends.a -lQtGui ../lib/libboost_signals.a
> > ../lib/libboost_regex.a -lQtCore -lz
> > ../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function
> > `lyx::frontend::FancyLineEditPrivate::FancyLineEditPrivate(lyx::frontend
> > ::FancyLineEdit*)': FancyLineEdit.cpp:(.text+0x383): undefined reference
> > to `vtable for lyx::frontend::IconButton'
> > FancyLineEdit.cpp:(.text+0x38b): undefined reference to `vtable for
> > lyx::frontend::IconButton' FancyLineEdit.cpp:(.text+0x415): undefined
> > reference to `vtable for lyx::frontend::IconButton'
> > FancyLineEdit.cpp:(.text+0x41d): undefined reference to `vtable for
> > lyx::frontend::IconButton'
> > ../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function
> > `lyx::frontend::FancyLineEdit::iconClicked()':
> > FancyLineEdit.cpp:(.text+0x54c): undefined reference to
> > `lyx::frontend::IconButton::staticMetaObject'
> > ../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function
> > `lyx::frontend::IconButton::IconButton(QWidget*)':
> > FancyLineEdit.cpp:(.text+0xd25): undefined reference to `vtable for
> > lyx::frontend::IconButton' FancyLineEdit.cpp:(.text+0xd2d): undefined
> > reference to `vtable for lyx::frontend::IconButton' collect2: ld
> > returned 1 exit status
> > ...
> > 
> > The qt-version is "4:4.7.2-0ubuntu6.1" if that matters. Yesterday it was
> > compilable (revision 38960).
> 
> I had the same problem. IMHO, you have to recreate your cmake project.
> 
> Stephan

I did already with "make clean". Tried now to recreate everything, but same 
error.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: trunk not compilable

2011-06-06 Thread Stephan Witt
Am 06.06.2011 um 13:12 schrieb Kornel:

> I get this while linking lyx
> ...
> Linking CXX executable ../bin/lyx
> cd /usr/BUILD/BuildLyx/src && /usr/bin/cmake -E cmake_link_script 
> CMakeFiles/lyx.dir/link.txt --verbose=1   
> 
> /usr/bin/c++   -Wall -Wunused-parameter -fno-strict-aliasing  -Wall 
> -Wunused-parameter -O3 -DNDEBUG   CMakeFiles/lyx.dir/PersonalWordList.cpp.o
> ...
> CMakeFiles/lyx.dir/CursorSlice.cpp.o CMakeFiles/lyx.dir/Changes.cpp.o 
> CMakeFiles/lyx.dir/output_docbook.cpp.o CMakeFiles/lyx.dir/TextClass.cpp.o 
> CMakeFiles/lyx.dir/Format.cpp.o CMakeFiles/lyx.dir/BufferList.cpp.o 
> CMakeFiles/lyx.dir/Layout.cpp.o  -o ../bin/lyx -rdynamic ../lib/libmathed.a 
> ../lib/libinsets.a ../lib/libfrontends.a ../lib/libfrontend_qt4.a 
> ../lib/libgraphics.a ../lib/libsupport.a ../lib/libintl.a -lhunspell 
> -lenchant ../lib/libfrontends.a -lQtGui ../lib/libboost_signals.a 
> ../lib/libboost_regex.a -lQtCore -lz 
> ../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function 
> `lyx::frontend::FancyLineEditPrivate::FancyLineEditPrivate(lyx::frontend::FancyLineEdit*)':
> FancyLineEdit.cpp:(.text+0x383): undefined reference to `vtable for 
> lyx::frontend::IconButton'
> FancyLineEdit.cpp:(.text+0x38b): undefined reference to `vtable for 
> lyx::frontend::IconButton'
> FancyLineEdit.cpp:(.text+0x415): undefined reference to `vtable for 
> lyx::frontend::IconButton'
> FancyLineEdit.cpp:(.text+0x41d): undefined reference to `vtable for 
> lyx::frontend::IconButton'
> ../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function 
> `lyx::frontend::FancyLineEdit::iconClicked()':
> FancyLineEdit.cpp:(.text+0x54c): undefined reference to 
> `lyx::frontend::IconButton::staticMetaObject'
> ../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function 
> `lyx::frontend::IconButton::IconButton(QWidget*)':
> FancyLineEdit.cpp:(.text+0xd25): undefined reference to `vtable for 
> lyx::frontend::IconButton'
> FancyLineEdit.cpp:(.text+0xd2d): undefined reference to `vtable for 
> lyx::frontend::IconButton'
> collect2: ld returned 1 exit status
> ...
> 
> The qt-version is "4:4.7.2-0ubuntu6.1" if that matters. Yesterday it was 
> compilable (revision 38960).

I had the same problem. IMHO, you have to recreate your cmake project.

Stephan

trunk not compilable

2011-06-06 Thread Kornel
I get this while linking lyx
...
Linking CXX executable ../bin/lyx
cd /usr/BUILD/BuildLyx/src && /usr/bin/cmake -E cmake_link_script 
CMakeFiles/lyx.dir/link.txt --verbose=1 
  
/usr/bin/c++   -Wall -Wunused-parameter -fno-strict-aliasing  -Wall 
-Wunused-parameter -O3 -DNDEBUG   CMakeFiles/lyx.dir/PersonalWordList.cpp.o 
CMakeFiles/lyx.dir/Buffer.cpp.o 
CMakeFiles/lyx.dir/FontInfo.cpp.o CMakeFiles/lyx.dir/ParIterator.cpp.o 
CMakeFiles/lyx.dir/FontList.cpp.o CMakeFiles/lyx.dir/TextMetrics.cpp.o 
CMakeFiles/lyx.dir/HunspellChecker.cpp.o 
CMakeFiles/lyx.dir/ParagraphMetrics.cpp.o CMakeFiles/lyx.dir/TexStream.cpp.o 
CMakeFiles/lyx.dir/EnchantChecker.cpp.o CMakeFiles/lyx.dir/ServerSocket.cpp.o 
CMakeFiles/lyx.dir/main.cpp.o 
CMakeFiles/lyx.dir/CmdDef.cpp.o CMakeFiles/lyx.dir/sgml.cpp.o 
CMakeFiles/lyx.dir/KeyMap.cpp.o CMakeFiles/lyx.dir/Length.cpp.o 
CMakeFiles/lyx.dir/MetricsInfo.cpp.o CMakeFiles/lyx.dir/LyXRC.cpp.o 
CMakeFiles/lyx.dir/ErrorList.cpp.o CMakeFiles/lyx.dir/Spacing.cpp.o 
CMakeFiles/lyx.dir/HSpace.cpp.o CMakeFiles/lyx.dir/InsetIterator.cpp.o 
CMakeFiles/lyx.dir/Floating.cpp.o 
CMakeFiles/lyx.dir/lengthcommon.cpp.o CMakeFiles/lyx.dir/VSpace.cpp.o 
CMakeFiles/lyx.dir/Text.cpp.o CMakeFiles/lyx.dir/output_plaintext.cpp.o 
CMakeFiles/lyx.dir/Compare.cpp.o 
CMakeFiles/lyx.dir/DepTable.cpp.o CMakeFiles/lyx.dir/OutputParams.cpp.o 
CMakeFiles/lyx.dir/Cursor.cpp.o CMakeFiles/lyx.dir/BufferView.cpp.o 
CMakeFiles/lyx.dir/Text2.cpp.o 
CMakeFiles/lyx.dir/LyXAction.cpp.o CMakeFiles/lyx.dir/FuncRequest.cpp.o 
CMakeFiles/lyx.dir/Row.cpp.o CMakeFiles/lyx.dir/WordList.cpp.o 
CMakeFiles/lyx.dir/Author.cpp.o CMakeFiles/lyx.dir/Chktex.cpp.o 
CMakeFiles/lyx.dir/Mover.cpp.o CMakeFiles/lyx.dir/Bidi.cpp.o 
CMakeFiles/lyx.dir/Session.cpp.o CMakeFiles/lyx.dir/Server.cpp.o 
CMakeFiles/lyx.dir/TocBackend.cpp.o CMakeFiles/lyx.dir/CutAndPaste.cpp.o 
CMakeFiles/lyx.dir/BranchList.cpp.o CMakeFiles/lyx.dir/CoordCache.cpp.o 
CMakeFiles/lyx.dir/Thesaurus.cpp.o CMakeFiles/lyx.dir/Text3.cpp.o 
CMakeFiles/lyx.dir/Converter.cpp.o 
CMakeFiles/lyx.dir/ModuleList.cpp.o CMakeFiles/lyx.dir/output_xhtml.cpp.o 
CMakeFiles/lyx.dir/Counters.cpp.o CMakeFiles/lyx.dir/Lexer.cpp.o 
CMakeFiles/lyx.dir/ConverterCache.cpp.o 
CMakeFiles/lyx.dir/output.cpp.o CMakeFiles/lyx.dir/ParagraphParameters.cpp.o 
CMakeFiles/lyx.dir/Box.cpp.o CMakeFiles/lyx.dir/output_latex.cpp.o 
CMakeFiles/lyx.dir/LaTeX.cpp.o 
CMakeFiles/lyx.dir/Exporter.cpp.o CMakeFiles/lyx.dir/boost.cpp.o 
CMakeFiles/lyx.dir/Language.cpp.o CMakeFiles/lyx.dir/Bullet.cpp.o 
CMakeFiles/lyx.dir/factory.cpp.o 
CMakeFiles/lyx.dir/BufferParams.cpp.o CMakeFiles/lyx.dir/Encoding.cpp.o 
CMakeFiles/lyx.dir/version.cpp.o CMakeFiles/lyx.dir/Undo.cpp.o 
CMakeFiles/lyx.dir/rowpainter.cpp.o 
CMakeFiles/lyx.dir/LayoutModuleList.cpp.o CMakeFiles/lyx.dir/lyxfind.cpp.o 
CMakeFiles/lyx.dir/LyX.cpp.o CMakeFiles/lyx.dir/VCBackend.cpp.o 
CMakeFiles/lyx.dir/Paragraph.cpp.o 
CMakeFiles/lyx.dir/Font.cpp.o CMakeFiles/lyx.dir/Graph.cpp.o 
CMakeFiles/lyx.dir/PDFOptions.cpp.o CMakeFiles/lyx.dir/Intl.cpp.o 
CMakeFiles/lyx.dir/KeySequence.cpp.o CMakeFiles/lyx.dir/InsetList.cpp.o 
CMakeFiles/lyx.dir/Color.cpp.o CMakeFiles/lyx.dir/LyXVC.cpp.o 
CMakeFiles/lyx.dir/TexRow.cpp.o CMakeFiles/lyx.dir/BiblioInfo.cpp.o 
CMakeFiles/lyx.dir/buffer_funcs.cpp.o 
CMakeFiles/lyx.dir/FloatList.cpp.o CMakeFiles/lyx.dir/PrinterParams.cpp.o 
CMakeFiles/lyx.dir/IndicesList.cpp.o CMakeFiles/lyx.dir/LayoutFile.cpp.o 
CMakeFiles/lyx.dir/DocIterator.cpp.o 
CMakeFiles/lyx.dir/LaTeXFeatures.cpp.o CMakeFiles/lyx.dir/FuncStatus.cpp.o 
CMakeFiles/lyx.dir/Dimension.cpp.o CMakeFiles/lyx.dir/Trans.cpp.o 
CMakeFiles/lyx.dir/CursorSlice.cpp.o 
CMakeFiles/lyx.dir/Changes.cpp.o CMakeFiles/lyx.dir/output_docbook.cpp.o 
CMakeFiles/lyx.dir/TextClass.cpp.o CMakeFiles/lyx.dir/Format.cpp.o 
CMakeFiles/lyx.dir/BufferList.cpp.o 
CMakeFiles/lyx.dir/Layout.cpp.o  -o ../bin/lyx -rdynamic ../lib/libmathed.a 
../lib/libinsets.a ../lib/libfrontends.a ../lib/libfrontend_qt4.a 
../lib/libgraphics.a ../lib/libsupport.a ../lib/libintl.a 
-lhunspell -lenchant ../lib/libfrontends.a -lQtGui ../lib/libboost_signals.a 
../lib/libboost_regex.a -lQtCore -lz 
../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function 
`lyx::frontend::FancyLineEditPrivate::FancyLineEditPrivate(lyx::frontend::FancyLineEdit*)':
FancyLineEdit.cpp:(.text+0x383): undefined reference to `vtable for 
lyx::frontend::IconButton'
FancyLineEdit.cpp:(.text+0x38b): undefined reference to `vtable for 
lyx::frontend::IconButton'
FancyLineEdit.cpp:(.text+0x415): undefined reference to `vtable for 
lyx::frontend::IconButton'
FancyLineEdit.cpp:(.text+0x41d): undefined reference to `vtable for 
lyx::frontend::IconButton'
../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function 
`lyx::frontend::FancyLineEdit::iconClicked()':
FancyLineEdit.cpp:(.text+0x54c): undefined reference to 
`lyx::frontend::IconButton::staticMetaObject'
../lib/libfrontend_qt4.a

Re: trunk not compilable

2011-02-21 Thread Kornel
Am Montag, 21. Februar 2011 schrieb Enrico Forestieri:
> > make[2]: Verlasse Verzeichnis '/usr/BUILD/BuildLyx'
> > make[1]: *** [src/frontends/qt4/CMakeFiles/frontend_qt4.dir/all] Fehler 2
> > make[1]: Verlasse Verzeichnis '/usr/BUILD/BuildLyx'
> > make: *** [all] Fehler 2
> 
> Please, try again.

Compilable. Thanks.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: trunk not compilable

2011-02-21 Thread Enrico Forestieri
On Mon, Feb 21, 2011 at 04:34:20PM +0100, Kornel wrote:

> cd /usr/BUILD/BuildLyx/src/frontends/qt4 && /usr/bin/c++   -DUSE_ENCHANT=1 
> -DHAVE_GETTEXT -DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND -Wall 
> -Wunused-parameter -fno-strict-aliasing  -Wall -
> Wunused-parameter -O3 -DNDEBUG -I/usr/BUILD/BuildLyx 
> -I/usr/src/lyx/lyx-devel/src -I/usr/include/enchant 
> -I/usr/src/lyx/lyx-devel/po -I/usr/src/lyx/lyx-devel/boost -I/usr/src/lyx/lyx-
> devel/src/frontends -I/usr/src/lyx/lyx-devel/src/frontends/qt4 
> -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default 
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -
> I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant 
> -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtNetwork 
> -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtXml 
> -
> I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtUiTools 
> -I/usr/include/qt4/QtTest -I/usr/BUILD/BuildLyx/src/frontends/qt4   
> -DBOOST_USER_CONFIG="" -o 
> CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp.o
>  -c /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp
> /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp: In member function 
> ‘bool lyx::frontend::GuiErrorList::goTo(int)’:
> /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp:186: error: no 
> matching function for call to ‘max(const lyx::pos_type&, int)’
> make[2]: *** 
> [src/frontends/qt4/CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp.o]
>  Fehler 1
> make[2]: Verlasse Verzeichnis '/usr/BUILD/BuildLyx'
> make[1]: *** [src/frontends/qt4/CMakeFiles/frontend_qt4.dir/all] Fehler 2
> make[1]: Verlasse Verzeichnis '/usr/BUILD/BuildLyx'
> make: *** [all] Fehler 2

Please, try again.

-- 
Enrico


trunk not compilable

2011-02-21 Thread Kornel
cd /usr/BUILD/BuildLyx/src/frontends/qt4 && /usr/bin/c++   -DUSE_ENCHANT=1 
-DHAVE_GETTEXT -DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND -Wall 
-Wunused-parameter -fno-strict-aliasing  -Wall -
Wunused-parameter -O3 -DNDEBUG -I/usr/BUILD/BuildLyx 
-I/usr/src/lyx/lyx-devel/src -I/usr/include/enchant -I/usr/src/lyx/lyx-devel/po 
-I/usr/src/lyx/lyx-devel/boost -I/usr/src/lyx/lyx-
devel/src/frontends -I/usr/src/lyx/lyx-devel/src/frontends/qt4 
-I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -
I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtNetwork 
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtXml -
I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/BUILD/BuildLyx/src/frontends/qt4   -DBOOST_USER_CONFIG="" -o 
CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp.o
 -c /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp: In member function 
‘bool lyx::frontend::GuiErrorList::goTo(int)’:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp:186: error: no 
matching function for call to ‘max(const lyx::pos_type&, int)’
make[2]: *** 
[src/frontends/qt4/CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiErrorList.cpp.o]
 Fehler 1
make[2]: Verlasse Verzeichnis '/usr/BUILD/BuildLyx'
make[1]: *** [src/frontends/qt4/CMakeFiles/frontend_qt4.dir/all] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/BUILD/BuildLyx'
make: *** [all] Fehler 2

Kornel


signature.asc
Description: This is a digitally signed message part.


InsetMathSpecialChar.cpp(trunk) not compilable

2010-10-31 Thread Kornel Benko
Hi,
this is the error-log
...
cd /usr/BUILD/BuildLyx/src/mathed && /usr/bin/c++   -DUSE_ENCHANT=1 
-DHAVE_GETTEXT -Wall -Wunused-parameter -fno-strict-aliasing  -Wall 
-Wunused-parameter -O3 -DNDEBUG -I/usr/BUILD/BuildLyx -
I/usr/src/lyx/lyx-devel/src -I/usr/include/enchant -I/usr/src/lyx/lyx-devel/po 
-I/usr/src/lyx/lyx-devel/boost -I/usr/src/lyx/lyx-devel/src/mathed   
-DBOOST_USER_CONFIG="" -o 
CMakeFiles/mathed.dir/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp.o
 -c /usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp
In file included from 
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp:13:
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.h:63: error: field 
‘name_’ has incomplete type
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.h: In member function 
‘virtual lyx::docstring lyx::InsetMathSpecialChar::name() const’:
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.h:54: error: return type 
‘struct lyx::docstring’ is incomplete
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.h:54: error: ‘name_’ was 
not declared in this scope
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp: In constructor 
‘lyx::InsetMathSpecialChar::InsetMathSpecialChar(const lyx::docstring&)’:
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp:33: error: class 
‘lyx::InsetMathSpecialChar’ does not have any field named ‘name_’
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp: In member function 
‘virtual void lyx::InsetMathSpecialChar::write(lyx::WriteStream&) const’:
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp:111: error: ‘name_’ 
was not declared in this scope
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp: In member function 
‘virtual void lyx::InsetMathSpecialChar::validate(lyx::LaTeXFeatures&) const’:
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp:119: error: ‘name_’ 
was not declared in this scope
make[2]: *** 
[src/mathed/CMakeFiles/mathed.dir/usr/src/lyx/lyx-devel/src/mathed/InsetMathSpecialChar.cpp.o]
 Fehler 1
...
Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Missing files in trunk? Not compilable here with cmake

2010-08-06 Thread Richard Heck

On 08/06/2010 04:02 AM, Kornel Benko wrote:

...
cd /Creatable/BUILD/BuildLyx/src/frontends/qt4&&  /usr/bin/c++   -DHAVE_GETTEXT 
-DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND -Wall -fno-strict-aliasing  -Wall -O3 
-DNDEBUG -I/Creatable/BUILD/BuildLyx -I/usr/src/lyx/lyx-devel/src 
-I/usr/include/Aiksaurus -I/usr/src/lyx/lyx-devel/po 
-I/usr/src/lyx/lyx-devel/src/frontends -I/usr/src/lyx/lyx-devel/src/frontends/qt4 
-I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/QtCore 
-I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtAssistant 
-I/usr/include/QtDesigner -I/usr/include/QtNetwork -I/usr/include/QtOpenGL 
-I/usr/include/QtSql -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtUiTools 
-I/usr/include/QtTest -I/Creatable/BUILD/BuildLyx/src/frontends/qt4   -o 
CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp.o 
-c /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp
In file included from 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp:14:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:30:30: error: 
ui_LocalLayoutUi.h: Datei oder Verzeichnis nicht gefunden
In file included from 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp:14:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:276: error: 
‘LocalLayoutUi’ is not a member of ‘Ui’
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:276: error: 
‘LocalLayoutUi’ is not a member of ‘Ui’
...

Could not find anything like *LocalLayou* in trunk



Sorry. Forgot "svn add".

rh



Re: Missing files in trunk? Not compilable here with cmake

2010-08-06 Thread Richard Heck

On 08/06/2010 04:02 AM, Kornel Benko wrote:

...
cd /Creatable/BUILD/BuildLyx/src/frontends/qt4&&  /usr/bin/c++   -DHAVE_GETTEXT 
-DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND -Wall -fno-strict-aliasing  -Wall -O3 
-DNDEBUG -I/Creatable/BUILD/BuildLyx -I/usr/src/lyx/lyx-devel/src 
-I/usr/include/Aiksaurus -I/usr/src/lyx/lyx-devel/po 
-I/usr/src/lyx/lyx-devel/src/frontends -I/usr/src/lyx/lyx-devel/src/frontends/qt4 
-I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/QtCore 
-I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtAssistant 
-I/usr/include/QtDesigner -I/usr/include/QtNetwork -I/usr/include/QtOpenGL 
-I/usr/include/QtSql -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtUiTools 
-I/usr/include/QtTest -I/Creatable/BUILD/BuildLyx/src/frontends/qt4   -o 
CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp.o 
-c /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp
In file included from 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp:14:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:30:30: error: 
ui_LocalLayoutUi.h: Datei oder Verzeichnis nicht gefunden
In file included from 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp:14:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:276: error: 
‘LocalLayoutUi’ is not a member of ‘Ui’
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:276: error: 
‘LocalLayoutUi’ is not a member of ‘Ui’
...

Could not find anything like *LocalLayou* in trunk

   

Sorry. Forgot "svn add".

rh



Re: Missing files in trunk? Not compilable here with cmake

2010-08-06 Thread Helge Hafting

On 06. aug. 2010 10:02, Kornel Benko wrote:

...
cd /Creatable/BUILD/BuildLyx/src/frontends/qt4&&  /usr/bin/c++   -DHAVE_GETTEXT 
-DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND -Wall -fno-strict-aliasing  -Wall -O3 
-DNDEBUG -I/Creatable/BUILD/BuildLyx -I/usr/src/lyx/lyx-devel/src 
-I/usr/include/Aiksaurus -I/usr/src/lyx/lyx-devel/po 
-I/usr/src/lyx/lyx-devel/src/frontends -I/usr/src/lyx/lyx-devel/src/frontends/qt4 
-I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/QtCore 
-I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtAssistant 
-I/usr/include/QtDesigner -I/usr/include/QtNetwork -I/usr/include/QtOpenGL 
-I/usr/include/QtSql -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtUiTools 
-I/usr/include/QtTest -I/Creatable/BUILD/BuildLyx/src/frontends/qt4   -o 
CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp.o 
-c /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp
In file included from 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp:14:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:30:30: error: 
ui_LocalLayoutUi.h: Datei oder Verzeichnis nicht gefunden
In file included from 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp:14:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:276: error: 
‘LocalLayoutUi’ is not a member of ‘Ui’
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:276: error: 
‘LocalLayoutUi’ is not a member of ‘Ui’
...

Could not find anything like *LocalLayou* in trunk

Kornel


Tried to compile today, and saw something similiar:


make[5]: Entering directory `/usr/src/lyx-build4/src/frontends/qt4'
make[5]: *** No rule to make target `ui_LocalLayoutUi.h', needed by 
`all'.  Stop.

make[5]: Leaving directory `/usr/src/lyx-build4/src/frontends/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/lyx-build4/src/frontends'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/lyx-build4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/lyx-build4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lyx-build4'
make: *** [all] Error 2

Helge Hafting


Missing files in trunk? Not compilable here with cmake

2010-08-06 Thread Kornel Benko
...
cd /Creatable/BUILD/BuildLyx/src/frontends/qt4 && /usr/bin/c++   -DHAVE_GETTEXT 
-DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND -Wall -fno-strict-aliasing  -Wall -O3 
-DNDEBUG -I/Creatable/BUILD/BuildLyx -I/usr/src/lyx/lyx-devel/src 
-I/usr/include/Aiksaurus -I/usr/src/lyx/lyx-devel/po 
-I/usr/src/lyx/lyx-devel/src/frontends 
-I/usr/src/lyx/lyx-devel/src/frontends/qt4 -I/usr/include/Qt 
-I/usr/share/qt4/mkspecs/default -I/usr/include/QtCore -I/usr/include/QtGui 
-I/usr/include/Qt3Support -I/usr/include/QtAssistant -I/usr/include/QtDesigner 
-I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtSql 
-I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtUiTools 
-I/usr/include/QtTest -I/Creatable/BUILD/BuildLyx/src/frontends/qt4   -o 
CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp.o
 -c /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp
  
In file included from 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp:14:

 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:30:30: error: 
ui_LocalLayoutUi.h: Datei oder Verzeichnis nicht gefunden
In file included from 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.cpp:14:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:276: error: 
‘LocalLayoutUi’ is not a member of ‘Ui’
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiDocument.h:276: error: 
‘LocalLayoutUi’ is not a member of ‘Ui’
...

Could not find anything like *LocalLayou* in trunk

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Trunk not compilable

2009-10-06 Thread Abdelrazak Younes

Kornel Benko wrote:

Am Monday 05 October 2009 schrieb Abdelrazak Younes:
  

Kornel,

You got this very same compile error and the fix is very easy, just add 
an #include , I am saying that in case this happens again. But 
I'll fix it shortly of course.


Abdel.



I am aware of "the fix is very easy". But it is not weekend, I am at work, and 
simply compile.
Nonetheless it should be fixed, therefore I posted it here.

Really shouldn't I?
  


Sure, but if you know the answer maybe you could put it in your mail 
next time so that, if I am not available, someone else could commit the 
easy fix promptly?


Abdel.



Re: Trunk not compilable

2009-10-05 Thread Kornel Benko
Am Monday 05 October 2009 schrieb Abdelrazak Younes:
> Kornel,
> 
> You got this very same compile error and the fix is very easy, just add 
> an #include , I am saying that in case this happens again. But 
> I'll fix it shortly of course.
> 
> Abdel.

I am aware of "the fix is very easy". But it is not weekend, I am at work, and 
simply compile.
Nonetheless it should be fixed, therefore I posted it here.

Really shouldn't I?

Kornel




signature.asc
Description: This is a digitally signed message part.


Re: Trunk not compilable

2009-10-05 Thread Abdelrazak Younes

Kornel,

You got this very same compile error and the fix is very easy, just add 
an #include , I am saying that in case this happens again. But 
I'll fix it shortly of course.


Abdel.

Kornel Benko wrote:

This is on OpenSuSE 10.3

...
cd /usr/BUILD/BuildLyx/src/frontends/qt4 && /usr/local/bin/c++   -DQT_NO_STL 
-DQT_NO_KEYWORDS -DHAVE_GETTEXT -DENABLE_NLS=1 -DUSE_ASPELL=1 -DHAVE_ICONV=1 
-DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND -Wall -Wall -O3 -DNDEBUG 
-I/usr/src/lyx/lyx-devel/po -I/usr/BUILD/BuildLyx -I/usr/src/lyx/lyx-devel/src 
-I/usr/src/lyx/lyx-devel/src/frontends -I/usr/src/lyx/lyx-devel/src/frontends/qt4 
-I/usr/include/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/QtCore 
-I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtAssistant 
-I/usr/include/QtDesigner -I/usr/include/QtNetwork -I/usr/include/QtOpenGL 
-I/usr/include/QtSql -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtUiTools 
-I/usr/include/QtTest -I/usr/BUILD/BuildLyx/src/frontends/qt4   -o 
CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.o -c 
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.cpp
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.cpp: In member function 
‘virtual void lyx::frontend::GuiApplication::dispatch(const lyx::FuncRequest&, 
lyx::DispatchResult&)’:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.cpp:1068: error: 
variable ‘std::istringstream ss’ has initializer but incomplete type
make[2]: *** 
[src/frontends/qt4/CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.o]
 Error 1
make[2]: Leaving directory `/usr/BUILD/BuildLyx'
make[1]: *** [src/frontends/qt4/CMakeFiles/frontend_qt4.dir/all] Error 2
make[1]: Leaving directory `/usr/BUILD/BuildLyx'
make: *** [all] Error 2

Kornel
  





Trunk not compilable

2009-10-05 Thread Kornel Benko
This is on OpenSuSE 10.3

...
cd /usr/BUILD/BuildLyx/src/frontends/qt4 && /usr/local/bin/c++   -DQT_NO_STL 
-DQT_NO_KEYWORDS -DHAVE_GETTEXT -DENABLE_NLS=1 -DUSE_ASPELL=1 -DHAVE_ICONV=1 
-DQT_GENUINE_STR -DLYX_BUILD_QT4_FRONTEND -Wall -Wall -O3 -DNDEBUG 
-I/usr/src/lyx/lyx-devel/po -I/usr/BUILD/BuildLyx -I/usr/src/lyx/lyx-devel/src 
-I/usr/src/lyx/lyx-devel/src/frontends 
-I/usr/src/lyx/lyx-devel/src/frontends/qt4 -I/usr/include/Qt 
-I/usr/share/qt4/mkspecs/default -I/usr/include/QtCore -I/usr/include/QtGui 
-I/usr/include/Qt3Support -I/usr/include/QtAssistant -I/usr/include/QtDesigner 
-I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtSql 
-I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtUiTools 
-I/usr/include/QtTest -I/usr/BUILD/BuildLyx/src/frontends/qt4   -o 
CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.o
 -c /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.cpp
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.cpp: In member function 
‘virtual void lyx::frontend::GuiApplication::dispatch(const lyx::FuncRequest&, 
lyx::DispatchResult&)’:
/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.cpp:1068: error: 
variable ‘std::istringstream ss’ has initializer but incomplete type
make[2]: *** 
[src/frontends/qt4/CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/frontends/qt4/GuiApplication.o]
 Error 1
make[2]: Leaving directory `/usr/BUILD/BuildLyx'
make[1]: *** [src/frontends/qt4/CMakeFiles/frontend_qt4.dir/all] Error 2
make[1]: Leaving directory `/usr/BUILD/BuildLyx'
make: *** [all] Error 2

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: trunk not compilable after boost update

2008-09-30 Thread Peter Kümmel

Uwe Stöhr wrote:

Uwe Stöhr schrieb:

 > D:\LyXSVN\lyx-devel\src\boost.cpp(31) : error C2039: 
'diagnostic_information' :

 > is not a member of 'std::exception'
 > C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\include\exception(95) : see

 > declaration of 'std::exception'
 > scons: *** [release\src\boost.obj] Error 2


I fixed this now by reverting the change from
http://www.lyx.org/trac/changeset/26478

regards Uwe



Thanks, whay better not to use the boost exception.

--
Peter Kümmel


Re: trunk not compilable after boost update

2008-09-30 Thread Uwe Stöhr

Uwe Stöhr schrieb:

 > D:\LyXSVN\lyx-devel\src\boost.cpp(31) : error C2039: 
'diagnostic_information' :

 > is not a member of 'std::exception'
 > C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\include\exception(95) : see

 > declaration of 'std::exception'
 > scons: *** [release\src\boost.obj] Error 2


I fixed this now by reverting the change from
http://www.lyx.org/trac/changeset/26478

regards Uwe


trunk not compilable after boost update

2008-09-30 Thread Uwe Stöhr

> D:\LyXSVN\lyx-devel\src\boost.cpp(31) : error C2039: 'diagnostic_information' 
:
> is not a member of 'std::exception'
> C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\include\exception(95) : see
> declaration of 'std::exception'
> scons: *** [release\src\boost.obj] Error 2

Uwe


Re: trunk not compilable

2008-02-28 Thread Abdelrazak Younes

Leuven, E. wrote:

Abdel wrote
 > Pavel Sanda wrote:
 >> 5. painting problems of outliner when smaller window is set. see 
attached.

 >
 > Confirmed. Edwin, could you help here please?

the attached gets rid of the floating buttons, but somehow the minimum 
sizehint of the dockwidget seems to get lost.


Thanks, please commit.

Abdel.



RE: Re: trunk not compilable

2008-02-28 Thread Leuven, E.
Abdel wrote
> Pavel Sanda wrote:
>> 5. painting problems of outliner when smaller window is set. see attached.
>
> Confirmed. Edwin, could you help here please?

the attached gets rid of the floating buttons, but somehow the minimum sizehint 
of the dockwidget seems to get lost. 

i don't have time to dig into this more unfortunately...


Index: src/frontends/qt4/GuiToc.cpp
===
--- src/frontends/qt4/GuiToc.cpp	(revision 23310)
+++ src/frontends/qt4/GuiToc.cpp	(working copy)
@@ -43,7 +43,7 @@
 GuiToc::GuiToc(GuiView & parent, Qt::DockWidgetArea area, Qt::WindowFlags flags)
 	: DockView(parent, "toc", qt_("Outline"), area, flags)
 {
-	widget_ = new TocWidget(*this);
+	widget_ = new TocWidget(*this, &parent);
 	setWidget(widget_);
 }
 


Re: trunk not compilable

2008-02-27 Thread Pavel Sanda
>> 2. slider depth cant be set and manual unroll is canceled by updates
>>(this maybe tricky to get right wrt 3740 bug. i played some time with 
>> this
>>bug and didnt find quick solution.)
>
> I think the we should disable the slider for non toc list.

this doesnt solve the problem with collapsing manually uncollapsed structure
every ten seconds of usage though.
pavel


Re: trunk not compilable

2008-02-27 Thread Abdelrazak Younes

Pavel Sanda wrote:


for the time beeing i managed with another file and these things are strange:
1. opening outliner ToC should be set as the implicit imho


Agreed. Next hacking session.



wrt references:
2. slider depth cant be set and manual unroll is canceled by updates
   (this maybe tricky to get right wrt 3740 bug. i played some time with this
   bug and didnt find quick solution.)


I think the we should disable the slider for non toc list.


3. maybe click on the label in reference window should also change the view
   to the label, not to the first occurence of referenced object?


Yes, it will soon be like this, I still have to finish the InsetLabel part.


4. dont know if its intention or bug, but the view is set to the paragraph 
containing
   reference not to the line of reference.


Problem is that we use a ParIterator in TocItem, will see if we can 
replace that with a DocIterator but I don't promise anything.



5. painting problems of outliner when smaller window is set. see attached.


Confirmed. Edwin, could you help here please?

Abdel.



Re: trunk not compilable

2008-02-27 Thread Pavel Sanda
 on loading the user guide:
>>> Better now?
>> no, user guide still crashes.
>
> Yeah I am doubly stupid... will fix, sorry.

ye. 
i have discovered few reference bugs in my paper looking in the the outliner 
just now :)
p


Re: trunk not compilable

2008-02-27 Thread Abdelrazak Younes

Pavel Sanda wrote:

Leuven, E. wrote:

on loading the user guide:

Better now?


no, user guide still crashes.


Yeah I am doubly stupid... will fix, sorry.

Abdel.



Re: trunk not compilable

2008-02-27 Thread Pavel Sanda
> Leuven, E. wrote:
>> on loading the user guide:
>
> Better now?

no, user guide still crashes.
pavel


Re: trunk not compilable

2008-02-27 Thread Abdelrazak Younes

Leuven, E. wrote:

on loading the user guide:


Better now?

Abdel.



Re: trunk not compilable

2008-02-27 Thread Abdelrazak Younes

Leuven, E. wrote:

on loading the user guide:

msvcp90d.dll!104ec1b3() 
[Frames below may be incorrect and/or missing, no symbols loaded for 
msvcp90d.dll]  


lyx.exe!std::_Vector_const_iterator 
>::operator*()  Line 98 + 0x14 bytes  C++

lyx.exe!std::_Vector_iterator 
>::operator*()  Line 340C++
lyx.exe!std::_Vector_iterator 
>::operator->()  Line 345C++
lyx.exe!lyx::InsetRef::addToToc(const lyx::Buffer & buf={...}, const 
lyx::ParConstIterator & cpit={...})  Line 182 + 0xc bytes  C++


OK, I see. Stupid me...

Thanks,
Abdel.



Re: trunk not compilable

2008-02-27 Thread Pavel Sanda
> Pavel Sanda wrote:
>> Should be OK now.
> it is
> pavel
 So, like my new toy?
>>> really dont know :) 
>>> file->open->my file
>>>
>>> lyx: SIGSEGV signal caught
>>> Sorry, you have found a bug in LyX. Please read the bug-reporting 
>>> instructions in Help->Introduction and send us a bug report, if 
>>> necessary. Thanks !
>>> Bye.
>>> Aborted
>>>
>>> will report later
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x083bc135 in lyx::InsetRef::addToToc ()
>> (gdb) bt
>> #0  0x083bc135 in lyx::InsetRef::addToToc ()
>
> I need more info.
>
>> #1  0x0816cbb8 in lyx::TocBackend::update ()
>> #2  0x081d5c10 in lyx::updateLabels ()
> ...
>> (sorry i dont have debug symbols set atm)
>
> So will wait until then.

sorry will take some time...


for the time beeing i managed with another file and these things are strange:
1. opening outliner ToC should be set as the implicit imho

wrt references:
2. slider depth cant be set and manual unroll is canceled by updates
   (this maybe tricky to get right wrt 3740 bug. i played some time with this
   bug and didnt find quick solution.)
3. maybe click on the label in reference window should also change the view
   to the label, not to the first occurence of referenced object?
4. dont know if its intention or bug, but the view is set to the paragraph 
containing
   reference not to the line of reference.
5. painting problems of outliner when smaller window is set. see attached.

sorry for such a long list Abdel :) the refererences stuff will be useful.
pavel
<>

RE: Re: trunk not compilable

2008-02-27 Thread Leuven, E.
on loading the user guide:

msvcp90d.dll!104ec1b3() 
[Frames below may be incorrect and/or missing, no symbols loaded for 
msvcp90d.dll]  
>   
> lyx.exe!std::_Vector_const_iterator 
> >::operator*()  Line 98 + 0x14 bytes  C++
lyx.exe!std::_Vector_iterator 
>::operator*()  Line 340C++
lyx.exe!std::_Vector_iterator 
>::operator->()  Line 345   C++
lyx.exe!lyx::InsetRef::addToToc(const lyx::Buffer & buf={...}, const 
lyx::ParConstIterator & cpit={...})  Line 182 + 0xc bytes  C++
lyx.exe!lyx::TocBackend::update()  Line 165 + 0x23 bytesC++
lyx.exe!lyx::updateLabels(const lyx::Buffer & buf={...}, bool 
childonly=false)  Line 514C++
lyx.exe!lyx::frontend::GuiView::setBuffer(lyx::Buffer * 
newBuffer=0x02e47960)  Line 838 + 0x10 bytesC++
lyx.exe!lyx::frontend::GuiView::loadDocument(const 
lyx::support::FileName & filename={...}, bool tolastfiles=false)  Line 1108 + 
0x13 bytes C++
lyx.exe!lyx::LyXFunc::dispatch(const lyx::FuncRequest & cmd={...})  
Line 1073 + 0x1c bytes  C++
lyx.exe!lyx::dispatch(const lyx::FuncRequest & action={...})  Line 1344 
C++
lyx.exe!lyx::frontend::Action::action()  Line 66 + 0xc bytesC++
lyx.exe!lyx::frontend::Action::qt_metacall(QMetaObject::Call 
_c=InvokeMetaMethod, int _id=1, void * * _a=0x01b7bb98)  Line 71   C++


Re: trunk not compilable

2008-02-27 Thread Abdelrazak Younes

Pavel Sanda wrote:

Should be OK now.

it is
pavel

So, like my new toy?
really dont know :) 


file->open->my file

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in 
Help->Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted

will report later


Program received signal SIGSEGV, Segmentation fault.
0x083bc135 in lyx::InsetRef::addToToc ()
(gdb) bt
#0  0x083bc135 in lyx::InsetRef::addToToc ()


I need more info.


#1  0x0816cbb8 in lyx::TocBackend::update ()
#2  0x081d5c10 in lyx::updateLabels ()

...


(sorry i dont have debug symbols set atm)


So will wait until then.

Abdel.



Re: trunk not compilable

2008-02-27 Thread Pavel Sanda
> >>> Should be OK now.
> >> it is
> >> pavel
> >
> > So, like my new toy?
> 
> really dont know :) 
> 
> file->open->my file
> 
> lyx: SIGSEGV signal caught
> Sorry, you have found a bug in LyX. Please read the bug-reporting 
> instructions in Help->Introduction and send us a bug report, if necessary. 
> Thanks !
> Bye.
> Aborted
> 
> will report later

Program received signal SIGSEGV, Segmentation fault.
0x083bc135 in lyx::InsetRef::addToToc ()
(gdb) bt
#0  0x083bc135 in lyx::InsetRef::addToToc ()
#1  0x0816cbb8 in lyx::TocBackend::update ()
#2  0x081d5c10 in lyx::updateLabels ()
#3  0x0842bad8 in lyx::frontend::GuiView::setBuffer ()
#4  0x0842be82 in lyx::frontend::GuiView::loadDocument ()
#5  0x084376a1 in lyx::frontend::GuiView::openDocument ()
#6  0x0843c5dc in lyx::frontend::GuiView::dispatch ()
#7  0x080df7d6 in lyx::LyXFunc::dispatch ()
#8  0x080b7c74 in lyx::dispatch ()
#9  0x084601fb in lyx::frontend::Action::action ()
#10 0x08460277 in lyx::frontend::Action::qt_metacall ()
#11 0xb757f592 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#12 0xb757f902 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#13 0xb7753683 in QAction::triggered () from /usr/lib/qt4/libQtGui.so.4
#14 0xb7753f7d in QAction::activate () from /usr/lib/qt4/libQtGui.so.4
#15 0xb7ad94a4 in ?? () from /usr/lib/qt4/libQtGui.so.4
#16 0xb7adb716 in QMenu::mouseReleaseEvent () from /usr/lib/qt4/libQtGui.so.4
#17 0xb77a5f0f in QWidget::event () from /usr/lib/qt4/libQtGui.so.4
#18 0xb7ad73f2 in QMenu::event () from /usr/lib/qt4/libQtGui.so.4
#19 0xb775a19f in QApplicationPrivate::notify_helper () from 
/usr/lib/qt4/libQtGui.so.4
#20 0xb775c83e in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
#21 0x0840ccb4 in lyx::frontend::GuiApplication::notify ()
#22 0xb756d3cb in QCoreApplication::notifyInternal () from 
/usr/lib/qt4/libQtCore.so.4
#23 0xb77b85f1 in ?? () from /usr/lib/qt4/libQtGui.so.4
#24 0xb77b67ef in QApplication::x11ProcessEvent () from 
/usr/lib/qt4/libQtGui.so.4
#25 0xb77da973 in ?? () from /usr/lib/qt4/libQtGui.so.4
---Type  to continue, or q  to quit---
#26 0xb756c901 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
#27 0xb756ca0a in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
#28 0xb756eba6 in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
#29 0xb7759777 in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4
#30 0x0840baa2 in lyx::frontend::GuiApplication::exec ()
#31 0x080c49de in lyx::LyX::exec ()
#32 0x0806e147 in main ()

(sorry i dont have debug symbols set atm)
pavel


Re: trunk not compilable

2008-02-27 Thread Pavel Sanda
>>> Should be OK now.
>> it is
>> pavel
>
> So, like my new toy?

really dont know :) 

file->open->my file

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions 
in Help->Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted

will report later
pavel


Re: trunk not compilable

2008-02-27 Thread Abdelrazak Younes

Pavel Sanda wrote:

Should be OK now.


it is
pavel


So, like my new toy?

Abdel.



Re: trunk not compilable

2008-02-27 Thread Pavel Sanda
> Should be OK now.

it is
pavel


Re: trunk not compilable

2008-02-27 Thread Abdelrazak Younes

Abdelrazak Younes wrote:
Looks like vector::insert() doesn't like a const_iterator with gcc, I'll 
fix that.


Should be OK now.

Abdel.



Re: trunk not compilable

2008-02-27 Thread Abdelrazak Younes
Looks like vector::insert() doesn't like a const_iterator with gcc, I'll 
fix that.



Pavel Sanda wrote:

make[3]: Entering directory `/mnt/teral/lyx/devel/src'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   
-I../src -I../boost -Wextra -Wall -O -MT InsetRef.lo -MD -MP -MF 
.deps/InsetRef.Tpo -c -o InsetRef.lo `test -f 'insets/InsetRef.cpp' || echo 
'./'`insets/InsetRef.cpp
 g++ -DHAVE_CONFIG_H -I. -I../src -I../boost -Wextra -Wall -O -MT InsetRef.lo 
-MD -MP -MF .deps/InsetRef.Tpo -c insets/InsetRef.cpp -o InsetRef.o
 insets/InsetRef.cpp: In member function 'virtual void lyx::InsetRef::addToToc(const 
lyx::Buffer&, const lyx::ParConstIterator&) const':
 insets/InsetRef.cpp:168: error: no matching function for call to 'std::vector >::insert(__gnu_cxx::__normal_iterator > >&, lyx::TocItem)'
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/vector.tcc:93: note: candidates are: typename 
std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, 
_Alloc>::insert(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = lyx::TocItem, 
_Alloc = std::allocator]
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h:657: note: void 
std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&) [with _Tp = 
lyx::TocItem, _Alloc = std::allocator]
 make[3]: *** [InsetRef.lo] Error 1

p





trunk not compilable

2008-02-27 Thread Pavel Sanda
make[3]: Entering directory `/mnt/teral/lyx/devel/src'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   
-I../src -I../boost -Wextra -Wall -O -MT InsetRef.lo -MD -MP -MF 
.deps/InsetRef.Tpo -c -o InsetRef.lo `test -f 'insets/InsetRef.cpp' || echo 
'./'`insets/InsetRef.cpp
 g++ -DHAVE_CONFIG_H -I. -I../src -I../boost -Wextra -Wall -O -MT InsetRef.lo 
-MD -MP -MF .deps/InsetRef.Tpo -c insets/InsetRef.cpp -o InsetRef.o
 insets/InsetRef.cpp: In member function 'virtual void 
lyx::InsetRef::addToToc(const lyx::Buffer&, const lyx::ParConstIterator&) 
const':
 insets/InsetRef.cpp:168: error: no matching function for call to 
'std::vector 
>::insert(__gnu_cxx::__normal_iterator > >&, lyx::TocItem)'
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/vector.tcc:93: note: 
candidates are: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, 
_Alloc>::insert(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with 
_Tp = lyx::TocItem, _Alloc = std::allocator]
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h:657: 
note: void std::vector<_Tp, 
_Alloc>::insert(__gnu_cxx::__normal_iterator::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, size_t, const 
_Tp&) [with _Tp = lyx::TocItem, _Alloc = std::allocator]
 make[3]: *** [InsetRef.lo] Error 1

p


Re: Trunk not compilable on suse-linux, missing include

2008-02-18 Thread Abdelrazak Younes

Kornel Benko wrote:

Hi, newest trunk

Attached helps.


Committed, thanks.

Abdel.



Trunk not compilable on suse-linux, missing include

2008-02-18 Thread Kornel Benko
Hi, newest trunk


/usr/src/lyx/lyx-devel/src/frontends/qt4/CustomizedWidgets.cpp: In member 
function ‘virtual void 
lyx::frontend::ShortcutLineEdit::keyPressEvent(QKeyEvent*)’:
/usr/src/lyx/lyx-devel/src/frontends/qt4/CustomizedWidgets.cpp:82: error: 
invalid use of incomplete type ‘struct QKeyEvent’
/usr/include/QtGui/qwidget.h:73: error: forward declaration of ‘struct 
QKeyEvent’
/usr/src/lyx/lyx-devel/src/frontends/qt4/CustomizedWidgets.cpp: In member 
function ‘virtual bool lyx::frontend::ShortcutLineEdit::event(QEvent*)’:
/usr/src/lyx/lyx-devel/src/frontends/qt4/CustomizedWidgets.cpp:110: error: 
invalid static_cast from type ‘QEvent*’ to type ‘QKeyEvent*’
...

Attached helps.

Kornel
-- 
Kornel Benko
[EMAIL PROTECTED]
Index: src/frontends/qt4/CustomizedWidgets.cpp
===
--- src/frontends/qt4/CustomizedWidgets.cpp	(Revision 23050)
+++ src/frontends/qt4/CustomizedWidgets.cpp	(Arbeitskopie)
@@ -23,6 +23,7 @@
 
 #include "CustomizedWidgets.h"
 #include "FuncRequest.h"
+#include 
 #include "GuiKeySymbol.h"
 
 #include 


signature.asc
Description: This is a digitally signed message part.


Re: Trunk not compilable

2007-11-30 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

> Kornel Benko <[EMAIL PROTECTED]> writes:
>
>> With the latest update I have now
>
> A different version here :)

It works now. thanks.

JMarc


Re: Trunk not compilable

2007-11-30 Thread Kornel Benko
Am Donnerstag, 29. November 2007 schrieb Kornel Benko:
> Am Donnerstag, 29. November 2007 schrieb Jean-Marc Lasgouttes:
> > Kornel Benko <[EMAIL PROTECTED]> writes:
> > 
> > > With the latest update I have now
> > 
> > A different version here :)
> 
> My version is solved with attached
> 

André, you were right. With "#include " it compiles on OpenSuSE too.

Kornel

-- 
Kornel Benko
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part.


Re: Trunk not compilable

2007-11-29 Thread Kornel Benko
Am Donnerstag 29 November 2007 schrieb Andre Poenitz:
> I fail to see why  would be needed. Doesn't  work?

Don't know, how to check now. Here (on ubuntu) it is simply compilable.
Will check later (at work) with opensuse 10.3.

Kornel

-- 
Kornel Benko
[EMAIL PROTECTED]


pgpim1U5y9QIC.pgp
Description: PGP signature


Re: Trunk not compilable

2007-11-29 Thread Andre Poenitz
On Thu, Nov 29, 2007 at 04:50:30PM +0100, Kornel Benko wrote:
> Am Donnerstag, 29. November 2007 schrieb Kornel Benko:
> > Am Donnerstag, 29. November 2007 schrieb Jean-Marc Lasgouttes:
> > > Kornel Benko <[EMAIL PROTECTED]> writes:
> > > 
> > > > With the latest update I have now
> > > 
> > > A different version here :)
> > 
> > My version is solved with attached
> > 
> 
> Same include was needed also by "src/TocBackend.cpp"
> 
> 
>   Kornel
> -- 
> Kornel Benko
> [EMAIL PROTECTED]

> Index: src/TocBackend.cpp
> ===
> --- src/TocBackend.cpp(Revision 21859)
> +++ src/TocBackend.cpp(Arbeitskopie)
> @@ -12,6 +12,7 @@
>  
>  #include 
>  
> +#include 
>  #include "TocBackend.h"
>  
>  #include "Buffer.h"

I fail to see why  would be needed. Doesn't  work?

Andre'



Re: Trunk not compilable

2007-11-29 Thread Andre Poenitz
On Thu, Nov 29, 2007 at 03:58:14PM +0100, Kornel Benko wrote:
> Am Donnerstag, 29. November 2007 schrieb Jean-Marc Lasgouttes:
> > Kornel Benko <[EMAIL PROTECTED]> writes:
> > 
> > > With the latest update I have now
> > 
> > A different version here :)
> 
> My version is solved with attached
> 
> -- 
> Kornel Benko
> [EMAIL PROTECTED]

> Index: src/mathed/InsetMathSymbol.cpp
> ===
> --- src/mathed/InsetMathSymbol.cpp(Revision 21859)
> +++ src/mathed/InsetMathSymbol.cpp(Arbeitskopie)
> @@ -12,7 +12,7 @@
>  
>  #include "InsetMathSymbol.h"
>  #include "Dimension.h"
> -#include "MathStream.h"
> +#include 
>  #include "MathStream.h"
>  #include "MathSupport.h"
>  #include "MathParser.h"

InsetMathSymbol.cpp does not use stringstreams as far as I can tell,
so a "#include " probably would do as well.

Andre'


Re: Trunk not compilable

2007-11-29 Thread Kornel Benko
Am Donnerstag, 29. November 2007 schrieb Kornel Benko:
> Am Donnerstag, 29. November 2007 schrieb Jean-Marc Lasgouttes:
> > Kornel Benko <[EMAIL PROTECTED]> writes:
> > 
> > > With the latest update I have now
> > 
> > A different version here :)
> 
> My version is solved with attached
> 

Same include was needed also by "src/TocBackend.cpp"


Kornel
-- 
Kornel Benko
[EMAIL PROTECTED]
Index: src/TocBackend.cpp
===
--- src/TocBackend.cpp	(Revision 21859)
+++ src/TocBackend.cpp	(Arbeitskopie)
@@ -12,6 +12,7 @@
 
 #include 
 
+#include 
 #include "TocBackend.h"
 
 #include "Buffer.h"


signature.asc
Description: This is a digitally signed message part.


Re: Trunk not compilable

2007-11-29 Thread Kornel Benko
Am Donnerstag, 29. November 2007 schrieb Jean-Marc Lasgouttes:
> Kornel Benko <[EMAIL PROTECTED]> writes:
> 
> > With the latest update I have now
> 
> A different version here :)

My version is solved with attached

-- 
Kornel Benko
[EMAIL PROTECTED]
Index: src/mathed/InsetMathSymbol.cpp
===
--- src/mathed/InsetMathSymbol.cpp	(Revision 21859)
+++ src/mathed/InsetMathSymbol.cpp	(Arbeitskopie)
@@ -12,7 +12,7 @@
 
 #include "InsetMathSymbol.h"
 #include "Dimension.h"
-#include "MathStream.h"
+#include 
 #include "MathStream.h"
 #include "MathSupport.h"
 #include "MathParser.h"


signature.asc
Description: This is a digitally signed message part.


Re: Trunk not compilable

2007-11-29 Thread Jean-Marc Lasgouttes
Kornel Benko <[EMAIL PROTECTED]> writes:

> With the latest update I have now

A different version here :)

JMarc

In file included from ../../lyx-devel/src/ASpell.cpp:18:
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/boost_concept_check.h:
 In instantiation of `__gnu_cxx::_BinaryFunctionConcept, 
bool, std::string, std::string>':
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/stl_map.h:95:
   instantiated from `__gnu_norm::map, std::allocator > >'
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/debug/map.h:45:
   instantiated from `__gnu_debug_def::map, std::allocator > >'
../../lyx-devel/src/ASpell_local.h:73:   instantiated from here
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/boost_concept_check.h:361:
 error: `__gnu_cxx::_BinaryFunctionConcept<_Func, _Return, _First, 
_Second>::__first' has incomplete type
../../lyx-devel/src/support/strfwd.h:42: error: declaration of `struct 
std::string'
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/boost_concept_check.h:362:
 error: `__gnu_cxx::_BinaryFunctionConcept<_Func, _Return, _First, 
_Second>::__second' has incomplete type
../../lyx-devel/src/support/strfwd.h:42: error: declaration of `struct 
std::string'
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/boost_concept_check.h:
 In member function `void __gnu_cxx::_BinaryFunctionConcept<_Func, _Return, 
_First, _Second>::__constraints() [with _Func = std::less, _Return 
= bool, _First = std::string, _Second = std::string]':
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/stl_map.h:95:
   instantiated from `__gnu_norm::map, std::allocator > >'
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/debug/map.h:45:
   instantiated from `__gnu_debug_def::map, std::allocator > >'
../../lyx-devel/src/ASpell_local.h:73:   instantiated from here
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/boost_concept_check.h:358:
 error: `__first' undeclared (first use this function)
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/boost_concept_check.h:358:
 error: (Each undeclared identifier is reported only once for each function it 
appears in.)
/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/../../../../include/c++/3.4.1/bits/boost_concept_check.h:358:
 error: `__second' undeclared (first use this function)
make[3]: *** [ASpell.o] Error 1


Trunk not compilable

2007-11-29 Thread Kornel Benko
With the latest update I have now

...
/usr/bin/c++   -Wall -Wall -O3 -DNDEBUG -I/usr2/src/lyx/BuildLyx 
-I/usr/src/lyx/lyx-devel/src -I/usr/src/lyx/lyx-devel/boost 
-I/usr/src/lyx/lyx-devel/src/mathed   -DQT_CLEAN_NAMESPACE -DQT_NO_STL 
-DQT_NO_KEYWORDS -DUSE_ASPELL=1 -DBOOST_USER_CONFIG="" -DHAVE_ICONV=1 
-o 
src/mathed/CMakeFiles/mathed.dir/usr/src/lyx/lyx-devel/src/mathed/InsetMathSymbol.o
 -c /usr/src/lyx/lyx-devel/src/mathed/InsetMathSymbol.cpp
/usr/include/c++/4.2.2/bits/ostream_insert.h: In function 
‘std::basic_ostream<_CharT, _Traits>& 
std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, 
std::streamsize) [with _CharT = unsigned int, _Traits = 
std::char_traits]’:
/usr/include/c++/4.2.2/bits/basic_string.h:2404:   instantiated from 
‘std::basic_ostream<_CharT, _Traits>& 
std::operator<<(std::basic_ostream<_CharT, _Traits>&, const 
std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = unsigned int, 
_Traits = std::char_traits, _Alloc = std::allocator]’
/usr/src/lyx/lyx-devel/src/mathed/InsetMathSymbol.cpp:226:   instantiated from 
here
/usr/include/c++/4.2.2/bits/ostream_insert.h:82: error: invalid use of 
incomplete type ‘struct std::basic_ostream >’
/usr/src/lyx/lyx-devel/src/support/strfwd.h:46: error: declaration of ‘struct 
std::basic_ostream >’
...
Kornel
-- 
Kornel Benko
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part.


Re: trunk not compilable

2007-10-11 Thread Pavel Sanda
> Pavel Sanda wrote:
>> i'm the only one seeing this ?
>
> can u update and try again

yep, thanks.


Re: trunk not compilable

2007-10-11 Thread Edwin Leuven

Pavel Sanda wrote:

i'm the only one seeing this ?


can u update and try again

missing include me thinks...


trunk not compilable

2007-10-11 Thread Pavel Sanda
i'm the only one seeing this ?

g++ -DHAVE_CONFIG_H -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR 
-DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src -I../../../src/frontends 
-I../../../images -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtGui -I../../../boost -I../../../src/frontends/controllers 
-Wextra -Wall -O -MT GuiLog.lo -MD -MP -MF .deps/GuiLog.Tpo -c GuiLog.cpp -o 
GuiLog.o
GuiLog.cpp: In member function 'void 
lyx::frontend::GuiLog::on_copyPB_clicked()':
GuiLog.cpp:236: error: invalid use of undefined type 'struct QClipboard'
/usr/include/qt4/QtGui/qwindowdefs.h:65: error: forward declaration of 'struct 
QClipboard'
make[6]: *** [GuiLog.lo] Error 1

pavel