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