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

Cannot open include file: 'pangolin/pangolin_export.h': No such File or Directory #915

Closed
twistxj opened this issue Mar 23, 2024 · 6 comments

Comments

@twistxj
Copy link

twistxj commented Mar 23, 2024

I am compiling o n windows. I am not using vs. I am just running the cmake —build . Command and I get that error. The file is where it is supposed to be. I am running it in git bash.

@christian-rauch
Copy link
Collaborator

That header file used to be auto-generated on Windows and removed recently via 1bb1c59 in #906. You should not see this issue on the newest master. How are you using Pangolin? Are you using a release build or a tagged version? Can you try on the current master?

@twistxj
Copy link
Author

twistxj commented Mar 25, 2024

I am in the master branch. I am using it as depicted in this repo through python. But just to be clear I am having issues even installing pangolin. I haven’t even gotten a chance to use it as I get this error during the make build phase of the installation.

https://github.com/uoip/stereo_msckf

@christian-rauch
Copy link
Collaborator

Are you also on the latest commit (52e84ae)? The repo does not contain any references to this file (pangolin_export.h) anymore.

Could you also provide a more detailed log to see where this header is imported?

@twistxj
Copy link
Author

twistxj commented Mar 26, 2024

i believe i am in the latest. Here is what git shows :
commit 3ac794aff96c3db103ec2bbc298ab013eaf6f6e8 (HEAD -> master, origin/master, origin/HEAD)
Merge: 015f3bf bb51f61
Author: uoip tinyfeimi@gmail.com
Date: Wed Jan 24 01:01:31 2018 +0800

Merge pull request #2 from martinarroyo/master

Fixes installation in virtualenvs

I wills how some of the errors, it's a bunch of hte same:
M:\gitRepos\pangolin\include\pangolin\platform.h(45,13): error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory [M:\gitRepos\pangolin\build\src_pangolin.vcxproj]
(compiling source file '../../src/video/drivers/mirror.cpp')

unpack.cpp
M:\gitRepos\pangolin\include\pangolin\platform.h(45,13): error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory [M:\gitRepos\pangolin\build\src_pangolin.vcxproj]
(compiling source file '../../src/video/drivers/unpack.cpp')

join.cpp
M:\gitRepos\pangolin\include\pangolin\platform.h(45,13): error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory [M:\gitRepos\pangolin\build\src_pangolin.vcxproj]
(compiling source file '../../src/video/drivers/join.cpp')

merge.cpp
M:\gitRepos\pangolin\include\pangolin\platform.h(45,13): error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory [M:\gitRepos\pangolin\build\src_pangolin.vcxproj]
(compiling source file '../../src/video/drivers/merge.cpp')

json.cpp
M:\gitRepos\pangolin\include\pangolin\platform.h(45,13): error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory [M:\gitRepos\pangolin\build\src_pangolin.vcxproj]
(compiling source file '../../src/video/drivers/json.cpp')

Generating Code...
Compiling...
thread.cpp
M:\gitRepos\pangolin\include\pangolin\platform.h(45,13): error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory [M:\gitRepos\pangolin\build\src_pangolin.vcxproj]
(compiling source file '../../src/video/drivers/thread.cpp')

video_viewer.cpp
M:\gitRepos\pangolin\include\pangolin\platform.h(45,13): error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory [M:\gitRepos\pangolin\build\src_pangolin.vcxproj]
(compiling source file '../../src/tools/video_viewer.cpp')

display_win.cpp
M:\gitRepos\pangolin\include\pangolin\platform.h(45,13): error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory [M:\gitRepos\pangolin\build\src_pangolin.vcxproj]
(compiling source file '../../src/display/device/display_win.cpp')

uvc_mediafoundation.cpp
M:\gitRepos\pangolin\include\pangolin\platform.h(45,13): error C1083: Cannot open include file: 'pangolin/pangolin_export.h': No such file or directory [M:\gitRepos\pangolin\build\src_pangolin.vcxproj]
(compiling source file '../../src/video/drivers/uvc_mediafoundation.cpp')

@christian-rauch
Copy link
Collaborator

i believe i am in the latest. Here is what git shows :
commit 3ac794aff96c3db103ec2bbc298ab013eaf6f6e8 (HEAD -> master, origin/master, origin/HEAD)
Merge: 015f3bf bb51f61
Author: uoip tinyfeimi@gmail.com
Date: Wed Jan 24 01:01:31 2018 +0800

There is no such commit in the Pangolin repo and even if there were, it would be more than 6 years old. You may use a Pangolin fork from someone else. Please only report issues to this repo if you use a stable release or the current master from this repo. Try again with the upstream repo (i.e. this one you are reporting the issue to).

@twistxj
Copy link
Author

twistxj commented Mar 29, 2024

i'll close this because you're right i was using the wrong repo. i am running into another issue but will create a separate topic.

@twistxj twistxj closed this as completed Mar 29, 2024
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

2 participants