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

'std::logic_error' and 'YAML::BadFile' #3

Open
JiahengZhao opened this issue Sep 26, 2017 · 36 comments
Open

'std::logic_error' and 'YAML::BadFile' #3

JiahengZhao opened this issue Sep 26, 2017 · 36 comments

Comments

@JiahengZhao
Copy link

JiahengZhao commented Sep 26, 2017

I have set the DATASETS_DIR and when I typed the code " ./plslam_dataset /kitti/kitti_04" (my DATASETS_DIR is /home/z/Documents/dataset) I met an error :

┌[z☮z-pc]-(~/Documents/pl-slam/build)-[git://master ✗]-
└> ./plslam_dataset /kitti/kitti_04
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
[1] 18434 abort ./plslam_dataset /kitti/kitti_04

I searched it and someone said it is because using the "NULL" pointer. So I replaced all of "NULL" as "nullptr" in the code. THen run " ./plslam_dataset /kitti/kitti_04" and error:

┌[z☮z-pc]-(~/Documents/pl-slam/build)-[git://master ✗]-
└> ./plslam_dataset /kitti/kitti_04
terminate called after throwing an instance of 'YAML::BadFile'
what(): yaml-cpp: error at line 0, column 0: bad file
[1] 19198 abort ./plslam_dataset /kitti/kitti_04

Now I don't know how to solve it...

@JiahengZhao JiahengZhao changed the title Cannot find -lg2o_ext_csparse 'std::logic_error' and 'YAML::BadFile' Sep 26, 2017
@ydt9000511
Copy link

same problem here, looking forward for any possible solution

@lizhihuit
Copy link

can you tell me the version of Eigen@JiahengZhao

@ydt9000511
Copy link

ydt9000511 commented Nov 3, 2017 via email

@lizhihuit
Copy link

No,there still some errors here, can you compile it sucessefully?

@ydt9000511
Copy link

ydt9000511 commented Nov 6, 2017 via email

@ydt9000511
Copy link

ydt9000511 commented Nov 6, 2017 via email

@ydt9000511
Copy link

ydt9000511 commented Nov 6, 2017 via email

@lizhihuit
Copy link

lizhihuit commented Nov 6, 2017 via email

@ydt9000511
Copy link

ydt9000511 commented Nov 7, 2017 via email

@ydt9000511
Copy link

ydt9000511 commented Nov 13, 2017 via email

@ydt9000511
Copy link

ydt9000511 commented Nov 14, 2017 via email

@lizhihuit
Copy link

lizhihuit commented Nov 14, 2017 via email

@xukuanHIT
Copy link

#4
Hi, I meet an error when I build the code, Did you meet it?

@ydt9000511
Copy link

ydt9000511 commented Nov 16, 2017 via email

@xukuanHIT
Copy link

@ydt9000511
Thank you for your reply, maybe my g2o version is improper, can you tell me the g2o version you are using?

@ydt9000511
Copy link

ydt9000511 commented Nov 17, 2017 via email

@xukuanHIT
Copy link

@ydt9000511
Thank for your suggestion, I build successfully now ,but I still have some errors when I run:

terminate called after throwing an instance of 'YAML::BadFile'
what(): yaml-cpp: error at line 0, column 0: bad file
./run.sh: line 1: 6547 Aborted (core dumped)
I am trying to solve it, what is your problems now?

@ydt9000511
Copy link

ydt9000511 commented Nov 17, 2017 via email

@xukuanHIT
Copy link

@ydt9000511
Hi, do you use qq ? my qq is 403282859.

@lizhihuit
Copy link

lizhihuit commented Nov 27, 2017 via email

@YiChenCityU
Copy link

Hi How to solve the 'YAML::BadFile' problem??

@PeihongYu
Copy link

@ydt9000511 Hi, I followed the blog you posted and made some modification but the error remains. I'm wondering whether you can re-upload a copy of your modified code? The link is invalid now, it will be very helpful !~

@ydt9000511
Copy link

ydt9000511 commented Mar 11, 2018 via email

@liangsongLee
Copy link

hi,can I contact you by QQ(Mine is 752957841) or Wechat ,I am a Chinese student, I have faced some problems during the process of compiling plslam. many thanks! @ydt9000511

@xmupamizq
Copy link

@JiahengZhao Hi, I have met the same question with you when I run the ./plslam_dataset /Euroc/mav0 .
question is as follows:
terminate called after throwing an instance of 'YAML::BadFile'
what(): yaml-cpp: error at line 0, column 0: bad file
Aborted (core dumped)
Have you solve the question? Thanks .

@xmupamizq
Copy link

@ydt9000511 Hi,how you run 'plstvo_dataset'? can you tell me the specific instruction? thanks.

@jixiedaima
Copy link

问下,通过什么命令运行的pl-slam?

@xmupamizq
Copy link

@jixiedaima Hi, have you run the pl-slam successfully?

@JiahengZhao
Copy link
Author

@xmupamizq Sorry I didn't check the notification.
In fact I didn't remember the issue clearly, but one thing you need to examine is the usage of input elements.
Reread the code and find the part looks like "Usage: ./plvslam dataset_dir ***". The error "YAML::BadFile" occurs when the parameters are wrong.

@xmupamizq
Copy link

xmupamizq commented Mar 29, 2018 via email

@jixiedaima
Copy link

@xmupamizq No,but the VO algorithm is mot good.

@xmupamizq
Copy link

@jixiedaima What do you mean?

@cumtchenchang
Copy link

run error
cc@cc-K55VD:~/test/pl-svo-master/bin$ ./run_pipeline kitti/00
terminate called after throwing an instance of 'YAML::BadFile'
what(): yaml-cpp: error at line 0, column 0: bad file
Aborted (core dumped)

@JiahengZhao
Copy link
Author

JiahengZhao commented May 14, 2018 via email

@jiesico
Copy link

jiesico commented Jun 20, 2018

@ydt9000511
Hi ! I have the same question.
<<plslam_dataset: /usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 32>::plain_array() [with T = double; int Size = 16; int MatrixOrArrayOptions = 0]: Assertion `(internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (31)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed. Aborted (core dumped)>>
I want to know how to find the location of the error code when encountering this kind of problem?
I have read read this webpage:http://blog.csdn.net/wojiushixiangshi/article/details/78356271;
but I can not find where error code is.How do you find where error code is?

@cumtchenchang
Copy link

@JiahengZhao have you solved the problem? I meet the same error with you.
c@cc-System-Product-Name:~/test/pl-slam-master/build$ ./plslam_dataset kitti/00 -c ~/test/pl-slam-master/config/config/config_kitti.yaml -o 100 -s 2 -n 1000

Initializing PL-SLAM....terminate called after throwing an instance of 'std::logic_error'
what():

=============== MRPT EXCEPTION =============
void mrpt::gui::CBaseGUIWindow::createWxWindow(unsigned int, unsigned int), line 95:
MRPT compiled without wxWidgets!
void mrpt::gui::CBaseGUIWindow::createWxWindow(unsigned int, unsigned int), line 97:

Aborted (core dumped)

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