Error: Unable to start program wxmsw32ud_custom_build

11 views
Skip to first unread message

Andre F

unread,
Jan 14, 2023, 6:59:27 PM1/14/23
to wx-u...@googlegroups.com

Up till now I've been using notepad & vi & then cross compiling on Linux via the command line.

I'm trying to setup wxWidgets and visual studio community 2022 on my Windows 10 machine.  I thought I set everything up OK, but I keep getting this error message.  Can someone please tell me what I forgot to do?  Please take a look at the attached png file.  I tried looking it up, but came up dry.

Things done:
1) installed visual studio community 2022
2) Downloaded wxWidgets 3.2.1 source and extracted to
c:\wxWidgets_3.2.1
3) opened wx_vc17.sln and built everything(24 of 24).
4) tried to compile a wxwidgets program and got the error, so then I tried a simple non-wxwidgets hello world 4 line program and still got the error.

5) tried building wxWidgets
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=debug
I was hoping that building it would generate the file it says is missing.  A shot in the dark and of course it didn't work.

I'm hoping you guys have seen this error and can point me in the right direction.

Regards,
error_msg.PNG

Vadim Zeitlin

unread,
Jan 14, 2023, 7:38:06 PM1/14/23
to wx-u...@googlegroups.com
On Sat, 14 Jan 2023 17:59:13 -0600 Andre F wrote:

AF> I'm trying to setup wxWidgets and visual studio community 2022 on my
AF> Windows 10 machine. I thought I set everything up OK, but I keep getting
AF> this error message.

When exactly are you getting it, i.e. what do you actually try to run? It
looks like you've configured the MSVS debugger to run the program with the
strange name "C:\...\wxmsw32ud_custom_build\n" (note the trailing new line)
and you obviously shouldn't be doing this.

AF> Please take a look at the attached png file.

BTW, did you know you can use Ctrl-C to copy the message box contents and
post it as text?

AF> I tried looking it up, but
AF> came up dry.
AF>
AF> Things done:
AF> 1) installed visual studio community 2022
AF> 2) Downloaded wxWidgets 3.2.1 source and extracted to
AF> c:\wxWidgets_3.2.1
AF> 3) opened wx_vc17.sln and built everything(24 of 24).
AF> 4) tried to compile a wxwidgets program and got the error, so then I tried
AF> a simple non-wxwidgets hello world 4 line program and still got the error.
AF> 5) tried building wxWidgets
AF>
AF> mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=debug

You would normally use either MSVC or gcc. You can use both, but you
should realize that the libraries produced by them are incompatible.

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Reply all
Reply to author
Forward
0 new messages