User forums > Help

Cannot Build SVN 12799 From Source

(1/2) > >>

Frank_CB:
Running into a problem trying to build a 64-bit version of CB from source. Downloaded and built wxWidgets-3.1.6 libraries. Using, Codeblocks_wx31_64.cbp on SVN 12777 host built with wxWidgets-3.1.5, the following file can't be found. wxmsw31u
Build Log portion

--- Code: --- sdk\scripting\bindings\sc_utils.o .objs31_64\sdk\scripting\bindings\sc_wxtypes.o .objs31_64\sdk\scripting\bindings\scriptbindings.o .objs31_64\sdk\scriptingmanager.o .objs31_64\sdk\scriptsecuritywarningdlg.o .objs31_64\sdk\scrollingdialog.o .objs31_64\sdk\sdk_events.o .objs31_64\sdk\searchresultslog.o .objs31_64\sdk\selecttargetdlg.o .objs31_64\sdk\templatemanager.o .objs31_64\sdk\tinywxuni.o .objs31_64\sdk\toolsmanager.o .objs31_64\sdk\uservarmanager.o .objs31_64\sdk\workspaceloader.o .objs31_64\sdk\xtra_res.o  -o devel31_64\codeblocks.dll -Wl,--enable-auto-image-base -Wl,--add-stdcall-alias -Wl,--enable-auto-import -Wl,--no-undefined -m64  -lshfolder -ltxml -lwxscintilla_cb -lsquirrel -lgdi32 -lwxmsw31u
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw31u
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (10 minute(s), 13 second(s))
2 error(s), 0 warning(s) (10 minute(s), 14 second(s))

--- End code ---
I can't find any reference to that file in any library. The only place that it shows up is in the Build Log so far. Am using a desktop platform with Windows 10 (64-bit).

Any ideas of whats going wrong?



stahta01:
You likely built wxWidgets wrong. How did you build it?

Tim S.

Frank_CB:
@stahta01
cd %wxwin%\build\msw
mingw32-make.exe CFG=64 BUILD=Release SHARED=1 MONOLITHIC=1 clean
mingw32-make.exe CFG=64 BUILD=Release SHARED=1 MONOLITHIC=1
mingw32-make.exe CFG=64 BUILD=Release SHARED=1 MONOLITHIC=0 clean
mingw32-make.exe CFG=64 BUILD=Release SHARED=1 MONOLITHIC=0
mingw32-make.exe CFG=64 BUILD=Release SHARED=0 MONOLITHIC=0 clean
mingw32-make.exe CFG=64 BUILD=Release SHARED=0 MONOLITHIC=0

Command line superceeds configure.gcc where shared and monolithic are both set to 1.

stahta01:

--- Quote from: Frank_CB on April 20, 2022, 01:39:46 am ---@stahta01
cd %wxwin%\build\msw
mingw32-make.exe CFG=64 BUILD=Release SHARED=1 MONOLITHIC=1 clean
mingw32-make.exe CFG=64 BUILD=Release SHARED=1 MONOLITHIC=1
mingw32-make.exe CFG=64 BUILD=Release SHARED=1 MONOLITHIC=0 clean
mingw32-make.exe CFG=64 BUILD=Release SHARED=1 MONOLITHIC=0
mingw32-make.exe CFG=64 BUILD=Release SHARED=0 MONOLITHIC=0 clean
mingw32-make.exe CFG=64 BUILD=Release SHARED=0 MONOLITHIC=0

Command line superceeds configure.gcc where shared and monolithic are both set to 1.

--- End quote ---

I never had good luck doing MONOLITHIC=0 and MONOLITHIC=1 in the same folder; I always had to delete and restart the build.

And, CB did not two years ago work with CFG=64; without editing the CB project.

CB needs SHARED=1 MONOLITHIC=1 build.

Tim S.

Frank_CB:

--- Quote ---And, CB did not two years ago work with CFG=64; without editing the CB project.
--- End quote ---

What did you actually have to edit?

Navigation

[0] Message Index

[#] Next page

Go to full version