windows7使用Source insight上远程改动ubuntu共享内核源代码
因为本人阅读喜欢使用source insight。前段时间接触了linux核代码,而这份代码仅仅能放在ubuntuserver上编译。刚開始的时候是在windows上改动,完了之后再copy到server上去编译。这样非常麻烦,效率也非常低,经过网上搜索和向别人请教之后。最终能够正常使用了。
1、使用SSH工具在ubuntu上git clone代码之后,必须改动文件的权限:sudo chmod 777 xxx -R 。777为拥有全部权限,具体自己去网上查。xxx为项目目录,-R是递归到全部子文件(夹),我第一次没有加 -R 然后一直没有远程改动权限,郁闷了非常久,才改动。
2、创建远程连接,windows7比較方便,打开我的电脑,工具->映射网络驱动器,输入远程的网络地址就OK了;这样创建之后,你就将远程端的代码映射到本地,当做一个硬盘来訪问和使用了。
3、接下来就是source insight载入同步代码的事了。这里主要讲的是source
insight遇到的事。
在Source insight上改动ubuntu上共享内核源代码,常常出现下面提示。非常烦人:
xxx has been changed outside of Source Insight since it was loaded.
Do you want to continue and overwrite it ?
Confirm by typing 'yes' below:
xxx has been changed outside of the editor.
Do you want to reload the file ?
xxx has been changed both inside AND outside of the editor.
Do you want to reload the file and lose changes made here?
Confirm by typing 'yes' below:
開始以为是ubuntuserver同步的问题。没有去管;近期改动代码比較多,保存的时候每次都提醒,有时候改动好的代码,几秒钟不保存,就被后台更新覆盖了。
最终扛不住了,在网上搜了下,找到答案了,原来是source insight版本号太老的问题。
引用source
insight 3.50.0051 update log
Fix: Sometimes files were said to be modified outside of SI, but they were not. This most likely happened on network drives.
Under some conditions, the Windows directory information can lag for remote drives. SI now uses a better method of getting file information.
于是乎。将source insight更新到最新版本号3.50.0072
(曾经使用的是0038),问题解决。
下次遇到问题,多问问。或网上搜搜,就攻克了;仅仅要想解决,没什么问题是问题,哈哈。
转载请注明出处:http://blog.csdn.net/n289950578/article/details/24360185
windows7使用Source insight上远程改动ubuntu共享内核源代码的更多相关文章
- windows7使用Source insight上远程修改ubuntu共享内核源码
由于本人阅读喜欢使用source insight.前段时间接触了linux核代码,而这份代码只能放在ubuntu服务器上编译,刚开始的时候是在windows上修改,完了之后再copy到服务器上去编译, ...
- source insight Confirm by typing ‘yes' below"、"has been changed outside of the editor. Do you want to reload the file?"、“
阅读内核代码习惯和喜欢使用source insight.如果能在source insight上修改内核代码,同时又不需要把修改的内核代码再拷贝到虚拟ubuntu上去那就方便了.于是想通过用samba与 ...
- 使用Notepad++远程编辑Ubuntu上的源码
简单搭建了在Windows上远程编辑Ubuntu Server 14.04上面源代码的环境,记录一下,给需要的人. Notepad++安装NppFTP 从插件菜单打开PluginManager,选中N ...
- 【转】Source Insight的Alt + W键不能使用的解决办法
转载地址:http://velep.com/archives/607.html 对于Source Insight 3.5,习惯于使用Alt + W组合键并配合数字键来切换文件窗口,带来无比的便利.但是 ...
- 软件推荐 - Source Insight
一直以来从事的开发工作,涉及的范围很杂,乱七八糟的都有,其中有一项占据了比较长的时间,那就是固件程序的开发,不涉及操作系统,也就是一般意义上大家所说的裸跑程序.用过的芯片杂七杂八,比较主要的有Ate ...
- Source Insight 多标签插件
Source Insight不仅仅是一个强大的程序编辑器,它还能显示reference trees,class inheritance diagrams和call trees.Source Insig ...
- 在Windows上使用Ubuntu共享的打印机
Ubuntu下使用cups共享打印机, 是一种简单易用的方法.CUPS(Common UNIX Printing System,通用Unix打印系统)是Fedora Core3中支持的打印系统,它主要 ...
- Source Insight中文字体设置
Source Insight是一个面向项目开发的程序编辑器和代码阅读工具,它拥有内置的对C/C++, C#和Java等程序的分析,分析你的源代 码并在你工作的同时动态维护它自己的符号数据库,并自动为你 ...
- Source Insight 3.50.0065使用详解
转自calvinlee1984 Subject:Source Insight3.50.0065使用详解 Date: 21-Oct-2011 By: Calvinlee1984@ ...
随机推荐
- MyEclipse 本地安装插件
安装subeclipse插件 打开之前下载的site-1.6.12.zip文件可以看到里面有features.plugins两个文件夹 用之前我讲过的Myeclipse安装插件的方法安装就可以了 参考 ...
- cgroup 分析之CPU和内存部分
https://ggaaooppeenngg.github.io/zh-CN/2017/05/07/cgroups-%E5%88%86%E6%9E%90%E4%B9%8B%E5%86%85%E5%AD ...
- jqPlot图表插件学习之数据节点高亮和光标提示
一.准备工作 首先我们需要到官网下载所需的文件: 官网下载(笔者选择的是jquery.jqplot.1.0.8r1250.zip这个版本) 然后读者需要根据自己的情况新建一个项目并且按照如下的方式加载 ...
- python 模块之platform模块(基本了解)
# -*- coding: cp936 -*-#python 27#xiaodeng#python 模块之platform模块(基本了解)#获取底层平台的识别数据 #知道该模块用途即可,需要使用时直接 ...
- HotSpot学习(一)——如何下载openjdk源码
下载页地址: https://download.java.net/openjdk/jdk7 或者 https://download.java.net/openjdk/jdk8 这里以jdk8的页面为例 ...
- Spring Cloud Edgware Release Notes
Spring Cloud Edgware builds on Spring Boot 1.5.x. Renamed starters A number of starters did not foll ...
- 无限极分类php实现—查子孙树、家谱树
1.本文更新日期:2018/05/20 , 亲测可用,在原有基础上进行增强和 详细化 . 2.面包屑导航 和 子孙树 效果图如下: 3.代码: <?php // 无限级分类中,查家谱树(面包屑导 ...
- BOM介绍
BOM 浏览器对象模型 BOM (Browser Object Model,浏览器对象模型)提供了通过 JavaScript 访问和控制浏览器窗口(window).显示器(screen)与浏览历史(h ...
- Asp.net中GridView使用详解(引)【转】
Asp.net中GridView使用详解(引) GridView无代码分页排序 GridView选中,编辑,取消,删除 GridView正反双向排序 GridView和下拉菜单DropDownList ...
- CTF SQL注入知识点
理解常用的登录判断 select * from user where username='admin' and password='123' 数据库元信息 infomation_schema 懂PHP ...