-
Notifications
You must be signed in to change notification settings - Fork 561
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
Link Error for dxPtexViewer on Windows #1328
Comments
Filed as internal issue #OSD-435 |
Sorry to hear that you're still having this issue. Seems like something is misconfigured in your CMake config. In general, the same configuration which allows How are you running CMake, i.e. from the command prompt, from within Visual Studio, etc.? I typically run CMake from the command prompt and then open the resulting solution in Visual Studio, or just build from the command prompt, e.g.:
Another thing I noticed in your CMake config is that you apparently have two different OpenCL toolkits installed: NVIDIA's CUDA 12 Toolkit and another in OpenCL-SDK (possibly from Intel or AMD or Khronos?). I don't know if that's a problem, but you might try explicitly pointing to the OpenCL implementation in NVIDIA's SDK as in my example above. |
Hey
I'd like to reopen this ticket as i still having this issue unfortunatly.
I just tried to build the library and again hang at building dxPtexViewer.
Are there any solutions to this yet.
It's still the linking issue for dxPtexViewer which can't resolve the symbols:
public: void __cdecl OpenSubdiv::v3_6_0::Osd::CLD3D11VertexBuffer::UpdateData(float const *,int,int,struct _cl_command_queue *)
public: struct _cl_mem * __cdecl OpenSubdiv::v3_6_0::Osd::CLD3D11VertexBuffer::BindCLBuffer(struct _cl_command_queue *)
public: struct ID3D11Buffer * __cdecl OpenSubdiv::v3_6_0::Osd::CLD3D11VertexBuffer::BindD3D11Buffer(struct ID3D11DeviceContext *)
public: static class OpenSubdiv::v3_6_0::Osd::CLD3D11VertexBuffer * __cdecl OpenSubdiv::v3_6_0::Osd::CLD3D11VertexBuffer::Create(int,int,struct _cl_context *,struct ID3D11DeviceContext *)
Here's my CMake config:
Thanks for you help in advance :)
Cheers
Jonas
Originally posted by @jonassorgenfrei in #1154 (comment)
The text was updated successfully, but these errors were encountered: