面朝大海,春暖花开

作者:xiaokcehui2021-2-16 12:08分类: 多波束处理(OMBP) 标签: mbsystem 多波束处理

       建立过程见本文后面的部分,建立的多波束处理项目在:

https://github.com/xiaokcehui/OceanMultibeamProc

       这个项目没有一行源代码,只是将mbsystem的mbio库在VS2013下进行了编译,生成了win32位的dll和lib,编译过程涉及的库,都放在这个OceanMultibeamProc库中,可以下载。mbsystem中涉及界面的库,是在unix环境,在windows下无法编译。

      有兴趣的,可以在这个库的基础上进行再编程,但是对于博主来说,难度很大。

      之前设想的多波束处理软件,已经在github上有项目了,叫MBES-lib,网址在:

https://github.com/CIDCO-dev/MBES-lib/

       这个库虽然只支持kongsberg,xtf和s7k,但是基本覆盖目前主流多波束格式,显示是用pcl+qt,与博主之前的想法一致。

        所以,基于MBES-lib做一个多波束处理软件,更为可行。

在github建立项目的过程

参考了GitHub起步---创建第一个项目

https://www.cnblogs.com/youqc/p/10488505.html

由于电脑是32位,只能下载了Git for windows Git-2.30.1-32-bit;

新建ssh文件

将远程仓库代码下载到本地

上传本地文件至远程仓库

上传文件至远程仓库

https://blog.csdn.net/unirrrrr/article/details/80330831

问题1:

$ git commit -m "xiaokcehui first upload"
Author identity unknown

*** Please tell me who you are.

解决方法就是:

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

上传命令

git push -u origin master

问题2:

fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

解决方法:

git remote add origin git@github.com:xxse/xx.git

下 划线是SSH地址

git@github.com:xiaokcehui/OceanMultibeamProc.git

注意传文件夹的时候

问题3:

$ git push -u origin master
error: src refspec master does not match any
error: failed to push some refs to 'https://github.com/xiaokcehui/OceanMultibeamProc.git'

远程没有分支master,只有main
$ git push -u origin main




温馨提示如有转载或引用以上内容之必要,敬请将本文链接作为出处标注,谢谢合作!

已有 0/1778 人参与

发表评论:

欢迎使用手机扫描访问本站,还可以关注微信哦~