Jump to content
OpenSplice DDS Forum
Sign in to follow this  
jerry2017

Problem Building OpenSplice on Cygwin 64

Recommended Posts

Hello,

 

I am new to OpenSplice and interested in being able to build the community edition of OpenSplice on Cygwin 64-bit.  The Cygwin host is Windows 7 Enterprise with Microsoft Visual Studio Enterprise 2015 installed.  I have tried to build, on Cygwin, 2 different source bundles "DDS Community Edition Source v6.7" and another from GitHub "OpenSplice-Master" each producing a build link error more than half-way into the build (i.e., each bundle produces the same error).  The problem seems to be associated with an error referencing the file "xstddef", which is a Visual Studio file.   Any help on what I need to do to get past this error would greatly be appreciated.  I've made sure that I have all the most recent Visual Studio 2015 updates which OpenSplice requires.  If I need to supply anything else here please let me know. 

 

Below is a snippet of the compile error.

 

Thanks!

 

JS

 

 

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

.

.

.

/home/titanx/opensplice-master/bin/ospl_wincmd cl /home/titanx/opensplice-master/src/api/dcps/isocpp2/code/org/opensplice/core/EntityDelegate.cpp
EntityDelegate.cpp
/home/titanx/opensplice-master/bin/ospl_wincmd cl /home/titanx/opensplice-master/src/api/dcps/isocpp2/code/org/opensplice/core/EntitySet.cpp
EntitySet.cpp
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef(239): error C2678: binary '<': no operator found which takes a left-hand operand of type 'const org::opensplice::core::ObjectDelegate::weak_ref_type' (or there is no acceptable conversion)

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\system_error(436): note: could be 'bool std::operator <(const std::error_condition &,const std::error_condition &) noexcept'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\system_error(427): note: or       'bool std::operator <(const std::error_code &,const std::error_code &) noexcept'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef(239): note: while trying to match the argument list '(const org::opensplice::core::ObjectDelegate::weak_ref_type, const org::opensplice::core::ObjectDelegate::weak_ref_type)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef(238): note: while compiling class template member function 'bool std::less<_Kty>::operator ()(const _Ty &,const _Ty &) const'
        with
        [
            _Kty=org::opensplice::core::ObjectDelegate::weak_ref_type,
            _Ty=org::opensplice::core::ObjectDelegate::weak_ref_type
        ]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xtree(1994): note: see reference to function template instantiation 'bool std::less<_Kty>::operator ()(const _Ty &,const _Ty &) const' being compiled
        with
        [
            _Kty=org::opensplice::core::ObjectDelegate::weak_ref_type,
            _Ty=org::opensplice::core::ObjectDelegate::weak_ref_type
        ]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\type_traits(421): note: see reference to class template instantiation 'std::less<_Kty>' being compiled
        with
        [
            _Kty=org::opensplice::core::ObjectDelegate::weak_ref_type
        ]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutility(265): note: see reference to class template instantiation 'std::is_empty<_Ty1>' being compiled
        with
        [
            _Ty1=std::less<org::opensplice::core::ObjectDelegate::weak_ref_type>
        ]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xtree(957): note: see reference to class template instantiation 'std::_Tree_comp_alloc<_Traits>' being compiled
        with
        [
            _Traits=std::_Tset_traits<org::opensplice::core::ObjectDelegate::weak_ref_type,std::less<org::opensplice::core::ObjectDelegate::weak_ref_type>,std::allocator<org::opensplice::core::ObjectDelegate::weak_ref_type>,false>
        ]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\set(44): note: see reference to class template instantiation 'std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,false>>' being compiled
        with
        [
            _Kty=org::opensplice::core::ObjectDelegate::weak_ref_type,
            _Pr=std::less<org::opensplice::core::ObjectDelegate::weak_ref_type>,
            _Alloc=std::allocator<org::opensplice::core::ObjectDelegate::weak_ref_type>
        ]
C:\dvel\cygwin64\home\titanx\opensplice-master\src\api\dcps\isocpp2\include\org/opensplice/core/WeakReferenceSet.hpp(56): note: see reference to class template instantiation 'std::set<T,std::less<_Kty>,std::allocator<_Ty>>' being compiled
        with
        [
            T=org::opensplice::core::ObjectDelegate::weak_ref_type,
            _Kty=org::opensplice::core::ObjectDelegate::weak_ref_type,
            _Ty=org::opensplice::core::ObjectDelegate::weak_ref_type
        ]
C:\dvel\cygwin64\home\titanx\opensplice-master\src\api\dcps\isocpp2\include\org/opensplice/core/EntitySet.hpp(91): note: see reference to class template instantiation 'org::opensplice::core::WeakReferenceSet<org::opensplice::core::ObjectDelegate::weak_ref_type>' being compiled
make[5]: *** [/home/titanx/opensplice-master/setup/makefiles/rules.mak:192: org/opensplice/core/EntitySet.obj] Error 2
make[5]: Leaving directory '/home/titanx/opensplice-master/src/api/dcps/isocpp2/bld/x86_64.win64-release'
make[4]: *** [makefile:4: link] Error 2
make[4]: Leaving directory '/home/titanx/opensplice-master/src/api/dcps/isocpp2'
make[3]: *** [/home/titanx/opensplice-master/setup/makefiles/subsystem.mak:5: isocpp2.ss_link] Error 2
make[3]: Leaving directory '/home/titanx/opensplice-master/src/api/dcps'
make[2]: *** [/home/titanx/opensplice-master/setup/makefiles/subsystem.mak:5: dcps.ss_link] Error 2
make[2]: Leaving directory '/home/titanx/opensplice-master/src/api'
make[1]: *** [/home/titanx/opensplice-master/setup/makefiles/subsystem.mak:5: api.ss_link] Error 2
make[1]: Leaving directory '/home/titanx/opensplice-master/src'
make: *** [/home/titanx/opensplice-master/setup/makefiles/subsystem.mak:5: src.ss_link] Error 2


titanx@titanx-PC ~/opensplice-master
$
 

 

 

 

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 

Here is my configuration:

 

 

titanx@titanx-PC ~/opensplice-master
$ source ./configure

Setup at 13:36:01 for Vortex - Version 6.7.170523OSS - Date 2017-07-08

Available targets are:
1 > x86.win32-debug
2 > x86.win32-dev
3 > x86.win32-release
4 > x86_64.win64-debug
5 > x86_64.win64-dev
6 > x86_64.win64-release
Please select a target number:6

VS: OK - using compiler version: 19.00.24215.1 for VS: 2015
Visual Studio builder: OK - using devenv.com
C#: OK - using version 1.3.1.60616
MAKE: OK - using GNU Make 4.2.1
Perl: OK - using perl version='5.22.3';
Qt: Warning - Cannot find Qt libraries. Standalone demo package will not be built.
   Please specifiy QTLIBDIR.
GAWK: OK - using GNU Awk 4.1.4, API: 1.1 (GNU MPFR 3.1.5-p2, GNU MP 6.1.2)
BISON: OK - using bison (GNU Bison) 3.0.4
FLEX: OK - using 2.6.4
JAVAC: Warning - you should set JAVA_COMPATJAR to rt.jar for Java 1.6
OK - using JAVAC version 1.8.0_131
   JAVA_HOME is /cygdrive/c/PROGRA~1/Java/JDK18~1.0_1
TAO: Warning - No TAO found
   TAO environment not set, disabling TAO related features.
JACORB: Warning - JACORB_HOME not set
   JACORB environment not set, disabling JACORB related features.
GSOAP: OK - using GSOAP version
  setting GSOAPHOME to /usr/local
DOXYGEN: OK
GOOGLE PROTOCOL BUFFERS: PROTOBUF_HOME has not been set
Warning - Protobuf compiler environment not set, building of all protobuf related features is disabled.
C99: OK - supported
Configuration OK

Variable Setup
SPLICE_TARGET = x86_64.win64-release
SPLICE_HOST = x86_64.win64-release
OSPL_HOME = /home/titanx/opensplice-master
SPLICE_ORB =
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×