- Joined
- Apr 17, 2017
- Messages
- 15
- Motherboard
- Gigabyte GA-H170N-WIFI
- CPU
- i5-6600
- Graphics
- RX 570
- Mac
- Mobile Phone
Hi Lisa,
I tried compiling using the script you provided but each time I've got a syntax error when invoking...
p@computer mykexts % ~/mykexts/build_whatevergreen.sh
/Users/p/mykexts/build_whatevergreen.sh: line 1: {rtf1ansiansicpg1252cocoartf2511: command not found
/Users/p/mykexts/build_whatevergreen.sh: line 2: syntax error near unexpected token `}'
/Users/p/mykexts/build_whatevergreen.sh: line 2: `\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Verdana;}'
I don't understand, I don't know what I miss...
EDIT : Now it's ok, I just forgot to add Lilu.kext (1.4.1) in whatever green master.
Whatevergreen and Lilu are now compiled as "release" from latest GitHub masters.
I'll give it a try.
My config is SMBIOS 17,1 (H530 Headless) for now.
I tried compiling using the script you provided but each time I've got a syntax error when invoking...
p@computer mykexts % ~/mykexts/build_whatevergreen.sh
/Users/p/mykexts/build_whatevergreen.sh: line 1: {rtf1ansiansicpg1252cocoartf2511: command not found
/Users/p/mykexts/build_whatevergreen.sh: line 2: syntax error near unexpected token `}'
/Users/p/mykexts/build_whatevergreen.sh: line 2: `\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Verdana;}'
I don't understand, I don't know what I miss...
EDIT : Now it's ok, I just forgot to add Lilu.kext (1.4.1) in whatever green master.
Whatevergreen and Lilu are now compiled as "release" from latest GitHub masters.
I'll give it a try.
My config is SMBIOS 17,1 (H530 Headless) for now.
depouy,
I use a script to download and compile the latest Lilu, WEG, AppleALC, etc. I'm afraid I don't remember
who to attribute it to.
First you install Xcode from the Apple store, which takes a while. I then use the shell script below here.
Make a directory for it, such as by using the terminal command
mkdir ~/mykexts
Put the script in a text file there, in a file named build_lilu.sh
You may have to change permissions to execute it:
chmod +x build_lilu.sh
Invoke it:
~/mykexts/build_kext.sh
It makes both the Debug and Release versions, which end up in their own subdirectories.
If you're not debugging, use the Release versions. Here's the script:
#!/bin/sh
git clone https://github.com/acidanthera/Lilu
git clone https://github.com/acidanthera/WhateverGreen
git clone https://github.com/acidanthera/AppleALC
git clone https://github.com/acidanthera/VirtualSMC
mkdir Debug
mkdir Release
xcodebuild -project ./Lilu/Lilu.xcodeproj -configuration Debug clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Debug
cp -r ./Debug/Lilu.kext ./WhateverGreen
cp -r ./Debug/Lilu.kext ./AppleALC
cp -r ./Debug/Lilu.kext ./VirtualSMC
xcodebuild -project ./WhateverGreen/WhateverGreen.xcodeproj -configuration Debug clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Debug
xcodebuild -project ./AppleALC/AppleALC.xcodeproj -configuration Debug clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Debug
xcodebuild -project ./VirtualSMC/VirtualSMC.xcodeproj -configuration Debug clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Debug
xcodebuild -project ./Lilu/Lilu.xcodeproj -configuration Release clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Release
xcodebuild -project ./WhateverGreen/WhateverGreen.xcodeproj -configuration Release clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Release
xcodebuild -project ./AppleALC/AppleALC.xcodeproj -configuration Release clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Release
xcodebuild -project ./VirtualSMC/VirtualSMC.xcodeproj -configuration Release clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=../Release
Last edited: