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

example cannot load #108

Open
mxgbs opened this issue Dec 2, 2017 · 3 comments
Open

example cannot load #108

mxgbs opened this issue Dec 2, 2017 · 3 comments
Assignees
Labels

Comments

@mxgbs
Copy link

mxgbs commented Dec 2, 2017

Hi,

I build opt on windows 10, 64bits, VS2015, Have set OPT_DIR=%~dp0
"%OPT_DIR%\common\optMake.bat" "%OPT_DIR%....\terra" "%OPT_DIR%." "true" and run that .bat file. After builing, opt.dll shows in \Optlang\Opt\API\release\bin. I guess that means the building is successful. However, when I tried to open the example via VS2015, following error occurs.

Documents\Optlang\Opt\examples\arap_mesh_deformation\arap_mesh_deformation.vcxproj : error : Unable to read the project file "arap_mesh_deformation.vcxproj".
\Documents\Optlang\Opt\examples\arap_mesh_deformation\arap_mesh_deformation.vcxproj(34,5): The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 7.5.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

I don't have CUDA 7.5 installed, what I have is CUDA 9.0. Do you know what change should I make to let it import the right CUDA? Thanks.

@Mx7f
Copy link
Collaborator

Mx7f commented Dec 2, 2017

Install CUDA 7.5, as it is a dependency for Opt.

Alternatively, try to get it to work with 9.0 by changing things that depend on 7.5 to things that depend on 9.0. You have the line numbers in the error message, or you can search the project files.

@Mx7f Mx7f closed this as completed Dec 2, 2017
@mxgbs
Copy link
Author

mxgbs commented Dec 2, 2017 via email

@Mx7f Mx7f self-assigned this Dec 14, 2017
@Mx7f Mx7f reopened this Dec 14, 2017
@Mx7f
Copy link
Collaborator

Mx7f commented Dec 14, 2017

Most of those errors are with OpenMesh. The version we distributed was compiled with VS2013, it is possible you will need to compile it yourself if you wish to use it with (like in #105).

Have you tried any of the non-mesh examples to see if OpenMesh is the only issue?

@Mx7f Mx7f added the question label Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants