compiling LyX 2 on windows

2010-01-27 Thread Janwillem van Dijk
I successfully compiled Lyx on Linux (ubuntu 9.10 X86 and 9.04 AMD64) 
but fail to get it done on WinXP. Having no compile experience in 
windows I cannot find how to get around the error that windows.h cannot 
be found. I installed the windows sdk and visualc packages. There is 
windows.h in the PATH and I even copied it to c:\ but the problem 
remains. Please help me!

thanks, Janwillem


Re: compiling LyX 2 on windows

2010-01-27 Thread Manveru
2010/1/27 Janwillem van Dijk jwevand...@xs4all.nl:
 I successfully compiled Lyx on Linux (ubuntu 9.10 X86 and 9.04 AMD64) but
 fail to get it done on WinXP. Having no compile experience in windows I
 cannot find how to get around the error that windows.h cannot be found. I
 installed the windows sdk and visualc packages. There is windows.h in the
 PATH and I even copied it to c:\ but the problem remains. Please help me!
 thanks, Janwillem

Are you trying to compile it by Visual Studio or MinGW compiler?

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: compiling LyX 2 on windows

2010-01-27 Thread Vincent



Thanks for replying,

I specially installed Visual C++ Express for this. So I followed 
points 1-5

in INSTALL.Win32. After entering build_msvc.bat it says:

Reading SConscript files ...

Checking for C header file windows.h ...

and then complains. The config.log is below:

file C:\Utilities\lyx-devel\development\scons\SConstruct,line 563:
  Configure(confdir = .sconf_temp)
scons: Configure: Checking for C header file windows.h...
.sconf_temp\conftest_0.c -
 |
 |#include windows.h
 |
 |
cl /Fo.sconf_temp\conftest_0.obj /c .sconf_temp\conftest_0.c /nologo 
/EHsc

/wd4819 /wd4996 /nologo /MD /O2
/IC:\Utilities\lyx-devel\lyx-windows-deps-msvc2008\include
conftest_0.c
C:\Utilities\lyx-devel\lyx-windows-deps-msvc2008\include\windows.h(161) :
fatal error C1083: Cannot open include file: 'windef.h': No such file or
directory
scons: Configure: no

Janwillem

   


Hi,

Your first mail didn't contain a lot of details, so it was difficult to 
guess.


I think it's strange that you use the windows.h file from 
lyx-windows-deps-msvc2008\include. windows.h should be available on 
your system.


What happens if you remove it from this directory ?

I use(d) Visual C++ Express too and I have only aspell.h, iconv.h, 
libintl.h, zconf.h and zlib.h in this directory (and some hunspell stuff).


If you can't work it out, you might want to try using CMake.


Vincent



compiling LyX 2 on windows

2010-01-27 Thread Janwillem van Dijk
I successfully compiled Lyx on Linux (ubuntu 9.10 X86 and 9.04 AMD64) 
but fail to get it done on WinXP. Having no compile experience in 
windows I cannot find how to get around the error that windows.h cannot 
be found. I installed the windows sdk and visualc packages. There is 
windows.h in the PATH and I even copied it to c:\ but the problem 
remains. Please help me!

thanks, Janwillem


Re: compiling LyX 2 on windows

2010-01-27 Thread Manveru
2010/1/27 Janwillem van Dijk jwevand...@xs4all.nl:
 I successfully compiled Lyx on Linux (ubuntu 9.10 X86 and 9.04 AMD64) but
 fail to get it done on WinXP. Having no compile experience in windows I
 cannot find how to get around the error that windows.h cannot be found. I
 installed the windows sdk and visualc packages. There is windows.h in the
 PATH and I even copied it to c:\ but the problem remains. Please help me!
 thanks, Janwillem

Are you trying to compile it by Visual Studio or MinGW compiler?

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: compiling LyX 2 on windows

2010-01-27 Thread Vincent



Thanks for replying,

I specially installed Visual C++ Express for this. So I followed 
points 1-5

in INSTALL.Win32. After entering build_msvc.bat it says:

Reading SConscript files ...

Checking for C header file windows.h ...

and then complains. The config.log is below:

file C:\Utilities\lyx-devel\development\scons\SConstruct,line 563:
  Configure(confdir = .sconf_temp)
scons: Configure: Checking for C header file windows.h...
.sconf_temp\conftest_0.c -
 |
 |#include windows.h
 |
 |
cl /Fo.sconf_temp\conftest_0.obj /c .sconf_temp\conftest_0.c /nologo 
/EHsc

/wd4819 /wd4996 /nologo /MD /O2
/IC:\Utilities\lyx-devel\lyx-windows-deps-msvc2008\include
conftest_0.c
C:\Utilities\lyx-devel\lyx-windows-deps-msvc2008\include\windows.h(161) :
fatal error C1083: Cannot open include file: 'windef.h': No such file or
directory
scons: Configure: no

Janwillem

   


Hi,

Your first mail didn't contain a lot of details, so it was difficult to 
guess.


I think it's strange that you use the windows.h file from 
lyx-windows-deps-msvc2008\include. windows.h should be available on 
your system.


What happens if you remove it from this directory ?

I use(d) Visual C++ Express too and I have only aspell.h, iconv.h, 
libintl.h, zconf.h and zlib.h in this directory (and some hunspell stuff).


If you can't work it out, you might want to try using CMake.


Vincent



compiling LyX 2 on windows

2010-01-27 Thread Janwillem van Dijk
I successfully compiled Lyx on Linux (ubuntu 9.10 X86 and 9.04 AMD64) 
but fail to get it done on WinXP. Having no compile experience in 
windows I cannot find how to get around the error that windows.h cannot 
be found. I installed the windows sdk and visualc packages. There is 
windows.h in the PATH and I even copied it to c:\ but the problem 
remains. Please help me!

thanks, Janwillem


Re: compiling LyX 2 on windows

2010-01-27 Thread Manveru
2010/1/27 Janwillem van Dijk :
> I successfully compiled Lyx on Linux (ubuntu 9.10 X86 and 9.04 AMD64) but
> fail to get it done on WinXP. Having no compile experience in windows I
> cannot find how to get around the error that windows.h cannot be found. I
> installed the windows sdk and visualc packages. There is windows.h in the
> PATH and I even copied it to c:\ but the problem remains. Please help me!
> thanks, Janwillem

Are you trying to compile it by Visual Studio or MinGW compiler?

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: compiling LyX 2 on windows

2010-01-27 Thread Vincent



Thanks for replying,

I specially installed Visual C++ Express for this. So I followed 
points 1-5

in INSTALL.Win32. After entering build_msvc.bat it says:

Reading SConscript files ...

Checking for C header file windows.h ...

and then complains. The config.log is below:

file C:\Utilities\lyx-devel\development\scons\SConstruct,line 563:
  Configure(confdir = .sconf_temp)
scons: Configure: Checking for C header file windows.h...
.sconf_temp\conftest_0.c <-
 |
 |#include "windows.h"
 |
 |
cl /Fo.sconf_temp\conftest_0.obj /c .sconf_temp\conftest_0.c /nologo 
/EHsc

/wd4819 /wd4996 /nologo /MD /O2
/IC:\Utilities\lyx-devel\lyx-windows-deps-msvc2008\include
conftest_0.c
C:\Utilities\lyx-devel\lyx-windows-deps-msvc2008\include\windows.h(161) :
fatal error C1083: Cannot open include file: 'windef.h': No such file or
directory
scons: Configure: no

Janwillem

   


Hi,

Your first mail didn't contain a lot of details, so it was difficult to 
guess.


I think it's strange that you use the windows.h file from 
lyx-windows-deps-msvc2008\include. "windows.h" should be available on 
your system.


What happens if you remove it from this directory ?

I use(d) Visual C++ Express too and I have only  in this directory (and some hunspell stuff).


If you can't work it out, you might want to try using CMake.


Vincent