I am trying to cross compile the Pion Network Library for windows using mingw64.. These are the links where I am getting them both from ( version 5.0.4 of pion) https://github.com/splunk/pion https://sourceforge.net/projects/mingw-w64/files/
I have boost 1.60.0 and the MSYS from
**mingw-w64.sourceforge.net --> files --> External binary packages --> MSYS**
If you are wondering why I am using 5.0.4 and not the latest one is cause I have tried this also with the latest Pion Library (5.0.7) with a similar result , Pion Network Library can be built using GNU Autotools or Cmake(in 5.0.7).
These are the steps I am trying:
- Open MSYS: where I already have copied the unzipped Pion Package under /home
- run ./autogen.sh
- run ./configure --host=x86_64-w64-mingw32 --build=x86_64-pc-windows
This is some of the last lines in my ouput:
checking for a BSD-compatible install... /bin/install -c
./configure: line 20372: AX_COMPILER_VENDOR: command not found
checking for specific CPU architecture... no
checking for debugging... no
checking for plug-ins directory... /usr/local/share/pion/plugins
./configure: line 20659: syntax error near unexpected token `1.35'
./configure: line 20659: AX_BOOST_BASE(1.35)
After this it of course crashes and does not finish the configure...
I have tried removing the line with AX_BOOST_BASE, including the brackets inside like so ([1.35]), tried removing the version and parenthesis, setting the BOOST_ROOT path in MSYS, including the --with-boost=/path/to/boost, making sure that the directory of boost is with the right format of boost_1_60_0.
None of the above works.. I am running out of ideas and was wondering if anybody has successfully resolved a problem like this before.