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

How to create a debug version of this program #12

Closed
liaoksn opened this issue Nov 22, 2021 · 2 comments
Closed

How to create a debug version of this program #12

liaoksn opened this issue Nov 22, 2021 · 2 comments
Assignees

Comments

@liaoksn
Copy link

liaoksn commented Nov 22, 2021

Hi, andre
I have compiled a release version of this program, it works well with my input data . But when i use my data in debug version, it can't work , i.e some components of this program do not work. Do you have any suggestions on build a debug version of this program in visual studio ?

@andre-schulz
Copy link
Owner

Hi @zjulk,
I'm not 100% sure but after reading your issue in the main mvs-texturing repo (nmoehrle#189) I assume it might be because the debug build of mvs-texturing uses a release build of libjpeg. Can you try to compile/link a debug build of mvs-texturing against a debug build of libjpeg?

@andre-schulz andre-schulz self-assigned this Nov 22, 2021
@liaoksn
Copy link
Author

liaoksn commented Nov 23, 2021

Hi @zjulk, I'm not 100% sure but after reading your issue in the main mvs-texturing repo (nmoehrle#189) I assume it might be because the debug build of mvs-texturing uses a release build of libjpeg. Can you try to compile/link a debug build of mvs-texturing against a debug build of libjpeg?

I try to set CMAKE_CONFIGURATION_TYPES as Debug;Release in the CmakeLists under 3rdparty, mve, recompiled it . Recompile mvs-texturing with this libs, then i can run a debug version of it successfully. Thanks for your reply.

@liaoksn liaoksn closed this as completed Nov 23, 2021
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