当前位置:网站首页>Status Notice ¶
Status Notice ¶
2022-07-28 09:53:00 【vv1025】
Status Notice ¶
The CMake build configuration is a community-maintained non-officially supported build setup for GEOS. All GEOS users who aim to rely on CMake, please respect Sandro's request stated in comment on ticket #576 :
*** The official build system is the GNU Automake one (for versions prior to GEOS 3.5). Starting at GEOS 3.5, we officially also support CMake. We will happily accept tickets for GEOS 3.5 against CMake. We would appreciate a patch if you have one, but not required.. ***
Building on Windows with CMake
This article describes how to use CMake build system to build and install GEOS from sources on Microsoft Windows systems using Visual C++ compiler.
Download and install CMake 2.8+. Executables can be downloaded from http://www.cmake.org/cmake/resources/software.html
If you install from zip package, unpack it (eg: into "C:\cmake\") and add the bin directory to the PATH:
SET PATH=c:\cmake\cmake-2.8.2-win32-x86\bin;%PATH%
After this, start command prompt (cmd.exe).
Building from SVN development branch requires to generate the geos_svn_revision.h file with POSIX shell script:
tools\svn_repo_revision.sh
Notice, tools\svn_repo_revision.sh is a Bash script, so you need Bash some means to run Bash scripts on Windows.
Alternatively, you can create geos_svn_revision.h file manually in the top directory of the source tree:
- In the root directory of your copy of SVN trunk:
svn info
- Locate line starting with Revision:
Revision: 3704
- Use the revision number (in the output above it is
3704) to creategeos_svn_revision.h:echo #define GEOS_SVN_REVISION 3704 > geos_svn_revision.h
Alternatively, install from the fully-featured Windows installer and select option adding CMake runtime location to PATH environment variable.
In order to create the project with cmake do this: suppose for example the GEOS trunk was downloaded in "C:\geos\trunk" you may create a new folder like "C:\geos\build" enter in "C:\geos\build" and run the command for the compiler you like use:
C:\> cd geos\build C:\geos\build> cmake -G "Visual Studio 9 2008" C:\geos\trunk
or
C:\geos\build> cmake -G "Visual Studio 9 2008 Win64" ..\trunk
or
C:\geos\build> cmake -G "NMake Makefiles" C:\geos\trunk
with these commands cmake creates a NMAKE makefiles or Visual Studio solution and projects in the folder "C:\geos\build".
Now you are able to build GEOS by loading GEOS.sln in Visual Studio IDE or from command line (use Visual Studio Command Prompt), depending on target CMake generator used in previous steps:
C:\geos\build> nmake /f makefile
or
C:\geos\build> msbuild GEOS.sln
Open Tickets
incorrect cmake instruction
边栏推荐
- Judge whether the string is palindrome
- 腾讯技术专家:解密亿级用户产品 微信、QQ、王者荣耀...全面上云实践!
- 备受关注的Bit.Store,最新动态一览
- Flink - checkpoint Failure reason: Not all required tasks are currently running
- web之圣杯和双飞翼布局、float、clear、both
- The blind box of super primitive series will be launched soon, and platofarm will enable more rights and interests
- 这种动态规划你见过吗——状态机动态规划之股票问题(中)
- Irregular area of OSPF, LSA and serial number
- 【FPGA教程案例41】图像案例1——通过verilog读取图片
- matlab特征点提取--记录自用
猜你喜欢

2021.07.13 我们是这样崩的

B2B2C系统亮点是什么?如何助力珠宝首饰企业打造全渠道多商户商城管理体系
![[ESP32][esp-idf] esp32s3快速搭建LVGLV7.9](/img/39/8efef047d0a9223b97819a54b5edf8.png)
[ESP32][esp-idf] esp32s3快速搭建LVGLV7.9

Installing MySQL for Linux operating system (centos7)

pkg打包node工程

OSPF的LSA及优化

一文读懂Plato Farm的ePLATO,以及其高溢价缘由

每天在岗不足8小时被辞?腾讯前员工追讨1300万加班费等,法院终审获赔9万

In hot weather, the line of defense for safe production was strengthened, and Guangzhou Haizhu District carried out emergency drills for gas stations

在Plato Farm新经济模型下,如何在游戏中获取更多MARK
随机推荐
13 probability distributions that must be understood in deep learning
能够遍历一个文件夹下的所有文件和子文件夹
It can traverse all files and subfolders under a folder
【FPGA教程案例41】图像案例1——通过verilog读取图片
Openatom openharmony sub forum, see you today at 14:00! Wonderful release of memorabilia attached
SQL Server、MySQL主从搭建,EF Core读写分离代码实现
[esp32][esp idf] esp32s3 quickly build lvglv7.9
In retaliation for the dismissal of the company, I changed all code comments of the project!
Redis面试题必知必会
刚获融资的Espresso Systems,知识产权与团队道德双双陷入困境
fastjson中@jsonType注解的功能简介说明
2022 uni app parsing token standard - use jsrsasign - climb the pit
数据不会说谎,Plato Farm就是元宇宙龙头
Bit.store, which has attracted much attention, is at a glance of the latest developments
B2B2C系统亮点是什么?如何助力珠宝首饰企业打造全渠道多商户商城管理体系
PHP7 中 ?? 与? :的区别
PlatoFarm几大创新经济模型,给予当下元宇宙市场的启发
深度学习必懂的 13 种概率分布
小黑重新站起来看leetcode:653. 两数之和 IV - 输入 BST
Have you ever seen this kind of dynamic programming -- the stock problem of state machine dynamic programming (Part 2)