Skip to content

Build instructions for ubuntu 18.04 #6

@dreamcat4

Description

@dreamcat4

Hi there. This is not a bug or anything. I'm just posting the commands / instructions / guide how to build this on ubuntu 18.04. And then register the dll in PlayOnLinux.

Hope it will be useful to somebody out there.

git clone https://github.com/jhernberg/wineasio.git
cd wineasio

# install wine headers, and winegcc / windbuild, for the 3.16 dev version, into /opt/wine-devel
wget -q https://dl.winehq.org/wine-builds/Release.key -O- | sudo apt-key add -
sudo apt-add-repository -y https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-get install -y wine-devel wine-devel-dev
sed -i -e 's|INCLUDE_PATH          =|INCLUDE_PATH          = -I/opt/wine-devel/include -I/opt/wine-devel/include/wine -I/opt/wine-devel/include/wine/windows|g' Makefile64 

# install jack headers v1.9.12 (which is jack2)
sudo apt-get install -y libjack-jackd2-dev

# download steinberg asio sdk from http://www.steinberg.net/de/company/developer.html
cd ~/.dev
mkdir steinberg-asio-sdk
cd steinberg-asio-sdk
wget http://www.steinberg.net/sdk_downloads/ASIOSDK2.3.1.zip
unzip ASIOSDK2.3.1.zip
mv asiosdk*/* ./
cd ASIOSDK2.3.1
cp common/asio.h ~/.dev/wineasio

# build wineasio
cd ~/.dev/wineasio
bash ./prepare_64bit_asio
make clean

# put /opt/wine-devel/bin at the front of our path, to pickup
# the 3.16 versions of the programs 'winegcc' and 'winebuild'
PATH="/opt/wine-devel/bin:$PATH" make -f Makefile64

# build of wineasio complete.
# if everything worked (no errors!), then we should now have the file: 'wineasio.dll.so'

# copy the .so into the wine folder, for the version of wine used by your Virtual Drive
# here i am using wine 3.16, which is the current development release
cp wineasio.dll.so ~/.PlayOnLinux/wine/linux-amd64/3.16/lib64/wine/wineasio.dll.so

# The PlayOnLinux Install Wizard always defaults to 32-bits
# So we must create a Virtual Drive manually, as 64bits first

# Then select the Virtual Drive, then the last 'Misc' Tab, and Click the Button:
# 'Open a shell'
# Then type
wine64 --version
wine64 regsvr32 wineasio.dll
# it should then report back
# 'regsvr32: Successfully registered DLL 'wineasio.dll'
exit

Tested with ableton live suite 10, and jack2 (1.9.22). Working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions