Re: generating project files with cmake

2006-09-07 Thread Peter Kümmel
Georg Baum wrote: > Joost Verburg wrote: > >> Abdelrazak Younes wrote: Are there any tools available to locate it? >>> I've heard good things about valgrind. But it's linux only AFAIK. >> Does anyone know of such a tool for Windows? > > I once worked with purify, but that is some time ago. S

Re: generating project files with cmake

2006-09-06 Thread Michael Gerz
Joost Verburg schrieb: Abdelrazak Younes wrote: Shit... That's weird, I see that also when not launching in step by step debugging mode (with F5). But the behaviour is OK in debugging mode! What do you think is the cause of the problem? A buffer overflow in Aspell? Are there any tools availa

Re: generating project files with cmake

2006-09-06 Thread Joost Verburg
Enrico Forestieri wrote: This is not true. I have compiled both aspell and ispell on Windows and can select in LyX which speller should be used. Aspell is better than Ispell, so moving to Ispell is not an option and may only hide the bug for a while. Joost

Re: generating project files with cmake

2006-09-06 Thread Joost Verburg
Enrico Forestieri wrote: FWIW I use an own compiled aspell 0.60.4 and I don't see any problem. I am using mingw, so perhaps MSVC is to be blamed on this? As always with memory problems, it depends on the system environment whether the crash is triggered or not. Joost

Re: generating project files with cmake

2006-09-06 Thread Enrico Forestieri
On Wed, Sep 06, 2006 at 04:53:06PM +0200, Joost Verburg wrote: > Ispell is even older and not available for Windows. Currently there is > no option other than Aspell. This is not true. I have compiled both aspell and ispell on Windows and can select in LyX which speller should be used. -- Enri

Re: generating project files with cmake

2006-09-06 Thread Enrico Forestieri
On Wed, Sep 06, 2006 at 05:50:14PM +0200, Jean-Marc Lasgouttes wrote: > > "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: > > Joost> Abdelrazak Younes wrote: > >>> Could you try to run LyX/Aspell using Valgrind on a Linux system? > >> LyX/Aspell-cvs may I precise... > > Joost> With Asp

Re: generating project files with cmake

2006-09-06 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> That has been suggested already long time ago. I don't think Georg> that it would be too difficult to add enchant as an additional Georg> spell checker, and if everything works drop the other ones. For 1.5, it would be better to use o

Re: generating project files with cmake

2006-09-06 Thread Jean-Marc Lasgouttes
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> Abdelrazak Younes wrote: >>> Could you try to run LyX/Aspell using Valgrind on a Linux system? >> LyX/Aspell-cvs may I precise... Joost> With Aspell 0.60.4 I get the same crash. I have 0.50.5 here, and am not very keen to update

Re: generating project files with cmake

2006-09-06 Thread Joost Verburg
Abdelrazak Younes wrote: Could you try to run LyX/Aspell using Valgrind on a Linux system? LyX/Aspell-cvs may I precise... With Aspell 0.60.4 I get the same crash. Joost

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Joost Verburg wrote: Jean-Marc Lasgouttes wrote: Trying random spellcheckers until we find one that does not trigger our memory allocation problems does not smell good IMO. We don't know whether LyX or Aspell is the problem. Anyway the current combination triggers the crash. Could you try t

Re: generating project files with cmake

2006-09-06 Thread Georg Baum
Joost Verburg wrote: > Abdelrazak Younes wrote: >>> Are there any tools available to locate it? >> >> I've heard good things about valgrind. But it's linux only AFAIK. > > Does anyone know of such a tool for Windows? I once worked with purify, but that is some time ago. See http://www-306.ibm.c

Re: generating project files with cmake

2006-09-06 Thread Joost Verburg
Jean-Marc Lasgouttes wrote: Trying random spellcheckers until we find one that does not trigger our memory allocation problems does not smell good IMO. We don't know whether LyX or Aspell is the problem. Anyway the current combination triggers the crash. Could you try to run LyX/Aspell using

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Maybe we could use pspell instead for the next windows release? Aspell is the replacement of pspell. Pspell has been deprecated many years ago. Abdelrazak> double shXXXt. Ispell then? Trying random s

Re: generating project files with cmake

