Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提问 #1

Open
Jeffzholy opened this issue Dec 12, 2018 · 2 comments
Open

提问 #1

Jeffzholy opened this issue Dec 12, 2018 · 2 comments

Comments

@Jeffzholy
Copy link

你好,看了你在heremaps/tin-terrain项目的留言,希望可以交流。
根据你的留言,到cmake编译之前你好像都没有问题,我就是卡在了boost库和GDAL库的编译和用cmake编译的步骤上,想请教之前的步骤你是怎么做的,谢谢!

PS:附上这个问题的链接
heremaps/tin-terrain#36

@dajiang31835008
Copy link
Owner

dajiang31835008 commented Dec 13, 2018

@Jeffzholy 如下是我编译的时候关于boost从网上找的一些参考信息的记录。 具体编译细节我也不太记得了。GDAL是从网上直接下载的预编译包
另外,我编译成功后切图的时候还有一些问题,还没时间去研究问题出在那里。
1.安装文档要求我先安装boost,然后编译他的主程序包
好吧,按照他的要求成功安装了boost
但是使用cmake的时候出现了奇怪的问题
在其中设置了变量Boost_DIR的路径为我的硬盘上boost的安装路径
可以成功设置
但是,按下cmake的configure按键后,这个变量就变成了“Boost_DIR-NOTFOUND”
想不明白这个是为什么

安装完boost后,我设置了以下几个环境变量:
BOOST_INCLUDEDIR=C:\open_source\boost_1_60_0
BOOST_LIBRARYDIR=C:\open_source\boost_1_60_0\stage\lib
BOOST_ROOT=C:\open_source\boost_1_60_0

image

关于windows下用cmake编译VS2015找不到Boost库的解决办法
https://blog.csdn.net/a1491973970/article/details/53613235
使用CMake+Boost中遇到的几个问题
http://palanceli.com/2017/02/19/2017/0218CMake/

@Jeffzholy
Copy link
Author

非常感谢!我先根据你的提示先尝试看看解决问题,希望能多交流!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants