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

Visual Studio 2015 - project load failed #41

Closed
pegasone opened this issue Jul 30, 2016 · 13 comments
Closed

Visual Studio 2015 - project load failed #41

pegasone opened this issue Jul 30, 2016 · 13 comments

Comments

@pegasone
Copy link

pegasone commented Jul 30, 2016

Project load fails when trying to open src\Windows\somoclu\somoclu.sln (1.6.1) in Visual Studio Community 2015 Update 3 on Windows 10. The error message in Solution Explorer is,: "The project requires user input. Reload the project for more information." What am I missing?

@xgdgsc
Copy link
Collaborator

xgdgsc commented Aug 1, 2016

Have you tried reloading the project as the message says?

@pegasone
Copy link
Author

pegasone commented Aug 1, 2016

Yes, that's the first thing that I did.

@xgdgsc
Copy link
Collaborator

xgdgsc commented Aug 1, 2016

Does the Output console show CUDA version not found? If so modify version number in somoclu.vcxproj:

  <ImportGroup Label="ExtensionSettings">
    <Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 7.5.props" />
  </ImportGroup>

and

  <ImportGroup Label="ExtensionTargets">
    <Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 7.5.targets" />
  </ImportGroup>

to the CUDA version you installed.

@pegasone
Copy link
Author

pegasone commented Aug 1, 2016

CUDA is not installed to my system (using an AMD GPU). I just want to build a console version of somoclu on my machine. The python version seems to work as expected and apparently can use all 8 logical processors, I would like to be able to do the same from a command prompt.

@xgdgsc
Copy link
Collaborator

xgdgsc commented Aug 1, 2016

Then you can try removing the above mentioned sections from somoclu.vcxproj.

@pegasone
Copy link
Author

pegasone commented Aug 2, 2016

After deleting those sections I can load the solution/project. Build fails with two errors:

C3016: 'som_y': index variable in OpenMP 'for' statement must have signed integral type

C2371: 'int8_t': redefinition; different basic types

I am using the Microsoft MPI SDK v7.1

@xgdgsc
Copy link
Collaborator

xgdgsc commented Aug 2, 2016

Have you deleted the CUDA macro in project settings?

@pegasone
Copy link
Author

pegasone commented Aug 3, 2016

I deleted all CUDA-related information in .vcxproj; the errors persist.

@xgdgsc xgdgsc closed this as completed in ea6ec51 Aug 4, 2016
@pegasone
Copy link
Author

pegasone commented Aug 5, 2016

Well, now it builds with no errors but it doesn't run. Three threads exit with code 1.

@xgdgsc xgdgsc reopened this Aug 5, 2016
@xgdgsc
Copy link
Collaborator

xgdgsc commented Aug 5, 2016

@pegasone How did you run it? Did you give it any arguments? I tried here with no run problem.

@pegasone
Copy link
Author

pegasone commented Aug 6, 2016

Yes, actually it fails when run in VS2015 w/o parameters. The error message "Incorrect number of mandatory parameters", as well as other information, are shown when run at the command prompt. Thanks!

@greatychaudhary
Copy link

The project requires user input. Reload the project for more information." What am I missing?

@xgdgsc
Copy link
Collaborator

xgdgsc commented Jun 29, 2020

You may need to check the vcxproj file content to see if versions and paths match you installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants