Discussion:
Building WX with clang and libstdc++
Tim Burgess
2014-01-29 14:22:04 UTC
Permalink
Hi,

I'm still not able to get WX2.9.5 to build using clang whilst using
libstdc++ (I have been successful with a build for libc++, but this creates
a problem when linking against another library which does not support libc++
at all).

My latest attempt used:

../configure --enable-unicode --disable-shared --enable-debug
--with-osx_cocoa CXX=clang++ CXXCPP="clang++ -E"

This resulted in:

make: *** No rule to make target
`/Users/tim/developer/libraries/wxwidgets/build-clang-debug/lib/wx/include/o
sx_cocoa-unicode-2.9/wx/setup.h', needed by `wxregex_regcomp.o'.
Stop.

The full build log is at:

https://dl.dropboxusercontent.com/u/29578720/WXBuildLog.txt

I'm now desperate, as I seem to be caught in a Catch 22 scenario where two
libraries that my project depends on don't have a common STD library that I
can link against.

Best wishes.
Tim Burgess
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Vadim Zeitlin
2014-01-31 16:09:33 UTC
Permalink
On Wed, 29 Jan 2014 14:22:04 -0000 Tim Burgess wrote:

TB> I'm still not able to get WX2.9.5

Sorry but why exactly are you using 2.9.5 yet? It's totally obsolete now
that 3.0.0 (which is 100% compatible with it but has many fixes) was
released. I could understand if you had a working 2.9.5 installation and
didn't want to touch it at all, but if you don't even have it working, why
are you trying with it instead of using 3.0.0?

TB> My latest attempt used:
TB>
TB> ../configure --enable-unicode --disable-shared --enable-debug
TB> --with-osx_cocoa CXX=clang++ CXXCPP="clang++ -E"
TB>
TB> This resulted in:
TB>
TB> make: *** No rule to make target
TB> `/Users/tim/developer/libraries/wxwidgets/build-clang-debug/lib/wx/include/o
TB> sx_cocoa-unicode-2.9/wx/setup.h', needed by `wxregex_regcomp.o'.
TB> Stop.

I suspect lack of "make clean"/"rm -rf builddir".

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Tim Burgess
2014-02-06 09:09:38 UTC
Permalink
Hi,

Just to clarify, I stuck with 2.9 because the Windows version of the
application I'm developing uses it and I wanted to keep things in sync as
much as possible. Additionally, I definitely cleaned out my build folder
before each configure/make. I guess I'll have to bite the bullet and go 3.0
and temporarily sacrifice the attempt to have the different platform builds
use the same library versions.

Thanks for the response, as always.

Best wishes.
Tim Burgess


-----Original Message-----
From: wx-***@googlegroups.com [mailto:wx-***@googlegroups.com] On Behalf
Of Vadim Zeitlin
Sent: 31 January 2014 16:10
To: wx-***@googlegroups.com
Subject: Re: Building WX with clang and libstdc++

On Wed, 29 Jan 2014 14:22:04 -0000 Tim Burgess wrote:

TB> I'm still not able to get WX2.9.5

Sorry but why exactly are you using 2.9.5 yet? It's totally obsolete now
that 3.0.0 (which is 100% compatible with it but has many fixes) was
released. I could understand if you had a working 2.9.5 installation and
didn't want to touch it at all, but if you don't even have it working, why
are you trying with it instead of using 3.0.0?

TB> My latest attempt used:
TB>
TB> ../configure --enable-unicode --disable-shared --enable-debug
TB> --with-osx_cocoa CXX=clang++ CXXCPP="clang++ -E"
TB>
TB> This resulted in:
TB>
TB> make: *** No rule to make target
TB> `/Users/tim/developer/libraries/wxwidgets/build-clang-debug/lib/wx/i
TB> nclude/o sx_cocoa-unicode-2.9/wx/setup.h', needed by
TB> `wxregex_regcomp.o'.
TB> Stop.

I suspect lack of "make clean"/"rm -rf builddir".

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Tim Burgess
2014-02-10 20:59:57 UTC
Permalink
Just to confirm for anybody else's benefit - 3.0.0 cured my problem on the
Mac, though I'll have to do some recoding on my Windows build to bring it up
to V3 compliance.

Best wishes.
Tim Burgess


-----Original Message-----
From: wx-***@googlegroups.com [mailto:wx-***@googlegroups.com] On Behalf
Of Tim Burgess
Sent: 06 February 2014 09:10
To: wx-***@googlegroups.com
Subject: RE: Building WX with clang and libstdc++

Hi,

Just to clarify, I stuck with 2.9 because the Windows version of the
application I'm developing uses it and I wanted to keep things in sync as
much as possible. Additionally, I definitely cleaned out my build folder
before each configure/make. I guess I'll have to bite the bullet and go 3.0
and temporarily sacrifice the attempt to have the different platform builds
use the same library versions.

Thanks for the response, as always.

Best wishes.
Tim Burgess


-----Original Message-----
From: wx-***@googlegroups.com [mailto:wx-***@googlegroups.com] On Behalf
Of Vadim Zeitlin
Sent: 31 January 2014 16:10
To: wx-***@googlegroups.com
Subject: Re: Building WX with clang and libstdc++

On Wed, 29 Jan 2014 14:22:04 -0000 Tim Burgess wrote:

TB> I'm still not able to get WX2.9.5

Sorry but why exactly are you using 2.9.5 yet? It's totally obsolete now
that 3.0.0 (which is 100% compatible with it but has many fixes) was
released. I could understand if you had a working 2.9.5 installation and
didn't want to touch it at all, but if you don't even have it working, why
are you trying with it instead of using 3.0.0?

TB> My latest attempt used:
TB>
TB> ../configure --enable-unicode --disable-shared --enable-debug
TB> --with-osx_cocoa CXX=clang++ CXXCPP="clang++ -E"
TB>
TB> This resulted in:
TB>
TB> make: *** No rule to make target
TB> `/Users/tim/developer/libraries/wxwidgets/build-clang-debug/lib/wx/i
TB> nclude/o sx_cocoa-unicode-2.9/wx/setup.h', needed by
TB> `wxregex_regcomp.o'.
TB> Stop.

I suspect lack of "make clean"/"rm -rf builddir".

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...