NotePad++ 在 windows10 上用 vs2015 编译
来源:互联网 发布:python 变量写入txt 编辑:程序博客网 时间:2024/06/01 08:46
1 Notepad++编译资源
*NotePad++ 官网:https://notepad-plus-plus.org/
https://notepad-plus-plus.org/resources.html*
官网给出的源码下载地址,比较老旧,只到6.7.5
git clone https://github.com/donho/notepad-plus-plus.git
下载最新代码,需要使用原始地址:
git clone --recursive https://github.com/notepad-plus-plus/notepad-plus-plus.gitcd notepad-plus-plus # 进入代码目录git tag # 查看稳定版本taggit checkout -b b6.9.2 v6.9.2 # 迁出稳定版本
2 为了编译通过,修改配置
使用vs2015编译代码v6.9.2版本,win32 debug版本。
2.1 修改 scintilla\win32\SciLexer.vcxproj 内容:
ToolsVersion="12.0" ==>ToolsVersion="14.0"v120_xp ==> v140_xpboost.1.58.0.0 ==> boost.1.61.0.0boost_regex-vc120.1.58.0.0 ==> boost_regex-vc140.1.61.0.0boost_regex-vc120.targets ==> boost_regex-vc140.targets
2.2 修改 scintilla\win32\packages.config 内容:
1.58.0.0 ==> 1.61.0.0boost_regex-vc120 ==> boost_regex-vc140
2.3 修改 scintilla\boostregex\BuildBoost.bat 内容:
// 在两处 vs2013 上面加入对应如下内容:: VS2015IF EXIST %BOOSTPATH%\bin.v2\libs\regex\build\msvc-14.0\release\link-static\runtime-link-static\threading-multi\libboost_regex-vc140-mt-s-%BOOSTVERSION%.lib ( SET MSVCTOOLSET=msvc-14.0):: VS2015IF [%MSVCTOOLSET%]==[msvc-14.0] ( SET BOOSTLIBPATH=%BOOSTPATH%\bin.v2\libs\regex\build\msvc-14.0)
2.4 PowerEditor\visual.net\notepadPlus.vs2015.vcxproj
ToolsVersion="12.0" ==> ToolsVersion="14.0"
2.5 使用vs2015 打开 PowerEditor\visual.net\notepadPlus.vs2015.vcxproj
属性==>C/C++==>预处理器==>_ALLOW_RTCc_IN_STL属性==>C/C++==>常规==>将警告视为错误 是==>否
2.6 保存解决方案文件:PowerEditor\visual.net\notepadPlus.vs2015.sln
2.7 添加 scintilla\win32\SciLexer.vcxproj 到 notepadPlus.vs2015.sln
2.8 右键SciLexer,生成,vs2015会自动下载boost 和 boost_regex-vc140
2.9 删除 %appdata%\Notepad++
2.10 rebuild notepadPlus.vs2015.sln
3 F5 开始调试
出现提示一路点击确定
0 0
- NotePad++ 在 windows10 上用 vs2015 编译
- openalpr在windows10 x64 vs2015编译
- 在windows10 上编译最新版webrtc源码
- MPC-HC在windows10上VS2013编译
- Libevnt 在Windows10 VS2015下分别编译32位和64位库
- GDAL在VS2015上编译及常见错误分析
- Open Cloth 在win10 VS2015上编译说明
- 在Windows10上安装TensorFlow
- 树莓派RaspberryPi2在windows10 iot下运行opencv 基于vs2015
- 【caffe配置】face_detection_alighment在windows10+caffe+vs2015下的配置
- face_detection_alighment在windows10+caffe+vs2015下的配置
- OpenGL + VS2015 + Windows10配置
- QT(windows10+VS2015)
- 在命令行上调用notepad++
- 在命令行上调用notepad++
- VS2015--win32工程配置的一些想法之VS2015编译的程序在其他机器上缺少msvcp120.dll
- 在VS2015上配置OpenCV
- 用VS2015编译FFMPEG
- 解题:不用循环、递归,如何从 1 打印到 100?
- 如果看了这篇文章你还不懂傅里叶变换,那就过来掐死我吧(3)
- CDH eclipse不兼容问题
- 上传插件uploadify介绍
- 正则表达式 常见
- NotePad++ 在 windows10 上用 vs2015 编译
- NOIP模拟题 2016.9.3 [数论] [逆序对] [树状数组] [树形dp]
- c语言和java中的基本数据类型都一样吗,都有哪些,长度是多少
- leetcode Word Pattern II
- 欢迎使用CSDN-markdown编辑器
- nginx+tomcat+redis/Memcached集群完成session共享
- cloudera CDH(5)开发方式及CDH eclipse插件编译总结
- 对表进行水平划分
- maven项目设置包结构