Angus Leeming wrote: > Asger Ottar Alstrup wrote: > >> Hi, >> >> I'm getting closer. 24 unresolved externals. One of them is the dll >> import issue with LyXLength. It seems I have to build a new static Qt to >> fix this, so that takes quite a while. > > > NOOOOOOOOOOOOOO! Surely not. Just remove the Q_EXPORT macro from the > class definition in the qt2 frontend. > >> Until then, I miss a few other symbols: >> >> class lyx::support::Package >> char const * const lyx_version_info and friends. >> >> Those come from generated files, I guess. Can someone send me a copy for >> Windows? > > Take the version of package.C.in that you have and rename the > '%'-variables as something sensible. They're meant to be sensible > last-ditch fallbacks to if all other searches have failed. > > $ diff -u src/support/package.C.in build/src/support/package.C
You'll also need this I guess. Fill as you see fit ;-) $ diff -u src/version.C.in build/src/version.C --- src/version.C.in 2004-03-31 12:31:47.000000000 +0100 +++ build/src/version.C 2005-01-12 10:55:52.000000000 +0000 @@ -13,9 +13,9 @@ */ /// -char const * lyx_version = "@VERSION@"; +char const * lyx_version = "1.4.0cvs"; /// char const * lyx_release_date = "Thu, Jan 30, 2003"; /// This is the version information shown by 'lyx -version' -char const * lyx_version_info = "@VERSION_INFO@"; +char const * lyx_version_info = "Configuration\n Host type: i686-pc-linux-gnu\n Special build flags: warnings stdlib-debug concept-checks pch assertions use-aspell jpeg-image-loader compression\n C Compiler: gcc\n C Compiler flags: -Wextra -Wall -I/usr/X11R6/include -g -O2\n C++ Compiler: g++ (3.4.2)\n C++ Compiler flags: -Wextra -Wall -I/usr/X11R6/include -g -O -fno-exceptions\n Linker flags: \n XForms Frontend:\n libXpm version:\t\t4.11\n libforms version:\t\t1.0.90\n Qt Frontend:\n Qt version:\t\t3.3.3\n Packaging: posix\n LyX binary dir: /home/angus/lyx-installed/bin\n LyX files dir: /home/angus/lyx-installed/share/lyx-1.4.0cvs\n"; -- Angus