Discussion:
Hi
John Ruizz
2014-04-27 10:34:32 UTC
Permalink
Hello... I am currently trying to configure/build wxWidgets with
Mingw-3.4.5 and I am having alot of difficulty. I have followed the
instructions posted on the wiki and still haven't been able to get it to
configure. The error I am receiving is
"checking whether the C compiler works... no
configure: error: in '/c/wxwidgets-3.0.0/build-debug' :
configure: error: C compiler cannot create executables"
I have been trying to compile wxwidgets for a few weeks now. D:
The config.log is included as an attachment.
Please help if you can, any help is appreciated!
--
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-04-27 11:07:21 UTC
Permalink
On Sun, 27 Apr 2014 03:34:32 -0700 John Ruizz wrote:

JR> Hello... I am currently trying to configure/build wxWidgets with
JR> Mingw-3.4.5

Do you have any specific reason to use a so ancient version of MinGW?
It does work (I used it to build wx only a couple of days ago), but it's
still a strange choice.

JR> "checking whether the C compiler works... no
JR> configure: error: in '/c/wxwidgets-3.0.0/build-debug' :
JR> configure: error: C compiler cannot create executables"
JR> I have been trying to compile wxwidgets for a few weeks now.

I simply don't understand this. You've been trying to do this for a few
weeks and you still haven't actually looked at config.log file yourself?
Because if you do, the problem seems to be blindingly obvious: there are
linking errors due to a version mismatch, you're using 3.4 compiler with
4.0 CRT or vice versa.

To make it perfectly clear: you've installed multiple MinGW versions on
your system and must have manually modified your PATH. So your compiler
really, actually doesn't work, just try compiling "Hello world" with it.
This has nothing to do with wxWidgets and the best way to solve your
problem is to uninstall everything you've installed so far and install a
single working version of MinGW: 3.4 if you have to, 4.8 if you don't have
any specific requirements.

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Igor Korot
2014-04-27 11:08:36 UTC
Permalink
Hi,
Hello... I am currently trying to configure/build wxWidgets with Mingw-3.4.5
and I am having alot of difficulty. I have followed the instructions posted
on the wiki and still haven't been able to get it to configure. The error I
am receiving is
"checking whether the C compiler works... no
configure: error: C compiler cannot create executables"
The config.log is included as an attachment.
Please help if you can, any help is appreciated!
Where did you get the compiler?
Are you trying a cross-platform build?
Which version of wxWidgets you are trying to build?
You use any non-default configure options?

Can you compile simple C++ code?

Thank you.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
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
Continue reading on narkive:
Loading...