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

Cmake - Need to add Ptex debug Library Option for Visual Studio #1040

Open
adam-hartshorne opened this issue Jan 9, 2019 · 1 comment
Open

Comments

@adam-hartshorne
Copy link

When using Cmake on Windows to build a Visual studio solution, there is only the option to add PTEX_LIBRARY. In order for the resultant solution to build correctly, one needs the separate debug and release libraries to be able to be selected, otherwise the compiler complains about

error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in

when building with the debug build.

Obviously it is easy enough to rectify within Visual Studio, but it is rather annoying to have to go through all the examples and change it any time I update the OpenSubDiv library source and want to rebuild.

@jtran56
Copy link

jtran56 commented Jan 16, 2019

Filed as internal issue #OSD-252.

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