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

Cant build Desktop. Maybe a wails version mismatch ? #73

Open
gedw99 opened this issue Jul 10, 2024 · 1 comment
Open

Cant build Desktop. Maybe a wails version mismatch ? #73

gedw99 opened this issue Jul 10, 2024 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Jul 10, 2024

I cant build from the desktop folder. I suspect it's a wails version mismatch.

apple@192 desktop % go install github.com/wailsapp/wails/v2/cmd/wails@latest
go: downloading github.com/wailsapp/wails/v2 v2.9.1
go: downloading atomicgo.dev/cursor v0.1.1
go: downloading atomicgo.dev/keyboard v0.2.8
apple@192 desktop % wails dev
Wails CLI v2.9.1

Updated go.mod to use Go '1.20'
Updating go.mod to use Wails 'v2.9.1'
Executing: go mod tidy
  • Generating bindings: 
  ERROR   
          main.go:21:12: pattern build/appicon.png: no matching files found
          
          exit status 1
 ♥   If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
apple@192 desktop % wails build
Wails CLI v2.9.1


# Build Options

Platform(s)        | darwin/arm64                                                      
Compiler           | /opt/homebrew/bin/go                                              
Skip Bindings      | false                                                             
Build Mode         | production                                                        
Devtools           | false                                                             
Frontend Directory | /Users/apple/workspace/go/src/junk/renpy-graphviz/desktop/frontend
Obfuscated         | false                                                             
Skip Frontend      | false                                                             
Compress           | false                                                             
Package            | true                                                              
Clean Bin Dir      | false                                                             
LDFlags            |                                                                   
Tags               | []                                                                
Race Detector      | false                                                             

# Building target: darwin/arm64

  • Generating bindings:   ERROR   
          main.go:21:12: pattern build/appicon.png: no matching files found
          
          exit status 1

  ERROR   
          main.go:21:12: pattern build/appicon.png: no matching files found
          
          exit status 1
 ♥   If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
@gedw99 gedw99 changed the title wails version mismatch ? Cant build Desktop. Maybe a wails version mismatch ? Jul 10, 2024
@gedw99
Copy link
Author

gedw99 commented Jul 10, 2024

ah. v2.0.0 is need according to README.md...

apple@192 desktop % go install github.com/wailsapp/wails/v2/cmd/[email protected]
apple@192 desktop % wails dev                                               
Wails CLI v2.0.0



ERROR: :5: unknown directive: toolchain

If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

apple@192 desktop % wails build
Wails CLI v2.0.0

App Type: 		desktop
Platforms: 		darwin/arm64
Compiler: 		/opt/homebrew/bin/go
Skip Bindings: 		false
Build Mode: 		Production
Obfuscated: 		false
Skip Frontend: 		false
Compress: 		false
Package: 		true
Clean Build Dir: 	false
LDFlags: 		""
Tags: 			[]
Race Detector: 		false



ERROR: :5: unknown directive: toolchain

If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

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