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

Use weakly_canonical to get executable's path #623

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

fabiopicchi
Copy link

Not sure why this was reverted, but it solves this issue @m-schuetz
#527

@fabiopicchi
Copy link
Author

Due to my lack of C++ understanding, I made this PR and I guess it doesn't really make sense. After reading a bit, I am failing to understand why you would want to know the executable's path for generatePage.

Doesn't it make more sense to simply use the current folder?

Getting the executable's path is a bit tricky as it might be a file added to PATH and, in that case, argv[0] will simply be "PotreeConverter"

@fabiopicchi
Copy link
Author

Ok, this should figure out the real executable path

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

Successfully merging this pull request may close these issues.

1 participant