Skip to content
This repository was archived by the owner on Sep 20, 2025. It is now read-only.
This repository was archived by the owner on Sep 20, 2025. It is now read-only.

Path Error on Windows & gofmt error due to error generating type. #45

Description

@vaiktorg

Description

  1. When generating wrappers in windows, go confuses "\" depending on the method used for getting the file name. This can be fixed with: preHeader := filepath.ToSlash(headerName) on line 361 of types/generate.go
  2. As soon as this fix was done, gofmt throws an error saying it expects a symbol and found newline. Output as attachment. output.txt

Details

Go version go1.11.5
Godot version based on the output: /c/Users/*****/scoop/shims/godot (3.0.6
Godot-Go version/commit hash 1746202
OS windows/amd64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions