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

Compilation error #5

Open
fabienbaldacci opened this issue Aug 8, 2018 · 7 comments
Open

Compilation error #5

fabienbaldacci opened this issue Aug 8, 2018 · 7 comments

Comments

@fabienbaldacci
Copy link

I get many compilation errors.

  • Line3D doesn't compile, but I guess it's just for comparison purpose so I can avoid it
  • I get a compilation error (my version of eigen is 3.3.4):

/home/fab/Prog/semidense-lines/src/Optimizer.cc:1255:1: required from here
/usr/include/eigen3/Eigen/src/Core/AssignEvaluator.h:834:3: error: static assertion failed: YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY
EIGEN_CHECK_BINARY_COMPATIBILIY(Func,typename ActualDstTypeCleaned::Scalar,typename Src::Scalar);

@shidahe
Copy link
Owner

shidahe commented Aug 8, 2018

It seems this error happens to ORB-SLAM2 as well.
Maybe you can try these two possible solutions:
raulmur/ORB_SLAM2#68 (comment)
raulmur/ORB_SLAM2#202 (comment)

@fabienbaldacci
Copy link
Author

Thanks for the reply. I get it to compile after fixing Line3D too (because a .so is required to build yours).
Now I get a segmentation fault while running the first example :
./Examples/Monocular/mono_euroc Vocabulary/ORBvoc.bin Examples/Monocular/EuRoC.yaml Data/mav0/cam0/data Examples/Monocular/EuRoC_TimeStamps/MH01.txt

Camera Parameters:

  • fx: 458.654
  • fy: 457.296
  • cx: 367.215
  • cy: 248.375
  • k1: -0.283408
  • k2: 0.0739591
  • p1: 0.00019359
  • p2: 1.76187e-05
  • fps: 20
  • color order: RGB (ignored if grayscale)

ORB Extractor Parameters:

  • Number of Features: 1000
  • Scale Levels: 8
  • Scale Factor: 1.2
  • Initial Fast Threshold: 20
  • Minimum Fast Threshold: 7
    Offline semi-dense mapping and line segment extraction
    updating model
    Erreur de segmentation (core dumped)

@shidahe
Copy link
Owner

shidahe commented Aug 11, 2018

Could you check your input data path? The directory structure is different for Vicon Room sequences and Machine Hall sequences in EuRoC dataset.

@fabienbaldacci
Copy link
Author

Unfortunately my path is right. I also can get the segmentation fault a little bit later :

ORB Extractor Parameters:

  • Number of Features: 1000
  • Scale Levels: 8
  • Scale Factor: 1.2
  • Initial Fast Threshold: 20
  • Minimum Fast Threshold: 7
    Offline semi-dense mapping and line segment extraction
    updating model

Start processing sequence ...
Images in the sequence: 3682

Erreur de segmentation (core dumped)

@arenas7307979
Copy link

I face the same problem...

@xinzhichao
Copy link

Unfortunately my path is right. I also can get the segmentation fault a little bit later :

ORB Extractor Parameters:

* Number of Features: 1000

* Scale Levels: 8

* Scale Factor: 1.2

* Initial Fast Threshold: 20

* Minimum Fast Threshold: 7
  Offline semi-dense mapping and line segment extraction
  updating model

Start processing sequence ... Images in the sequence: 3682

Erreur de segmentation (core dumped)

i get the same problem, could you tell me how do you solve it?

@fgxhxx
Copy link

fgxhxx commented Dec 26, 2023

Unfortunately my path is right. I also can get the segmentation fault a little bit later :
ORB Extractor Parameters:

* Number of Features: 1000

* Scale Levels: 8

* Scale Factor: 1.2

* Initial Fast Threshold: 20

* Minimum Fast Threshold: 7
  Offline semi-dense mapping and line segment extraction
  updating model

Start processing sequence ... Images in the sequence: 3682
Erreur de segmentation (core dumped)

i get the same problem, could you tell me how do you solve it?

do you solve it?

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

5 participants