Building wxWidgets via Visual Studio sln files -> "custom" suffix?

42 views
Skip to first unread message

Andrea Gavana

unread,
Apr 1, 2023, 6:19:40 AM4/1/23
to wx-users
Hello wxWidgets users,

    I would like to preemptively say that I know almost nothing about C++, much less about Visual Studio. 

I am trying to build wxWidgets on Windows 10 64 bit using the provided Visual Studio sln solutions.

After the build is finished, I get DLLs with a "_custom" suffix. Is there a way *not* to have that suffix using the sln files?

My apologies in advance for the dumb question.

Thank you.

Andrea.

Carsten Arnholm

unread,
Apr 1, 2023, 6:35:28 AM4/1/23
to wx-u...@googlegroups.com
On 2023-04-01 11:24, Andrea Gavana wrote:
> I am trying to build wxWidgets on Windows 10 64 bit using the provided
> Visual Studio sln solutions.
>
> After the build is finished, I get DLLs with a "_custom" suffix. Is
> there a way *not* to have that suffix using the sln files?

Hi, I cannot answer the exact question, but I also use wxWidgets with
the Visual Studio compiler under Windows 10 64 bit. I do not use the
provided .sln solutions for building wxWidgets, instead I use the
provided nmake file and find it much easier.

Here is my script for doing that
https://github.com/arnholm/cpde_3rdparty/blob/master/msvc/build_wx.cmd

This builds static libraries, but you can build DLLs by setting
SHARED=1. There are no "_custom" suffixes this way.

Carsten Arnholm

PB

unread,
Apr 1, 2023, 9:45:56 AM4/1/23
to wx-users
Hi,

the "_custom" part is the so-called vendor, which for the non-official builds defaults to just "custom" (it's empty in the official binaries).

If you want to change it when using provided MSVS solutions, follow the instructions here:

Regards,
PB

Andrea Gavana

unread,
Apr 1, 2023, 3:04:12 PM4/1/23
to wx-u...@googlegroups.com
Hi,

Thank you for your answer. Apparently I forgot that I didn’t need this when building wxPython, it’s taken care of already - assuming it will ever build. But good to know 😊.

Andrea.




--
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
---
You received this message because you are subscribed to a topic in the Google Groups "wx-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wx-users/82hNkxPaoe4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wx-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/9f2ad212-040e-419a-a528-5d02b470e23an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages