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

Mac make iOs-arm64=1 failure #7

Open
reimondhill opened this issue Jun 15, 2018 · 3 comments
Open

Mac make iOs-arm64=1 failure #7

reimondhill opened this issue Jun 15, 2018 · 3 comments

Comments

@reimondhill
Copy link

I am trying to make the library for iOS and I am running from mac OSX termial

That's the error I get

CROSS_COMPILE:
Machine reported by compiler is: x86_64-apple-darwin17.6.0
Machine reported by uname is: Darwin
Building for system iOs and architecture arm64
mkdir -p Generated
o Generated/Devices.mak OpenHome/Net/T4/Templates/DvUpnpMakeDevices.tt -a xml:OpenHome/Net/Service/Services.xml
make: o: No such file or directory
make: [Generated/Devices.mak] Error 1 (ignored)
Attention: a makefile has been re-generated.
mkdir -p Generated
o Generated/Proxies.mak OpenHome/Net/T4/Templates/CpUpnpMakeProxies.tt -a xml:OpenHome/Net/Service/Services.xml
make: o: No such file or directory
make: [Generated/Proxies.mak] Error 1 (ignored)
Attention: a makefile has been re-generated.
mkdir -p Build/Obj/iOS-arm64/Release/
mkdir -p Build/Include
mkdir -p Build/Include/OpenHome
mkdir -p Build/Include/OpenHome/Net
mkdir -p Build/Include/OpenHome/Net/Core
mkdir -p Build/Include/OpenHome/Net/C
mkdir -p Build/Include/OpenHome/Net/Cpp
rsync -u OpenHome/Net/ControlPoint/Proxies/.h Build/Include/OpenHome/Net/Core
rsync -u OpenHome/Net/Device/Providers/
.h Build/Include/OpenHome/Net/Core
rsync -u OpenHome/Net/Bindings/C/ControlPoint/Proxies/.h Build/Include/OpenHome/Net/C
rsync -u OpenHome/Net/Bindings/C/Device/Providers/
.h Build/Include/OpenHome/Net/C
rsync -u OpenHome/Net/Bindings/Cpp/ControlPoint/Proxies/.h Build/Include/OpenHome/Net/Cpp
rsync -u OpenHome/Net/Bindings/Cpp/Device/Providers/
.h Build/Include/OpenHome/Net/Cpp
make: *** No rule to make target dependencies/iOs-arm64/ohNet-iOs-arm64-Release/lib/libohNetCore.a', needed by proxies'. Stop.

@SimonChisholm
Copy link
Member

ohNetGenerated depends on binaries from the ohNet project. You can fetch them by first

  • cloning the ohdevtools repo (to the same directory as ohNetGenerated)
  • running ./go fetch --all --platform=iOs-arm64 from the ohNetGenerated directory

@reimondhill
Copy link
Author

reimondhill commented Jun 15, 2018 via email

@SimonChisholm
Copy link
Member

Have you checked out the ohdevtools repo to the same directory as ohNetGenerated?

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

2 participants