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

A problem in hybridizng project #66

Open
N1vS opened this issue Dec 9, 2018 · 28 comments
Open

A problem in hybridizng project #66

N1vS opened this issue Dec 9, 2018 · 28 comments

Comments

@N1vS
Copy link

N1vS commented Dec 9, 2018

After I try to hybridize my project I try to run it but it shows an error saying:
'Dll load error when loading ConsoleApp2_CUDA.vs2015.dll: 126'.
I then try to click on the cpp file and it says the file has been deleted or removed (even when i try after hybridizing).
screenshot_2

Could it be a problem in the hybridizing of the project?

im using VS 2017 community with CUDA 9.2.

@JeWaVe
Copy link
Contributor

JeWaVe commented Dec 9, 2018 via email

@N1vS
Copy link
Author

N1vS commented Dec 9, 2018

Which program should I upgrade?
also, after hybridization i try to look for a dll or cpp file in the directory and didn't find any.

@JeWaVe
Copy link
Contributor

JeWaVe commented Dec 10, 2018 via email

@N1vS
Copy link
Author

N1vS commented Dec 10, 2018

Even though I had the latest version, I tried reinstalling it and I still get the same error.

@JeWaVe
Copy link
Contributor

JeWaVe commented Dec 10, 2018

Do you have any code marked as [Kernel] or [EntryPoint]?
Do you build the generated native project after having built the managed project?
The cpp and the cu files are generated by Hybridizer.

@N1vS
Copy link
Author

N1vS commented Dec 10, 2018

I have [EntryPoint] for the simple "hello from gpu" function.
I now see that when building the cuda project it fails and saying:
"Hybridizer error 0X609E: We cannot find a valid CUDA device on the system, please check your CUDA installation" even though it is installed properly.

@JeWaVe
Copy link
Contributor

JeWaVe commented Dec 10, 2018 via email

@N1vS
Copy link
Author

N1vS commented Dec 12, 2018

Hey, after looking for the problem I found that for some reason the visual studio would automatically try to use my Intel graphic card on the laptop, i changed that to my gtx 1050 and now i managed to make the simple print project with the hybridizer work.
but for some reason, now when i try to hybridize my own project it doesn't successfully build displaying these errors.

screenshot_3

i also upgraded the CUDA to v10.0

@JeWaVe
Copy link
Contributor

JeWaVe commented Dec 12, 2018 via email

@N1vS
Copy link
Author

N1vS commented Jan 2, 2019

I tried to contact you through the email, can you tell me how to send you the reproducer?

@JeWaVe
Copy link
Contributor

JeWaVe commented Jan 2, 2019 via email

@N1vS
Copy link
Author

N1vS commented Jan 2, 2019

And how do I export it from the visual studio?

@JeWaVe
Copy link
Contributor

JeWaVe commented Jan 2, 2019 via email

@N1vS
Copy link
Author

N1vS commented Jan 2, 2019

I sent it to you in via email.

@JeWaVe
Copy link
Contributor

JeWaVe commented Jan 11, 2019

I don't see the email. It may have landed in my spam directory. Could you send it again please?

@AbdelAzizAbdelLatef
Copy link

I had the sampe problem. I am using Windows 10, Visual Studio 2019, CUDA 10.1 and Hybridizer 1.3.0 "Released Sep. 5th 2019". Although I have followed all your steps, I keep getting the same error:
Dll load error when loading Hello_World_CUDA.dll: 126
even when I try to run any of your examples on GitHub.
What should I do now?

@JeWaVe
Copy link
Contributor

JeWaVe commented Sep 16, 2019

Hi @AbdelAzizAbdelLatef

difficult to help you with that few details.

  1. Can you run any native cuda project (new project -> cuda runtime)?
  2. Can you make sure Hello_World_CUDA.dll is indeed in the output directory
  3. Can you run depends on Hello_World_CUDA.dll ? And see what's wrong ?

Here is a basic troubleshooter : https://stackoverflow.com/a/57953249/1669370

@AbdelAzizAbdelLatef
Copy link

I tried your solution, but nothing worked. Only a recorded video showing ALL steps from scratch can convince me the Hybridizer actually works.

@JeWaVe
Copy link
Contributor

JeWaVe commented Sep 26, 2019

here you are : https://www.youtube.com/watch?v=ZbA-2XO1JP0

@fduguet
Copy link
Contributor

fduguet commented Sep 26, 2019

@AbdelAzizAbdelLatef , in order to facilitate troubleshooting, could you please provide us the license number you received from our licensing system. There may be an issue in the licensing which would result in the problems you are facing.

@AbdelAzizAbdelLatef
Copy link

This is what happens when I try yo build the satellite project (CUDA) of any code I make.
Mine
And this is if I tried your examples.
Yours

@JeWaVe
Copy link
Contributor

JeWaVe commented Sep 27, 2019 via email

@altimesh altimesh deleted a comment from AbdelAzizAbdelLatef Sep 27, 2019
@fduguet
Copy link
Contributor

fduguet commented Sep 27, 2019

[FATAL] : Internal Error ! may be a license issue. Can you also show us the full build log ? (in Output subwindow)

@AbdelAzizAbdelLatef
Copy link

Yes, I activated it.

The full log:
HYBRIDIZER -- Build status file missing, generating
Build satellite full path: C:\Program Files\Altimesh\Hybridizer Essentials\bin\Hybridizer.VSIntegration.BuildSatellite.exe
Hybridizer binary full path: C:\Program Files\Altimesh\Hybridizer Essentials\bin\Hybridizer.exe
Satellite working directory: D:\Hybridizer\HelloWorld_CUDA\hybridizer-generated-sources
Builtins: C:\Program Files\Altimesh\Hybridizer Essentials\include\hybridizer.cuda.builtins
Hybridizer out: [INFO] : entering BuildSatellite program
Hybridizer out: [INFO] : Loaded assembly from D:\Hybridizer\HelloWorld\bin\x64\Debug\HelloWorld.exe
Hybridizer out: [INFO] : Done searching assembly for hybridizer directives
Hybridizer out: Hybridizer full path: C:\Program Files\Altimesh\Hybridizer Essentials\bin\Hybridizer.exe
Hybridizer out: [DONE]
C:\Program Files\Altimesh\Hybridizer Essentials\vsintegration\Hybridizer.targets(80,13): error : [FATAL] : Internal Error !

@fduguet
Copy link
Contributor

fduguet commented Oct 1, 2019

@AbdelAzizAbdelLatef, It seems there has been a problem in your license activation. Could you please send by email at contact(at)altimesh.com the values of registry key entry HKEY_CURRENT_USER\Software\ALTIMESH\Hybridizer ? We will support you from email.

@JeWaVe
Copy link
Contributor

JeWaVe commented Oct 1, 2019 via email

@AbdelAzizAbdelLatef
Copy link

Both done.

@Jupiter-OM
Copy link

A license problem? Seriously?
That can't be true, can it?

Is there anyone here who was able to solve the problem 'Dll load error when loading ConsoleApp2_CUDA.vs2015.dll: 126'
only by changing or upgrading their license?

What kind of failed spagetticode blows half the application to Kingdom come because of a licensing error?
I don't think I want to let this thing mess up my graphics driver xD

Well, I'll keep searching for a while.
And get an education license.

Damn, this could be such an awesome application.
If I find a solution, I'll post it here :)

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

5 participants