Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cepton_sdk3/c.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ def c_struct_to_dict(c_obj, excludes):
"aarch64": "arm64",
}

__platform_lookup = {}
__platform_lookup = {
"win32": "win",
}


def _load_sdk():
Expand All @@ -47,7 +49,7 @@ def _load_sdk():
lib_name = f"lib{name}.so"
elif pl == "darwin":
lib_name = f"lib{name}.dylib"
elif pl == "win32":
elif pl == "win" or pl == "win32":
lib_name = f"{name}.dll"
else:
raise NotImplementedError("Platform not supported!")
Expand Down