2006-09-06 Thread Joost Verburg
Abdelrazak Younes wrote: Are there any tools available to locate it? I've heard good things about valgrind. But it's linux only AFAIK. Does anyone know of such a tool for Windows? double shXXXt. Ispell then? Ispell is even older and not available for Windows. Currently there is no option

Re: generating project files with cmake

2006-09-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >>> Maybe we could use pspell instead for the next windows release? >> Aspell is the replacement of pspell. Pspell has been deprecated >> many years ago. Abdelrazak> double shXXXt. Ispell then? Trying random spellcheckers until

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Joost Verburg wrote: Abdelrazak Younes wrote: Shit... That's weird, I see that also when not launching in step by step debugging mode (with F5). But the behaviour is OK in debugging mode! What do you think is the cause of the problem? I don't really know... A buffer overflow in Aspell? O

Re: generating project files with cmake

2006-09-06 Thread Joost Verburg
Abdelrazak Younes wrote: Shit... That's weird, I see that also when not launching in step by step debugging mode (with F5). But the behaviour is OK in debugging mode! What do you think is the cause of the problem? A buffer overflow in Aspell? Are there any tools available to locate it? Mayb

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Joost Verburg wrote: Abdelrazak Younes wrote: OK, let's use a hammer then. This patch avoid the deletion of the Aspell object. If it works, it could be adapted for 1.4 without any feature removal (that is pspell and ispell). Then, the spellchecker code in trunk could use a lifting... This p

Re: generating project files with cmake

2006-09-06 Thread Joost Verburg
Abdelrazak Younes wrote: OK, let's use a hammer then. This patch avoid the deletion of the Aspell object. If it works, it could be adapted for 1.4 without any feature removal (that is pspell and ispell). Then, the spellchecker code in trunk could use a lifting... This patch has the same resu

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: space after = OK. | Index: frontends/controllers/ControlSpellchecker.C | === | --- frontends/controllers/ControlSpellchecker.C (revision 14911) | ++

Re: generating project files with cmake

