N. B. wrote:
 Hi, I was wondering what files in "lyx-windows-deps-msvc2008\bin,
 lib" are needed to run the program and which ones are needed for
 build process. I thought I would select the absolutey necessary ones
 on my path environment: I don't want to put on path the ones that are
 required only for build. Currently what I do is just to copy
 everything in the bin directory to Visual Studio build directory and
 also all the files in "lib" folder of the svn tree. But this is what
 I want to avoid.

Then just copy the dlls that are in "lyx-windows-deps-msvc2008/bin". You'll also need "QtGui4(d).dll" and "QtCore4(d).dll". Instead of copying the files in the lib folder you can use the '-sysdir' option. In order to run LyX within MSVC studio for example you'll need to add this option to the command-line argument field of the debug property of the 'lyx' project:

-sysdir c:\devel\lyx\trunk\lib

 By the way, cmake on windows does not install the program
 appropriately. It should be easy for someone who has time and
 understanding of the cmake files.

Right. Unfortunately nobody except for the original author took the time to learn CMake... Stefan maybe? Or you? ;-)

> Scons versions installs the stuff
 just fine, but it does not copy the binaries other than lyx and
 texlyx.

CMake 2.6 comes with CPack. I think we should use that.

 So back to my question: is everyfile in the bin directory of
 the depency archive necessary. I'm sure the answer is no, but which
 ones are need for one reason or the other to "run" lyx?

I think only those are needed: Aiksaurus.dll aspell.dll iconv.dll intl.dll zlib1.dll

 As another
 side note: lyx-windows-deps-msvc2008.zip file does not have an aspell
 debug library and cmake complains about this. I found this file just
 by guessing (I copied libaspell-15.lib from KDE project). It would be
 nice to update the zip file by adding this lib file and its .dll in
 the bin directory.

Just copy "aspell.dll"  to "aspelld.dll"; it should work.

 Just suggestions: i appreciate your efforts.

And I appreciate yours :-) I hope you'll help us improve our CMake support.

Abdel.

Reply via email to