Linker keeps including wxmsw32ud_qa, but I don't want it

General questions regarding the usage of CodeLite
User avatar
ColleenKobe
CodeLite Expert
Posts: 130
Joined: Wed Mar 30, 2016 4:31 pm
Genuine User: Yes
IDE Question: C++
Contact:

Linker keeps including wxmsw32ud_qa, but I don't want it

Post by ColleenKobe »

Dear Eranif,

I have a question about CodeLite version 17.3.0. The question involves generating a SHARED=1, Debug build.

My software versions are:

Windows 10
MinGW (don't know version number)
CodeLite 17.3.0
wxWidgets 3.2.2.1

My workspace projects all compile without error, but I get a linking error telling me:

Code: Select all

c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw32ud_qa

My WXCFG environment variable is set to gcc_dll/mswud. Here are the contents of the build.cfg there:

WXVER_MAJOR=3
WXVER_MINOR=2
WXVER_RELEASE=2
BUILD=debug
MONOLITHIC=0
SHARED=1
UNICODE=1
TOOLKIT=MSW
TOOLKIT_VERSION=
WXUNIV=0
CFG=
VENDOR=custom
OFFICIAL_BUILD=0
DEBUG_FLAG=1
DEBUG_INFO=default
RUNTIME_LIBS=dynamic
USE_EXCEPTIONS=1
USE_RTTI=1
USE_THREADS=1
USE_AUI=1
USE_GUI=1
USE_HTML=1
USE_MEDIA=1
USE_OPENGL=1
USE_QA=0
USE_PROPGRID=1
USE_RIBBON=1
USE_RICHTEXT=1
USE_STC=1
USE_WEBVIEW=1
USE_XML=1
USE_XRC=1
COMPILER=gcc
COMPILER_VERSION=
CC=gcc
CXX=g++
CFLAGS=
CPPFLAGS=
CXXFLAGS=-std=c++17
LDFLAGS=

I see the flag USE_QA, which I'm guessing is related to wxmsw32ud_qa, my missing file, is set to 0, which I would guess means "omit." But the linker is still looking for it, can't find it, and is flagging it as an error.

So on a lark, I changed the 0 to 1, saved the build.cfg file, and rebuilt. I still got the error.

What should USE_QA be set to if I don't want or need it in my build?

Thank you.

Colleen