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 won't run #2538

Closed
clouds56 opened this issue Apr 25, 2019 · 2 comments · Fixed by #2540
Closed

example won't run #2538

clouds56 opened this issue Apr 25, 2019 · 2 comments · Fixed by #2540

Comments

@clouds56
Copy link
Contributor

showing the error:

error: No OpEntryPoint instruction was found. This is only allowed if the Linkage capability is being used.

according to the specific

There is at least one OpEntryPoint instruction, unless the Linkage capability is being used.

I think we could get the example update

@dj2
Copy link
Contributor

dj2 commented Apr 25, 2019

Which example are you trying to run and how are you running it?

@clouds56
Copy link
Contributor Author

this one, https://github.com/KhronosGroup/SPIRV-Tools/blob/master/examples/cpp-interface/main.cpp

cc -o test main.cpp -std=c++11 -lSPIRV-Tools -lSPIRV-Tools-link -lSPIRV-Tools-opt -lc++
./test

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

Successfully merging a pull request may close this issue.

2 participants