2006-09-06 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Index: aspell.C | === | --- aspell.C (revision 14911) | +++ aspell.C (working copy) | @@ -23,9 +23,18 @@ | using std::string; | | | -ASpell::ASpell(BufferParams const &, string co

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Joost Verburg wrote: Abdelrazak Younes wrote: Like I said, I don't see the crash... And I've passed through the debugger to verify that speller_ is never set to 0. Right, so it must be a buffer overflow somewhere. You also don't get a message box loop on your system? Nope... Abdel.

Re: generating project files with cmake

2006-09-06 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Peter Kümmel wrote: | > Abdelrazak Younes wrote: | >> Joost Verburg wrote: | >>> Abdelrazak Younes wrote: | >> But I still don't understand why I don't see a crash... | > Make sure you really link against the new aspell libraries. | I am

Re: generating project files with cmake

2006-09-06 Thread Joost Verburg
Abdelrazak Younes wrote: Like I said, I don't see the crash... And I've passed through the debugger to verify that speller_ is never set to 0. Right, so it must be a buffer overflow somewhere. You also don't get a message box loop on your system? Joost

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Joost Verburg wrote: Abdelrazak Younes wrote: Hum... the call to dialog().CancelButton() seems superfluous in ControlSpellchecker::checkAlive(). That may well be the cause of your crash. Could you please try out this patch? If it works then it can easily be backported to 1.4. But I still don

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Joost Verburg wrote: Abdelrazak Younes wrote: But I still don't understand why I don't see a crash... Make sure you really link against the new aspell libraries. I am sure. I've compiled myself the csv version with your patch... The crash happens

Re: generating project files with cmake

2006-09-06 Thread Peter Kümmel
Abdelrazak Younes wrote: > Joost Verburg wrote: >> Abdelrazak Younes wrote: > But I still don't understand why I don't see a crash... Make sure you really link against the new aspell libraries. >>> >>> I am sure. I've compiled myself the csv version with your patch... >> >> The crash

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Joost Verburg wrote: Abdelrazak Younes wrote: But I still don't understand why I don't see a crash... Make sure you really link against the new aspell libraries. I am sure. I've compiled myself the csv version with your patch... The crash happens after spell checking has completed. So fir

Re: generating project files with cmake

2006-09-06 Thread Joost Verburg
Abdelrazak Younes wrote: But I still don't understand why I don't see a crash... Make sure you really link against the new aspell libraries. I am sure. I've compiled myself the csv version with your patch... The crash happens after spell checking has completed. So first you will get the sp

Re: generating project files with cmake

2006-09-06 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: > > Of course. > > Does fs::lookup_errno not work with windows? > Is that why fs::lookup_error_code is used instead? > Seems it has heen removed, (also the exception header is empty). -- Peter Kümmel

Re: generating project files with cmake

2006-09-06 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Peter Kümmel wrote: | > Abdelrazak Younes wrote: | >> Peter Kümmel wrote: | >>> Abdelrazak Younes wrote: | Joost Verburg wrote: | > Peter Kümmel wrote: | >> Peter Kümmel wrote: | >>> - controller().clearParams(); | >>> +//

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Peter Kümmel wrote: Abdelrazak Younes wrote: Joost Verburg wrote: Peter Kümmel wrote: Peter Kümmel wrote: - controller().clearParams(); +// controller().clearParams(); Is also fixes my aspell crash The crash is fixed indeed, but there

Re: generating project files with cmake

2006-09-06 Thread Peter Kümmel
Abdelrazak Younes wrote: > Peter Kümmel wrote: >> Abdelrazak Younes wrote: >>> Joost Verburg wrote: Peter Kümmel wrote: > Peter Kümmel wrote: >> - controller().clearParams(); >> +// controller().clearParams(); > Is also fixes my aspell crash The crash is fixed in

Re: generating project files with cmake

2006-09-06 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Joost Verburg wrote: Peter Kümmel wrote: Peter Kümmel wrote: - controller().clearParams(); +// controller().clearParams(); Is also fixes my aspell crash The crash is fixed indeed, but there is still an endless message box loop. Hum...

Re: generating project files with cmake

2006-09-06 Thread Peter Kümmel
Abdelrazak Younes wrote: > Joost Verburg wrote: >> Peter Kümmel wrote: >>> Peter Kümmel wrote: - controller().clearParams(); +// controller().clearParams(); >>> >>> Is also fixes my aspell crash >> >> The crash is fixed indeed, but there is still an endless message box >> loop.

Re: generating project files with cmake

2006-09-05 Thread Joost Verburg
Abdelrazak Younes wrote: Hum... the call to dialog().CancelButton() seems superfluous in ControlSpellchecker::checkAlive(). That may well be the cause of your crash. Could you please try out this patch? If it works then it can easily be backported to 1.4. But I still don't understand why I do

Re: generating project files with cmake

2006-09-05 Thread Abdelrazak Younes
Joost Verburg wrote: Peter Kümmel wrote: Peter Kümmel wrote: - controller().clearParams(); +// controller().clearParams(); Is also fixes my aspell crash The crash is fixed indeed, but there is still an endless message box loop. Hum... the call to dialog().CancelButton() seems s

Re: generating project files with cmake

2006-09-05 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: - controller().clearParams(); +// controller().clearParams(); That means that controller() points to nothing real. That's quite weird considering that it is a boost::scoped_ptr and that it is set in Dialog::setController(Controller * i) and

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Abdelrazak Younes wrote: > Peter Kümmel wrote: >> Abdelrazak Younes wrote: >>> Edwin Leuven wrote: Abdelrazak Younes wrote: > This patch solves it. Committing now. i still see a crash... >>> Could you set a breakpoint at breakpoint at the beginning of >>> Dialogs::disconnect(string co

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Abdelrazak Younes wrote: > Peter Kümmel wrote: >> Abdelrazak Younes wrote: >>> Peter Kümmel wrote: Abdelrazak Younes wrote: > Could you test again with my recent commit? I still cannot > reproduce the > spell checker crash. Which aspell version do you use? >>> The cvs version

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Abdelrazak Younes wrote: > Peter Kümmel wrote: >> Abdelrazak Younes wrote: >>> Edwin Leuven wrote: Abdelrazak Younes wrote: > This patch solves it. Committing now. i still see a crash... >>> Could you set a breakpoint at breakpoint at the beginning of >>> Dialogs::disconnect(string co

Re: generating project files with cmake

2006-09-04 Thread Joost Verburg
Peter Kümmel wrote: Peter Kümmel wrote: - controller().clearParams(); +// controller().clearParams(); Is also fixes my aspell crash The crash is fixed indeed, but there is still an endless message box loop. Joost

Re: generating project files with cmake

2006-09-04 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Georg, Lars, did you do the BOOST upgrade to 1.34RC at the end? This | problem might be related to that. No. I plan to do that tonight. -- Lgb

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Georg, Lars, did you do the BOOST upgrade to 1.34RC at the end? This problem might be related to that. I also have this crash on exit that seems related to boost: First-chance exception at 0x005442e3 in lyx-qt4.exe: 0xC005: Access violation reading location 0xfeee

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Edwin Leuven wrote: Abdelrazak Younes wrote: This patch solves it. Committing now. i still see a crash... Could you set a breakpoint at breakpoint at the beginning of Dialogs::disconnect(string const & name) in frontends/Dialogs.C and continue ste

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Peter Kümmel wrote: Abdelrazak Younes wrote: Could you test again with my recent commit? I still cannot reproduce the spell checker crash. Which aspell version do you use? The cvs version plus the patch that Joost gave me. The best would be to

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Abdelrazak Younes wrote: > Peter Kümmel wrote: >> Abdelrazak Younes wrote: >>> Could you test again with my recent commit? I still cannot reproduce the >>> spell checker crash. >> >> Which aspell version do you use? > > The cvs version plus the patch that Joost gave me. > The best would be to pu

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Could you test again with my recent commit? I still cannot reproduce the spell checker crash. Which aspell version do you use? The cvs version plus the patch that Joost gave me. I think we should first fix the document->setting bug, and then s

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Peter Kümmel wrote: > Abdelrazak Younes wrote: >> Edwin Leuven wrote: >>> Abdelrazak Younes wrote: This patch solves it. Committing now. >>> i still see a crash... >> Could you set a breakpoint at breakpoint at the beginning of >> Dialogs::disconnect(string const & name) in frontends/Dialogs.C

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Abdelrazak Younes wrote: > Edwin Leuven wrote: >> Abdelrazak Younes wrote: >>> This patch solves it. Committing now. >> >> i still see a crash... > > Could you set a breakpoint at breakpoint at the beginning of > Dialogs::disconnect(string const & name) in frontends/Dialogs.C and > continue step b

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Abdelrazak Younes wrote: > Could you test again with my recent commit? I still cannot reproduce the > spell checker crash. Which aspell version do you use? I think we should first fix the document->setting bug, and then see if the aspell is still there. Peter

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: This patch solves it. Committing now. i still see a crash... Could you set a breakpoint at breakpoint at the beginning of Dialogs::disconnect(string const & name) in frontends/Dialogs.C and continue step by step until you see the crash? Abdel.

Re: generating project files with cmake

2006-09-04 Thread Edwin Leuven
Abdelrazak Younes wrote: This patch solves it. Committing now. i still see a crash...

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Edwin Leuven wrote: Peter Kümmel wrote: It crashes? Here I've no problems. that was a missing sysdir. now it crashes when i open the document settings dialog and then close it again Same here, even in debug mode it won't allow me to break before

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: I am wondering how/why it went unnoticed up until now... because trunk is too unstable to use since the unicode stuff went in? But this code was unchanged for a long time! It might be related to some changes under the hood in the callers of Dial

Re: generating project files with cmake

2006-09-04 Thread Edwin Leuven
Abdelrazak Younes wrote: I am wondering how/why it went unnoticed up until now... because trunk is too unstable to use since the unicode stuff went in? we should perhaps eat our own dogfood a bit more often... ;-)

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Edwin Leuven wrote: Peter Kümmel wrote: It crashes? Here I've no problems. that was a missing sysdir. now it crashes when i open the document settings dialog and then close it again The problems lies in Dialogs.C: void Dialogs::disconnect(string const & name) {

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: The problems lies in Dialogs.C: void Dialogs::disconnect(string const & name) { if (!isValidName(name)) return; open_insets_[name] = 0; // <= HERE } open_insets_ is empty, hence the crash. can i ask how you found out? By judici

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Edwin Leuven wrote: > Abdelrazak Younes wrote: >> The problems lies in Dialogs.C: >> >> void Dialogs::disconnect(string const & name) >> { >> if (!isValidName(name)) >> return; >> >> open_insets_[name] = 0; // <= HERE >> } >> >> open_insets_ is empty, hence the crash. > > can i as

Re: generating project files with cmake

2006-09-04 Thread Edwin Leuven
Abdelrazak Younes wrote: The problems lies in Dialogs.C: void Dialogs::disconnect(string const & name) { if (!isValidName(name)) return; open_insets_[name] = 0; // <= HERE } open_insets_ is empty, hence the crash. can i ask how you found out?

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Edwin Leuven wrote: Peter Kümmel wrote: It crashes? Here I've no problems. that was a missing sysdir. now it crashes when i open the document settings dialog and then close it again The problems lies in Dialogs.C: void Dialogs::disconnect(string const & name) { if (!isValidName(na

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Abdelrazak Younes wrote: > Edwin Leuven wrote: >> Peter Kümmel wrote: >>> It crashes? Here I've no problems. >> >> that was a missing sysdir. >> >> now it crashes when i open the document settings dialog and then close >> it again > > Same here, even in debug mode it won't allow me to break before

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Edwin Leuven wrote: Peter Kümmel wrote: It crashes? Here I've no problems. that was a missing sysdir. now it crashes when i open the document settings dialog and then close it again Same here, even in debug mode it won't allow me to break before the crash. Looks like a bad raw memory acce

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Edwin Leuven wrote: > > now it crashes when i open the document settings dialog and then close > it again > Here it don't crash but looks broken. > it all feels like black magic > > things are so simple under linux, sigh > >>> btw, is there a way to do a "make install"? >> >> It is possible,

Re: generating project files with cmake

2006-09-04 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: sible, but I've not implemented it because until today I was the only person who has used the cmake files. Looks like I am the initiator here... ;-) Yes, building LyX, but didn't this thread start because of aspell, which was build with cmake by J

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Bo Peng wrote: >> I think the CMake support has a long way to go compared with Scons (for >> now) > > I think it can catch up quickly if more people use it and report bugs. > A detailed INSTALL.cmake would help. Current cmake readme seems > sketchy. > I'm fine with building the msvc project with

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
Abdelrazak Younes wrote: sible, but I've not implemented it because >> until today I was the only person who has used the >> cmake files. > > Looks like I am the initiator here... ;-) > Yes, building LyX, but didn't this thread start because of aspell, which was build with cmake by Joost? > I

Re: generating project files with cmake

2006-09-04 Thread Peter Kümmel
José Matos wrote: > > Please make sure that the documentation is more or less up to date. I will > try it on linux. (FC5 FWIW). > I've build it successfully on SUSE 10. I'm curious about your problems. (You don't need to install Qt4 only make sure qmake is in your path.) -- Peter Kümmel

Re: generating project files with cmake

2006-09-03 Thread Bo Peng
I think the CMake support has a long way to go compared with Scons (for now) I think it can catch up quickly if more people use it and report bugs. A detailed INSTALL.cmake would help. Current cmake readme seems sketchy. but I really like the fact that MSVC project are real projects. This has

Re: generating project files with cmake

2006-09-03 Thread Abdelrazak Younes
Peter Kümmel wrote: Edwin Leuven wrote: Peter Kümmel wrote: Do you use the files from zlib.net? from gnuwin32 If not, no problem: goto to the including of unistd.h in zconf.h, you will see a #if block, just disable the including. yes, that's what i ended up doing it now compiles. if i run

Re: generating project files with cmake

2006-09-03 Thread Edwin Leuven
Peter Kümmel wrote: It crashes? Here I've no problems. that was a missing sysdir. now it crashes when i open the document settings dialog and then close it again it all feels like black magic things are so simple under linux, sigh btw, is there a way to do a "make install"? It is possi

Re: generating project files with cmake

2006-09-03 Thread José Matos
On Sunday 03 September 2006 19:37, Peter Kümmel wrote: > > thanks again! > > I have to thank for the population of my empty cmake-universe. ;) Please make sure that the documentation is more or less up to date. I will try it on linux. (FC5 FWIW). > -- >   Peter -- José Abílio

Re: generating project files with cmake

2006-09-03 Thread Peter Kümmel
Edwin Leuven wrote: > Peter Kümmel wrote: >> Do you use the files from zlib.net? > > from gnuwin32 > >> If not, no problem: >> goto to the including of unistd.h in zconf.h, you will see >> a #if block, just disable the including. > > yes, that's what i ended up doing > > it now compiles. if i ru

Re: generating project files with cmake

2006-09-03 Thread Edwin Leuven
Peter Kümmel wrote: Do you use the files from zlib.net? from gnuwin32 If not, no problem: goto to the including of unistd.h in zconf.h, you will see a #if block, just disable the including. yes, that's what i ended up doing it now compiles. if i run the executable it crashes though btw, i

Re: generating project files with cmake

2006-09-03 Thread Peter Kümmel
Edwin Leuven wrote: > Peter Kümmel wrote: >> Maybe there was a compiler error while building >> support.lib? > > it seems to compile fine. i do get the following error in boost_iostreams: > > > 1>Compiling... > 1>zlib.cpp > 1>c:\programs\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot

Re: generating project files with cmake

2006-09-03 Thread Edwin Leuven
Peter Kümmel wrote: Maybe there was a compiler error while building support.lib? it seems to compile fine. i do get the following error in boost_iostreams: 1>Compiling... 1>zlib.cpp 1>c:\programs\gnuwin32\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such

Re: generating project files with cmake

2006-09-03 Thread Peter Kümmel
Edwin Leuven wrote: > Peter Kümmel wrote: >> Done. Please update and try again. > > thanks, this now works > > compiling fails however: > > "cannot open file 'support.lib'" > > Maybe there was a compiler error while building support.lib? -- Peter

Re: generating project files with cmake

2006-09-03 Thread Edwin Leuven
Peter Kümmel wrote: Done. Please update and try again. thanks, this now works compiling fails however: "cannot open file 'support.lib'"

Re: generating project files with cmake

2006-09-03 Thread Peter Kümmel
Peter Kümmel wrote: > Edwin Leuven wrote: >> Peter Kümmel wrote: >>> When you start LyX the dll must be found, so you must add >>> the path to this dll to your PATH varable, eg: >>> set PATH=%PATH%;c:\Programme\gnuwin32\bin >> but there is only a libiconv2.dll there... >> >> > > I add libiconv2.dl

Re: generating project files with cmake

2006-09-03 Thread Peter Kümmel
Edwin Leuven wrote: > Peter Kümmel wrote: >> When you start LyX the dll must be found, so you must add >> the path to this dll to your PATH varable, eg: >> set PATH=%PATH%;c:\Programme\gnuwin32\bin > > but there is only a libiconv2.dll there... > > I add libiconv2.dll as possible name. --

Re: generating project files with cmake

2006-09-03 Thread Edwin Leuven
Peter Kümmel wrote: When you start LyX the dll must be found, so you must add the path to this dll to your PATH varable, eg: set PATH=%PATH%;c:\Programme\gnuwin32\bin but there is only a libiconv2.dll there...

Re: generating project files with cmake

2006-09-03 Thread Peter Kümmel
Edwin Leuven wrote: > Abdelrazak Younes wrote: >> Edwin Leuven wrote: >>> fails for me. anyone knows what is wrong here? i get the following >>> error. thanks, ed. >> >> First "svn update" cause' Peter has done some recent correction and >> then I just use: >> >> D:\devel\lyx\trunk\development\cmak

Re: generating project files with cmake

2006-09-03 Thread Edwin Leuven
Abdelrazak Younes wrote: Edwin Leuven wrote: fails for me. anyone knows what is wrong here? i get the following error. thanks, ed. First "svn update" cause' Peter has done some recent correction and then I just use: D:\devel\lyx\trunk\development\cmake>cmake . -Dnls=1 -DGNUWIN32_DIR=D:\pro

Re: generating project files with cmake

2006-09-03 Thread Peter Kümmel
Abdelrazak Younes wrote: > Edwin Leuven wrote: >> fails for me. anyone knows what is wrong here? i get the following >> error. thanks, ed. > > First "svn update" cause' Peter has done some recent correction and then > I just use: > > D:\devel\lyx\trunk\development\cmake>cmake . -Dnls=1 > -DGNUWI

Re: generating project files with cmake

2006-09-03 Thread Abdelrazak Younes
Edwin Leuven wrote: fails for me. anyone knows what is wrong here? i get the following error. thanks, ed. First "svn update" cause' Peter has done some recent correction and then I just use: D:\devel\lyx\trunk\development\cmake>cmake . -Dnls=1 -DGNUWIN32_DIR=D:\program\GnuWin32 It should