Browse Source

rewrite the installation instructions

tags/v1.0.0
Joakim Hernberg 7 years ago
parent
commit
11c87de92b
1 changed files with 32 additions and 14 deletions
  1. +32
    -14
      README

+ 32
- 14
README View File

@@ -11,25 +11,43 @@ CONTENTS
Copy the file asio.h from Steinberg's ASIO SDK to the wineasio source
directory.

Due to a bug in winegcc, and the confusion regarding where 32bit wine dlls go
on the various 64bit linux distributions, I've hardcoded support for
/usr/lib/wine and /usr/lib32/wine into the makefile. If your distro uses
another path edit the makefile and replace /usr/lib32/wine with the correct
path. Look at the last line of the makefile. This wineasio should compile and
install 32 bit wineasio on all 64 bit linux'.

Wineasio by default uses 32 bit float as sample format (tha native format used
Wineasio by default uses 32 bit float as sample format (the native format used
by Jack), if this causes a problem for an ASIO host, wineasio can be built to
use 32 bit integer by defining the ASIOST32INT variable. Do this by defining
ASIOST32INT in the source code or by passing it as an argument to the compiler.

To build, type (as a normal user): make
To install, type (as root): make install
To register the wineasio object, type (as a normal user): regsvr32 wineasio.dll
Do the following to build for 32 bit Wine.
# make clean
# make

The last command registers the ASIO COM object in the default prefix "~/.wine".
If you use another prefix you will have to explicitly specify it,
like "env WINEPREFIX=~/asioapp regsvr32 wineasio.dll"
To install (substite with the path to the 32 bit wine libs for your distro).
# sudo cp wineasio.dll.so /usr/lib32/wine/wineasio.dll.so

To build for 64bit Wine a shellscript has been added to modify asio.h and make
it compatible with both 32 and 64bit Wine/Linux. A separate Makefile has also
been added for 64bit.

Do the following to build for 64bit Wine.
# ./prepare_64bit_asio
# make clean
# make -f Makefile64

To install (substite with the path to the 64 bit wine libs for your distro).
# sudo cp wineasio.dll.so /usr/lib/wine/wineasio.dll.so

Finally the dll must be registered in the wineprefix.
For both 32 and 64 bit wine do:
# regsvr32 wineasio.dll

On a 64 bit system with wine supporting both 32 and 64 applications, regsrv32
will register the 32 bit driver in a 64 bit prefix, use the following command
to register the 64 bit driver in a 64 bit wineprefix:

# wine64 regsvr32 wineaiso.dll

regsvr32 registers the ASIO COM object in the default prefix "~/.wine".
To use another prefix specify it explicitly, like:
# env WINEPREFIX=~/asioapp regsvr32 wineasio.dll

2. GENERAL INFORMATION
----------------------


Loading…
Cancel
Save