[fdo-internals] Compile issues with VS2008 Express

Jason Birch Jason.Birch at nanaimo.ca
Sun Sep 28 19:33:33 EDT 2008

As it stands, I haven't even started working with FDO code and it appears that FDO can't be built for Windows with the free Express edition of Visual C++ 9.
First error:
c:\devel\build\fdo\thirdparty\cppunit\src\msvc6\testrunner\stdafx.h(17): fatal
error C1083: Cannot open include file: 'afxwin.h': No such file or directory
I believe (from some research) that this is because cppunit uses MFC, which is not included with Visual C++ 2008 Express Edition.
After removing the cppunit projects from the thirdparty solution, I tried again and got an error showing that libcurl couldn't find the openssl includes, probably because it was referencing an inc32 directory from openssl which does not exist.  However, after changing the reference to openssl/include, I get a syntax error 
Project "C:\DEVEL\BUILD\FDO\Thirdparty\libcurl\lib\curllib.sln" on node 0 (Buil
d target(s)).
  Building solution configuration "release|Win32".
c:\DEVEL\BUILD\FDO\Thirdparty\openssl\include\openssl/rsa.h(1): error C2143: sy
ntax error : missing '{' before '.'
Did a change get made to libcurl or openssl that has not been checked in yet?
Finally, GDAL does not appear to compile with Express 2008.  I believe that this was fixed in GDAL's ticket #2064, which made it into version 1.5.  Looks like an upgrade may be required.
I'd appreciate any thoughts/help/guidance.  I'm definitely not a developer, and am probably doing something wrong.  I think it is important that FDO compile on Windows without requiring developers to purchase a compiler though.
Oh, and as long as I'm complaining, I need a new computer.  This takes too bloody long on my old Athlon :)

More information about the fdo-internals mailing list