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

OPTICK_FRAME causes Access violation executing location error while binding socket #165

Open
Pikachuxxxx opened this issue Apr 24, 2022 · 0 comments

Comments

@Pikachuxxxx
Copy link

Pikachuxxxx commented Apr 24, 2022

I've used optick in the past and it still works with all my other projects, when I tried to integrate it into my engine as a static library it crashed when I use OPTICK_FRAME looks like it cannot bind the socket.

if (::bind(listenSocket, (sockaddr *)&address, sizeof(address)) == 0)
{
return true;

In my other projects I compile optick and my vulkan abstractions as a single static library and they work but my engine is a dll which uses optics as a static lib and it crashes while trying to call the winsockets bind.

============================================================

OS : Windows 10 Home
Processor : Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.60 GHz
Vulkan API Version : 1.3.194
GPU Name : NVIDIA GeForce RTX 2060
Vendor ID : 4318
Device Type : DISCRETE GPU
Driver Version : 511.316.0
OS Build : 22000.675

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

1 participant