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

Failed to build on MacOS #1

Open
missinglink opened this issue Sep 28, 2023 · 14 comments
Open

Failed to build on MacOS #1

missinglink opened this issue Sep 28, 2023 · 14 comments
Assignees
Labels
bug Something isn't working

Comments

@missinglink
Copy link

/code/s/sfspeechrecognizer-example master = ❯ ssc build -r
• cleaned: /Users/peter/code/socketsupply/sfspeechrecognizer-example/build/mac +12ms
• preparing build for mac +12ms
• package prepared +9ms
• Building extension: SFSpeechRecognizer ((mac) desktop-arm64) +12ms
• Unable to build extension (SFSpeechRecognizer) +790ms
• Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: error: no such file or directory: '/Users/peter/code/socketsupply/sfspeechrecognizer-example/build/mac/socket-runtime-sfspeechrecognizer-example-dev.app/Contents/Resources/socket/extensions/SFSpeechRecognizer/extension'
 +0ms
ls build/mac/socket-runtime-sfspeechrecognizer-example-dev.app/Contents/Resources/socket/extensions/SFSpeechRecognizer
.rw-r--r--@ 555Ki peter 28 Sep 11:22 -I  init.o
/code/s/sfspeechrecognizer-example master = ❯ uname -a
Darwin mac 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun  8 22:29:26 PDT 2023; root:xnu-8796.121.3~8/RELEASE_ARM64_T8112 arm64 arm Darwin
/code/s/sfspeechrecognizer-example master = ❯ clang++ --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
@jwerle
Copy link
Member

jwerle commented Sep 28, 2023

Are you using the latest SSC from master?

@lamiazar
Copy link
Member

@jwerle I'm also unable to build with the latest SSC from master(I'm on macOS as well)

@jwerle
Copy link
Member

jwerle commented Sep 28, 2023

@jwerle I'm also unable to build with the latest SSC from master(I'm on macOS as well)

Do you have the same error?

@lamiazar
Copy link
Member

Do you have the same error?
No:

• Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: error: no such file or directory: './src/extension.mm'
clang: warning: -lsocket-runtime: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -framework UniformTypeIdentifiers: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -framework CoreBluetooth: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -framework Network: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -framework UserNotifications: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -framework WebKit: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -framework Cocoa: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -framework OSLog: 'linker' input unused [-Wunused-command-line-argument]
 +0ms

@jwerle
Copy link
Member

jwerle commented Sep 28, 2023

@missinglink @lamiazar can you share the output of ssc --version? I have:

0.4.0 (7f236cc8)
Installation path: /Users/werle/repos/socketsupply/socket-stable/build/npm/darwin/packages/@socketsupply/socket-darwin-arm64/

@jwerle jwerle added the bug Something isn't working label Sep 28, 2023
@lamiazar
Copy link
Member

ssc -v
0.4.0 (62e26b02)
Installation path: /Users/lamia/socket/build/npm/darwin/packages/@socketsupply/socket-darwin-arm64/

@jwerle
Copy link
Member

jwerle commented Sep 28, 2023

@lamiazar Can you try building with the latest master branch from https://github.com/socketsupply/socket ?

@lamiazar
Copy link
Member

lamiazar commented Sep 28, 2023

@lamiazar Can you try building with the latest master branch from https://github.com/socketsupply/socket ?

yes, I'm on it

@jwerle
Copy link
Member

jwerle commented Sep 28, 2023

Your commit 62e26b02 seen when you do ssc --version is not the latest build from master. It refers to this moment in time: socketsupply/socket@62e26b02

@lamiazar
Copy link
Member

@jwerle I'm using this : ./bin/clean.sh && VERBOSE=1 ./bin/install.sh to build, but I'm still getting a different version

ssc -v
0.4.0 (8ddca54c)

@lamiazar
Copy link
Member

I still have this issue after I updated ssc, Joe is working on it.

@lamiazar
Copy link
Member

@jwerle I don't get any errors now but the window opens without any output

Image

@jwerle
Copy link
Member

jwerle commented Dec 19, 2023

@lamiazar no worries, we'll get to this when we can. More pressing issues currently!

@lamiazar
Copy link
Member

@lamiazar no worries, we'll get to this when we can. More pressing issues currently!

Sounds good, I'm doing some cleanup for the project board and I tried to reproduce this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants