wiki:ObexWin32

OpenOBEX on Win32

The question wether/how OpenOBEX compiles/runs on win32 pops up now and then. Here is a general overview and a short checklist.

Please note: There is a complete prebuilt win32 package available. See ObexDownloads

Does OpenOBEX compile on win32?

Yes. It has been tested with various native compilers and MinGW32 as cross-compiler. For a quick guide see the steps below.

The following compile environment for Windows (32bit) are at your options:

The proper Makefiles and Visual Studion project can be created with the not-yet-available CMake support. With the current autotools, only the last two are supported.

Does OpenOBEX run on win32? Is it useable?

OpenOBEX requires backends for each transport. Your options include:

  • USB: libusb-win32, works
  • BT: MS BT stack, should work (Windows XP SP2)
  • IrDA: native winsock2, should work
  • Tcp/Ip?: native winsock2 , should work (IPv6-only on Windows XP, IPv4/IPv6 with Windows Vista)
  • Serial: native, custom transport code needed

Quick guide to compile OpenOBEX native on win32

  • Install one of the supported compilers
  • Install libusb-win32
  • Install the Platform SDK (for MinGW and Cygwin, you need to copy some .h files)
  • Get OpenOBEX from SVN (release 1.3 will not work)
  • Read the INSTALL.Win32 that comes with the win32 patch set
Last modified 5 years ago Last modified on 04/29/08 23:52:52