Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile OpenHome Player
11-07-2016, 01:30 PM
Post: #1
Compile OpenHome Player
Hi,
I tried to build the OpenHomePlayer by myself, but no success.
I will use Win10/VC 2015. I downloaded all available archives from here https://github.com/openhome.
A lot of headers were in the wrong directories (or included via the wrong directories) and many classes were not available at all. Anyone this a little help please?
Greetings
Hanno
Find all posts by this user
11-07-2016, 02:08 PM
Post: #2
RE: Compile OpenHome Player
(11-07-2016 01:30 PM)Hanno Wrote:  Hi,
I tried to build the OpenHomePlayer by myself, but no success.

Hi,

The simplest way to build the player is to follow the instructions in the README
found in the top level directory of the ohPlayer repository.

In summary:

- Fetch the pre-built OpenHome dependencies and include files.
The header files and libraries will be fetched to the correct location.
- Optionally edit Win32/OptionalFeatures.h to enable MP3/AAC if required.
- Build the required target from the OpenHomePlayer.sln file
The prebuilt dependencies were built with Visual Studio 2013 Express.
It is recommended to use this tool chain to build the application also.

If debug dependencies were fetched then only debug targets will build and
vice versa.
Find all posts by this user
12-07-2016, 12:06 PM
Post: #3
RE: Compile OpenHome Player
Hi,
thanks for answers.
Your Go script seems not to work, when in the path for the python environment is a space (C:\Program Files (x86)\Python\Python25\Lib)
And which Python version is recommended for this?
Using Python 25 seems not to work
Find all posts by this user
13-07-2016, 09:14 AM
Post: #4
RE: Compile OpenHome Player
(12-07-2016 12:06 PM)Hanno Wrote:  Your Go script seems not to work, when in the path for the python environment is a space (C:\Program Files (x86)\Python\Python25\Lib)
And which Python version is recommended for this?
Using Python 25 seems not to work

Hi,

I'm not aware of any python version limitations.

On Windows ActiveState Python 2.7 works without issue at the default install
location (C:\Python27\python).
Find all posts by this user
17-07-2016, 02:32 PM
Post: #5
RE: Compile OpenHome Player
Hi,
it works with Pyrhon27 and installed in a path without spaces. Thanks


Now I tried to do the same with the pipeline project
(is it the same way as above?)

git clone https://github.com/openhome/ohPiplein.git works.

But when I call
go fetch --all --debug
http://builds.openhome.org/releases/arti...-0.0.9.zip
can't be downloaded via the script. Loading the file directly via the browser works
Find all posts by this user
25-07-2016, 03:53 PM
Post: #6
RE: Compile OpenHome Player
(17-07-2016 02:32 PM)Hanno Wrote:  Now I tried to do the same with the pipeline project
(is it the same way as above?)

But when I call
go fetch --all --debug
http://builds.openhome.org/releases/arti...-0.0.9.zip
can't be downloaded via the script. Loading the file directly via the browser works

The README in repository indicates this should work.
On the Linux platform this works. It does take a long time due to the 500MB
size of the download.

I doubt this is really required for building the player dependencies. Maybe it could be removed.
Find all posts by this user
26-07-2016, 08:54 AM
Post: #7
RE: Compile OpenHome Player
(25-07-2016 03:53 PM)alzinho Wrote:  I doubt this is really required for building the player dependencies. Maybe it could be removed.

The "fetch all" can be replaced with the following to build the ohPipeline libraries.

go fetch [--debug] ohWafHelpers
go fetch [--debug] ohNet
Find all posts by this user


Forum Jump: