From jsutton at dolphin-com.co.uk Thu Feb 20 06:39:50 2020
From: jsutton at dolphin-com.co.uk (James Sutton)
Date: Thu Feb 20 07:16:05 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
Message-ID: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
Hi,
When I run xsd on macOS 10.15 it gives the message
: Bad CPU type in executable
I guess it was built for 32-bit processor.
I hope there is a new 64-bit build available
with best regards
James Sutton
Dolphin Computing
www.dolphin-com.co.uk
www.seescore.co.uk
www.playscore.co
From boris at codesynthesis.com Thu Feb 20 09:05:22 2020
From: boris at codesynthesis.com (Boris Kolpackov)
Date: Thu Feb 20 09:12:04 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
Message-ID:
James Sutton writes:
> When I run xsd on macOS 10.15 it gives the message
>
> : Bad CPU type in executable
>
> I guess it was built for 32-bit processor.
I am pretty sure.
> I hope there is a new 64-bit build available
We are working on getting all our tools easily buildable on every
platform from source packages but things are moving slower than
hoped and XSD/e is still probably at least several months out.
I think in the meantime the easiest would be to build the XSD/e
compiler from source using the old method, which shouldn't be
too onerous on Mac OS (unlike, say, Windows). Let me know if
this will work and I will send you the instructions.
From jsutton at dolphin-com.co.uk Fri Feb 21 08:20:41 2020
From: jsutton at dolphin-com.co.uk (James Sutton)
Date: Fri Feb 21 08:39:23 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To:
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
Message-ID:
Hi Boris,
Thanks for the prompt reply. I can try building it, but I cannot spend much time on it. Alternatively I might try to hack the built code as I want to make a small xsd change
with best regards
James Sutton
Dolphin Computing
www.dolphin-com.co.uk
www.seescore.co.uk
www.playscore.co
> On 20 Feb 2020, at 14:05, Boris Kolpackov wrote:
>
> James Sutton writes:
>
>> When I run xsd on macOS 10.15 it gives the message
>>
>> : Bad CPU type in executable
>>
>> I guess it was built for 32-bit processor.
>
> I am pretty sure.
>
>
>> I hope there is a new 64-bit build available
>
> We are working on getting all our tools easily buildable on every
> platform from source packages but things are moving slower than
> hoped and XSD/e is still probably at least several months out.
>
> I think in the meantime the easiest would be to build the XSD/e
> compiler from source using the old method, which shouldn't be
> too onerous on Mac OS (unlike, say, Windows). Let me know if
> this will work and I will send you the instructions.
>
>
From boris at codesynthesis.com Fri Feb 21 08:37:25 2020
From: boris at codesynthesis.com (Boris Kolpackov)
Date: Fri Feb 21 08:44:09 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To:
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
Message-ID:
James Sutton writes:
> I can try building it, but I cannot spend much time on it.
It shouldn't take more than an hour if everything goes well.
> Alternatively I might try to hack the built code as I want to
> make a small xsd change
That could also be an option. Let me know if you still want the
instructions and, if so, which version of XSD/e you are using
(xsde --version).
From jsutton at dolphin-com.co.uk Fri Feb 21 09:36:15 2020
From: jsutton at dolphin-com.co.uk (James Sutton)
Date: Sun Feb 23 00:36:48 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To:
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
Message-ID: <1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
Hi Boris,
Please send the instructions. Hacking the code is definitely non-trivial
The version is 3.2.0 (xsde-3.2.0-i686-macosx) (I cannot do xsde --version!)
James Sutton
Dolphin Computing
www.dolphin-com.co.uk
www.seescore.co.uk
www.playscore.co
> On 21 Feb 2020, at 13:37, Boris Kolpackov wrote:
>
> James Sutton writes:
>
>> I can try building it, but I cannot spend much time on it.
>
> It shouldn't take more than an hour if everything goes well.
>
>
>> Alternatively I might try to hack the built code as I want to
>> make a small xsd change
>
> That could also be an option. Let me know if you still want the
> instructions and, if so, which version of XSD/e you are using
> (xsde --version).
From boris at codesynthesis.com Mon Feb 24 08:43:58 2020
From: boris at codesynthesis.com (Boris Kolpackov)
Date: Mon Feb 24 08:50:50 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To: <1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
<1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
Message-ID:
James Sutton writes:
> Please send the instructions.
1. First get XCode Command Line Tools unless you already have them
installed:
$ xcode-select --install
$ g++ --version
2. Download Xerces-C++ from:
http://xerces.apache.org/xerces-c/download.cgi
3. Build Xerces-C++:
$ tar -xfJ xerces-c-3.2.2.tar.bz2
$ cd xerces-c-3.2.2
$ ./configure --disable-threads --disable-network \
--disable-shared CXXFLAGS=-O2 CFLAGS=-O2
$ cd src
$ make -j 8
4. Download xsde+dep package from:
https://www.codesynthesis.com/download/xsde/3.2/xsde-3.2.0-1+dep.tar.bz2
5. Build XSD/e compiler:
$ tar xfJ xsde-3.2.0-1+dep.tar.bz2
$ cd xsde-3.2.0-1+dep
$ make \
CPPFLAGS=-I../xerces-c-3.2.2/src \
LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
-j 8
$ xsde/xsde --version
Let me know if there are any issues.
From jsutton at dolphin-com.co.uk Mon Feb 24 11:39:22 2020
From: jsutton at dolphin-com.co.uk (James Sutton)
Date: Tue Feb 25 05:38:26 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To:
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
<1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
Message-ID:
Hi Boris,
All fine up to the last step.
1. There were lots of errors with the default shell:
sed: 1: "s \ xsd-frontend/ \ /Us ...": unterminated substitute pattern
2. so I changed to bash. The log is attached.
Main problems seem to be missing KeyList and missing boost
I could download boost but I'm not sure where it should be installed
best regards
James Sutton
Dolphin Computing
www.dolphin-com.co.uk
www.seescore.co.uk
www.playscore.co
> On 24 Feb 2020, at 13:43, Boris Kolpackov wrote:
>
> James Sutton writes:
>
>> Please send the instructions.
>
> 1. First get XCode Command Line Tools unless you already have them
> installed:
>
> $ xcode-select --install
> $ g++ --version
>
> 2. Download Xerces-C++ from:
>
> http://xerces.apache.org/xerces-c/download.cgi
>
> 3. Build Xerces-C++:
>
> $ tar -xfJ xerces-c-3.2.2.tar.bz2
> $ cd xerces-c-3.2.2
> $ ./configure --disable-threads --disable-network \
> --disable-shared CXXFLAGS=-O2 CFLAGS=-O2
> $ cd src
> $ make -j 8
>
> 4. Download xsde+dep package from:
>
> https://www.codesynthesis.com/download/xsde/3.2/xsde-3.2.0-1+dep.tar.bz2
>
> 5. Build XSD/e compiler:
>
> $ tar xfJ xsde-3.2.0-1+dep.tar.bz2
> $ cd xsde-3.2.0-1+dep
> $ make \
> CPPFLAGS=-I../xerces-c-3.2.2/src \
> LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
> -j 8
> $ xsde/xsde --version
>
> Let me know if there are any issues.
From boris at codesynthesis.com Tue Feb 25 05:46:26 2020
From: boris at codesynthesis.com (Boris Kolpackov)
Date: Tue Feb 25 05:53:23 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To:
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
<1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
Message-ID:
Hi James,
James Sutton writes:
> 1. There were lots of errors with the default shell:
>
> sed: 1: "s \ xsd-frontend/ \ /Us ...": unterminated substitute pattern
Yeah, BSD sed...
> 2. so I changed to bash.
Good call.
> Main problems seem to be missing KeyList
That's probably caused by Clang compiling by default in the C++
standard higher than 98/03. I believe adding -std=c++03 should
work around this issue.
> and missing boost
>
> I could download boost but I'm not sure where it should be installed
Uh, right, I forgot 3.2.0 still needs Boost (and I would rather eat bark
than build Boost ;-)). And we will need to find some oldish version since
they broken the API at some point.
Can I suggest upgrading to the latest pre-release of XSD/e (which doesn't
require Boost)? It is mostly bug-fixes compared to 3.2.0 and there shouldn't
aren't any backwards-incompatible changes so it should be a matter of
rebuilding libxsde and rebuilding your application.
If that works, the xsde+dep package is here (libxsde is inside, in the
xsde/libxsde subdirectory):
https://codesynthesis.com/~boris/tmp/xsde/xsde-3.3.0.a11+dep.tar.bz2
You should be able to build with this command line:
$ make \
CXX="clang++ -std=c++03" \
CPPFLAGS=-I../xerces-c-3.2.2/src \
LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
-j 8
$ xsde/xsde/xsde --version
But let me know if you want to stay on 3.2.0 and I will go find some
bark, I mean, Boost.
From jsutton at dolphin-com.co.uk Tue Feb 25 07:02:00 2020
From: jsutton at dolphin-com.co.uk (James Sutton)
Date: Tue Feb 25 07:15:08 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To:
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
<1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
Message-ID: <5E1328EB-B23D-4F91-A686-479ACE523F20@dolphin-com.co.uk>
Hi Boris,
Unfortunately that doesn't work:
bash-3.2$ make \
> CXX="clang++ -std=c++03" \
> CPPFLAGS=-I../xerces-c-3.2.2/src \
> LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
> -j 8
make: *** No rule to make target `/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde', needed by `/Users/james/Downloads/xsde-3.3.0.a11+dep/'. Stop.
bash-3.2$
I can wait till you make the release in a few months
best regards
James Sutton
Dolphin Computing
www.dolphin-com.co.uk
www.seescore.co.uk
www.playscore.co
> On 25 Feb 2020, at 10:46, Boris Kolpackov wrote:
>
> Hi James,
>
> James Sutton writes:
>
>> 1. There were lots of errors with the default shell:
>>
>> sed: 1: "s \ xsd-frontend/ \ /Us ...": unterminated substitute pattern
>
> Yeah, BSD sed...
>
>
>> 2. so I changed to bash.
>
> Good call.
>
>
>> Main problems seem to be missing KeyList
>
> That's probably caused by Clang compiling by default in the C++
> standard higher than 98/03. I believe adding -std=c++03 should
> work around this issue.
>
>
>> and missing boost
>>
>> I could download boost but I'm not sure where it should be installed
>
> Uh, right, I forgot 3.2.0 still needs Boost (and I would rather eat bark
> than build Boost ;-)). And we will need to find some oldish version since
> they broken the API at some point.
>
> Can I suggest upgrading to the latest pre-release of XSD/e (which doesn't
> require Boost)? It is mostly bug-fixes compared to 3.2.0 and there shouldn't
> aren't any backwards-incompatible changes so it should be a matter of
> rebuilding libxsde and rebuilding your application.
>
> If that works, the xsde+dep package is here (libxsde is inside, in the
> xsde/libxsde subdirectory):
>
> https://codesynthesis.com/~boris/tmp/xsde/xsde-3.3.0.a11+dep.tar.bz2
>
> You should be able to build with this command line:
>
> $ make \
> CXX="clang++ -std=c++03" \
> CPPFLAGS=-I../xerces-c-3.2.2/src \
> LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
> -j 8
>
> $ xsde/xsde/xsde --version
>
> But let me know if you want to stay on 3.2.0 and I will go find some
> bark, I mean, Boost.
From boris at codesynthesis.com Tue Feb 25 09:09:03 2020
From: boris at codesynthesis.com (Boris Kolpackov)
Date: Tue Feb 25 09:16:02 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To: <5E1328EB-B23D-4F91-A686-479ACE523F20@dolphin-com.co.uk>
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
<1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
<5E1328EB-B23D-4F91-A686-479ACE523F20@dolphin-com.co.uk>
Message-ID:
Hi James,
James Sutton writes:
> bash-3.2$ make \
> > CXX="clang++ -std=c++03" \
> > CPPFLAGS=-I../xerces-c-3.2.2/src \
> > LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
> > -j 8
> make: *** No rule to make target `/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde', needed by `/Users/james/Downloads/xsde-3.3.0.a11+dep/'. Stop.
Hm, this is strange.
I got hold of a Mac OS machine (with just Command Line Tools installed)
and tried it myself. I didn't get your error but had to fix a compile
error and tweak the command line a bit.
So using xsde-3.3.0.a12+dep[1] with the following command line I got
a working XSD/e compiler executable:
$ make \
CXX="clang++ -std=c++03" \
CPPFLAGS=-I../xerces-c-3.2.2/src \
LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
LIBS="-framework CoreServices" \
-j 8
If you want to get to the bottom of this, it must be something about
your setup, most likely make version. Here are the versions of the
relevant programs on my machine:
$ which make
/usr/bin/make
$ make --version
GNU Make 3.81
$ which bash
/bin/bash
$ bash --version
GNU bash, version 3.2.57(1)-release
I am also using stock BSD sed:
$ which sed
/usr/bin/sed
$ clang++ --version
Apple clang version 11.0.0 (clang-1100.0.33.12)
I've tried to build from both the default shell and bash and both
worked fine.
[1] https://codesynthesis.com/~boris/tmp/xsde/xsde-3.3.0.a12+dep.tar.bz2
From jsutton at dolphin-com.co.uk Tue Feb 25 09:49:11 2020
From: jsutton at dolphin-com.co.uk (James Sutton)
Date: Tue Feb 25 09:59:35 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To:
References: <234705E4-1B4F-49B7-95F9-5D3B7B341808@dolphin-com.co.uk>
<1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
<5E1328EB-B23D-4F91-A686-479ACE523F20@dolphin-com.co.uk>
Message-ID:
Sorry Boris,
my own stupid fault. I inadvertently deleted the xsde directory!
However I couldn't guess the correction to the ambiguous shared_ptr and other errors:
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:231:43: error: reference to 'shared_ptr' is ambiguous
struct CustomDataMap: map > {};
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:20:13: note: candidate found by name lookup is 'shared_ptr'
using cutl::shared_ptr;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:3740:28: note: candidate found by name lookup is
'std::__1::shared_ptr'
class _LIBCPP_TEMPLATE_VIS shared_ptr
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:231:54: error: 'CustomDataMap' does not refer to a value
struct CustomDataMap: map > {};
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:231:16: note: declared here
struct CustomDataMap: map > {};
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:231:69: error: expected class name
struct CustomDataMap: map > {};
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:65:17: error: reference to 'shared_ptr' is ambiguous
shared_ptr& p ((*map)[entry]);
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:20:13: note: candidate found by name lookup is 'shared_ptr'
using cutl::shared_ptr;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:3740:28: note: candidate found by name lookup is
'std::__1::shared_ptr'
class _LIBCPP_TEMPLATE_VIS shared_ptr
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:67:21: error: use of undeclared identifier 'p'
if (p == 0)
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:68:19: error: use of undeclared identifier 'p'
p = shared_ptr (new (shared) CustomDataMap);
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:68:23: error: reference to 'shared_ptr' is ambiguous
p = shared_ptr (new (shared) CustomDataMap);
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:20:13: note: candidate found by name lookup is 'shared_ptr'
using cutl::shared_ptr;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:3740:28: note: candidate found by name lookup is
'std::__1::shared_ptr'
class _LIBCPP_TEMPLATE_VIS shared_ptr
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:68:34: error: 'CustomDataMap' does not refer to a value
p = shared_ptr (new (shared) CustomDataMap);
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:231:16: note: declared here
struct CustomDataMap: map > {};
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:76:31: error: reference to 'shared_ptr' is ambiguous
(*p)[L""] = shared_ptr ();
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:20:13: note: candidate found by name lookup is 'shared_ptr'
using cutl::shared_ptr;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:3740:28: note: candidate found by name lookup is
'std::__1::shared_ptr'
class _LIBCPP_TEMPLATE_VIS shared_ptr
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:76:42: error: 'CustomDataMap' does not refer to a value
(*p)[L""] = shared_ptr ();
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:231:16: note: declared here
struct CustomDataMap: map > {};
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:76:58: error: expected expression
(*p)[L""] = shared_ptr ();
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:76:21: error: use of undeclared identifier 'p'
(*p)[L""] = shared_ptr ();
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:80:23: error: use of undeclared identifier 'p'
map = p.get ();
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:528:32: error: no member named 'iterator' in 'CXX::Hybrid::(anonymous
namespace)::Context::CustomDataMap'; did you mean 'operator'?
CustomDataMap::iterator i (map_->find (base));
~~~~~~~~~~~~~~~^~~~~~~~
operator
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:528:41: error: expected a type
CustomDataMap::iterator i (map_->find (base));
^
c++ /Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/serializer/options.cxx
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:529:21: error: use of undeclared identifier 'i'
if (i != map_->end ())
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:529:32: error: no member named 'end' in 'CXX::Hybrid::(anonymous
namespace)::Context::CustomDataMap'
if (i != map_->end ())
~~~~ ^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:530:25: error: use of undeclared identifier 'i'
map = i->second.get ();
^
/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde/cxx/hybrid/tree-name-processor.cxx:558:33: error: no member named 'find' in 'CXX::Hybrid::(anonymous
namespace)::Context::CustomDataMap'
if (map && map->find (L"") != map->end ())
~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Could you send the binary you built please?
James
> On 25 Feb 2020, at 14:09, Boris Kolpackov wrote:
>
> Hi James,
>
> James Sutton writes:
>
>> bash-3.2$ make \
>>> CXX="clang++ -std=c++03" \
>>> CPPFLAGS=-I../xerces-c-3.2.2/src \
>>> LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
>>> -j 8
>> make: *** No rule to make target `/Users/james/Downloads/xsde-3.3.0.a11+dep/xsde/xsde', needed by `/Users/james/Downloads/xsde-3.3.0.a11+dep/'. Stop.
>
> Hm, this is strange.
>
> I got hold of a Mac OS machine (with just Command Line Tools installed)
> and tried it myself. I didn't get your error but had to fix a compile
> error and tweak the command line a bit.
>
> So using xsde-3.3.0.a12+dep[1] with the following command line I got
> a working XSD/e compiler executable:
>
> $ make \
> CXX="clang++ -std=c++03" \
> CPPFLAGS=-I../xerces-c-3.2.2/src \
> LDFLAGS=-L../xerces-c-3.2.2/src/.libs \
> LIBS="-framework CoreServices" \
> -j 8
>
> If you want to get to the bottom of this, it must be something about
> your setup, most likely make version. Here are the versions of the
> relevant programs on my machine:
>
> $ which make
> /usr/bin/make
> $ make --version
> GNU Make 3.81
>
> $ which bash
> /bin/bash
> $ bash --version
> GNU bash, version 3.2.57(1)-release
>
> I am also using stock BSD sed:
>
> $ which sed
> /usr/bin/sed
>
> $ clang++ --version
> Apple clang version 11.0.0 (clang-1100.0.33.12)
>
> I've tried to build from both the default shell and bash and both
> worked fine.
>
> [1] https://codesynthesis.com/~boris/tmp/xsde/xsde-3.3.0.a12+dep.tar.bz2
From boris at codesynthesis.com Tue Feb 25 09:54:52 2020
From: boris at codesynthesis.com (Boris Kolpackov)
Date: Tue Feb 25 10:01:48 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To:
References:
<1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
<5E1328EB-B23D-4F91-A686-479ACE523F20@dolphin-com.co.uk>
Message-ID:
Hi James,
James Sutton writes:
> However I couldn't guess the correction to the ambiguous shared_ptr
> and other errors:
I've published another pre-release with the fix so just get that
and you should be good to go:
https://codesynthesis.com/~boris/tmp/xsde/xsde-3.3.0.a12+dep.tar.bz2
From jsutton at dolphin-com.co.uk Wed Feb 26 08:52:32 2020
From: jsutton at dolphin-com.co.uk (James Sutton)
Date: Wed Feb 26 09:23:52 2020
Subject: [xsde-users] using xsd/e on macOS 10.15
In-Reply-To:
References:
<1B8B6639-01BB-4CBA-AFEE-0ABCE631B3F0@dolphin-com.co.uk>
<5E1328EB-B23D-4F91-A686-479ACE523F20@dolphin-com.co.uk>
Message-ID: <79FC22AB-D2BF-40DD-B261-878A4A0F4A0D@dolphin-com.co.uk>
Thanks for your help Boris,
All built and working with modified schema using 3.3.0
James Sutton
Dolphin Computing
www.dolphin-com.co.uk
www.seescore.co.uk
www.playscore.co
> On 25 Feb 2020, at 14:54, Boris Kolpackov wrote:
>
> Hi James,
>
> James Sutton writes:
>
>> However I couldn't guess the correction to the ambiguous shared_ptr
>> and other errors:
>
> I've published another pre-release with the fix so just get that
> and you should be good to go:
>
> https://codesynthesis.com/~boris/tmp/xsde/xsde-3.3.0.a12+dep.tar.bz2
>