I'm trying to build GEOS and GDAL from source on a Windows machine. I have Visual C++ for Python 9.0 installed with Lib / Include / PATH environment variables established (as far as I am aware). But I encounter a fatal error when trying to build GEOS and GDAL from source. I am using the following call to build GEOS in the GEOS root folder:
nmake /f makefile.vc MSVC_VER=1500It compiles fine then exits on:
Microsoft (R) Incremental Linker Version 9.00.30729.01Creating library geos_i.lib and object geos_i.expif exist geos.dll.manifest mt -manifest geos.dll.manifest -outputresource:geos.dll;2NMAKE: fatal error U1077: 'if' return code '0xc000005'After this error occurs, the source folder contains geos.dll as well as geos.dll.manifest. And, if I were to run the command nmake /f makefile.vc MSVC_VER=1500 again, it would pass on this instance but fail on a future one with the same error. By continuing to execute the nmake command I can eventually get through building geos.
I seem to recall that trying to compile each step by hand I got a more descriptive error message from mt saying that geos.dll could not be found. But when navigating to the folder, it is clearly there. And running the mt command by hand works just fine.
Any thoughts? I'm pretty new to building / compiling on Windows. Thanks.
أكثر...
nmake /f makefile.vc MSVC_VER=1500It compiles fine then exits on:
Microsoft (R) Incremental Linker Version 9.00.30729.01Creating library geos_i.lib and object geos_i.expif exist geos.dll.manifest mt -manifest geos.dll.manifest -outputresource:geos.dll;2NMAKE: fatal error U1077: 'if' return code '0xc000005'After this error occurs, the source folder contains geos.dll as well as geos.dll.manifest. And, if I were to run the command nmake /f makefile.vc MSVC_VER=1500 again, it would pass on this instance but fail on a future one with the same error. By continuing to execute the nmake command I can eventually get through building geos.
I seem to recall that trying to compile each step by hand I got a more descriptive error message from mt saying that geos.dll could not be found. But when navigating to the folder, it is clearly there. And running the mt command by hand works just fine.
Any thoughts? I'm pretty new to building / compiling on Windows. Thanks.
أكثر...