Compilation OpenWNS on Cygwin x64

Asked by Falk

Hi,

finally I managed to compile OpenWNS on Cygwin.
Additionally to the symbolic links listed in the documentation I had to add:

ln -s /usr/lib/libboost_filesystem-gcc-mt-s.a /usr/lib/libboost_filesystem.a

Furthermore:

line 39 ff in ./framework/library/src/evaluation/statistics/dlref.cpp
int has to be uint32_t

line 102 and 202 in ./framework/library/src/scheduler/grouper/TreeBasedGrouper.cpp
/-operator in wns::Power only accepts const, so I helped me with this:

const wns::Power meanBsInterferenceHelper = meanBsInterference;
const uint32_t usershelper = combination.size();
meanBsInterference = wns::Power( meanBsInterferenceHelper /usershelper);

in ./framework/library/src/ldk/tools/tests/CompressorTest.cpp and ./modules/dll/glue/src/tests/BERMeasurementReportingTest.cpp
I had to comment all "CPPUNIT_ASSERT_EQUAL()" s.

Regards,
Falk

Question information

Language:
English Edit question
Status:
Solved
For:
openWNS-Documentation Edit question
Assignee:
No assignee Edit question
Solved by:
Maciej Muehleisen
Solved:
Last query:
Last reply:
Revision history for this message
Best Maciej Muehleisen (mue-comnets) said :
#1

Hi,

thank you for the update on adjustments for Cygwin. Anyways we have
stopped further effort on Cygwin. The problem is that most of the python
packages are not available for Cygwin and it seems like a lot of work to
port them there. Most likely you will not be able to use Wrowser with
Cygwin. Also scipy is used in some places.

Greats,

Maciej

Falk wrote:
> New question #92937 on openWNS-Documentation:
> https://answers.launchpad.net/openwns-documentation/+question/92937
>
> Hi,
>
> finally I managed to compile OpenWNS on Cygwin.
> Additionally to the symbolic links listed in the documentation I had to add:
>
> ln -s /usr/lib/libboost_filesystem-gcc-mt-s.a /usr/lib/libboost_filesystem.a
>
> Furthermore:
>
> line 39 ff in ./framework/library/src/evaluation/statistics/dlref.cpp
> int has to be uint32_t
>
> line 102 and 202 in ./framework/library/src/scheduler/grouper/TreeBasedGrouper.cpp
> /-operator in wns::Power only accepts const, so I helped me with this:
>
> const wns::Power meanBsInterferenceHelper = meanBsInterference;
> const uint32_t usershelper = combination.size();
> meanBsInterference = wns::Power( meanBsInterferenceHelper /usershelper);
>
> in ./framework/library/src/ldk/tools/tests/CompressorTest.cpp and ./modules/dll/glue/src/tests/BERMeasurementReportingTest.cpp
> I had to comment all "CPPUNIT_ASSERT_EQUAL()" s.
>
> Regards,
> Falk
>
>

Revision history for this message
Falk (kingsnoopy) said :
#2

Thanks Maciej Muehleisen, that solved my question.