g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
- TukingFypo
- In need of some credit
- Posts: 8
- Joined: Tue Jan 22, 2019 1:16 pm
g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
File libwx_mswu-3.1.a does not exist ANYWHERE!!! - Any ideas??? (see below)
Thanks in advance!!!!
Win7 64bits / MinGW Compiler (v.6.3.0 - Target: mingw32)
Configure Command:
==================
../wxWidgets-3.1.2/configure --enable-optimise --enable-stl --enable-unicode --disable-threads --disable-shared --enable-monolithic
COMPILE settings (wx-config --cxxflags):
===================================
-I/c/wxBuild/lib/wx/include/msw-unicode-static-3.1 -I/c/wxWidgets-3.1.2/include -D_LARGEFILE_SOURCE=unknown -D__WXMSW__
BUILD settings (wx-config --libs):
============================
-L/c/wxBuild/lib -Wl,--subsystem,windows -mwindows #####>>>/c/wxBuild/lib/libwx_mswu-3.1.a<<<##### -lwxtiff-3.1 -lwxjpeg-3.1 -lwxpng-3.1 -lwxregexu-3.1 -lwxscintilla-3.1 -lwxexpat-3.1 -lwxzlib-3.1 -lrpcrt4 -loleaut32 -lole32 -luuid -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32 -loleacc
Error on Eclipse Console
=====================
15:13:33 **** Incremental Build of configuration Debug for project wx03 ****
Info: Internal Builder is used for build
g++ -owx03.exe main.o -L/c/wxBuild/lib -Wl,--subsystem,windows -mwindows c:/wxBuild/lib/libwx_mswu-3.1.a -lwxtiff-3.1 -lwxjpeg-3.1 -lwxpng-3.1 -lwxregexu-3.1 -lwxscintilla-3.1 -lwxexpat-3.1 -lwxzlib-3.1 -lrpcrt4 -loleaut32 -lole32 -luuid -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32 -loleacc
g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
15:13:34 Build Finished. 0 errors, 0 warnings. (took 624ms)
Thanks in advance!!!!
Win7 64bits / MinGW Compiler (v.6.3.0 - Target: mingw32)
Configure Command:
==================
../wxWidgets-3.1.2/configure --enable-optimise --enable-stl --enable-unicode --disable-threads --disable-shared --enable-monolithic
COMPILE settings (wx-config --cxxflags):
===================================
-I/c/wxBuild/lib/wx/include/msw-unicode-static-3.1 -I/c/wxWidgets-3.1.2/include -D_LARGEFILE_SOURCE=unknown -D__WXMSW__
BUILD settings (wx-config --libs):
============================
-L/c/wxBuild/lib -Wl,--subsystem,windows -mwindows #####>>>/c/wxBuild/lib/libwx_mswu-3.1.a<<<##### -lwxtiff-3.1 -lwxjpeg-3.1 -lwxpng-3.1 -lwxregexu-3.1 -lwxscintilla-3.1 -lwxexpat-3.1 -lwxzlib-3.1 -lrpcrt4 -loleaut32 -lole32 -luuid -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32 -loleacc
Error on Eclipse Console
=====================
15:13:33 **** Incremental Build of configuration Debug for project wx03 ****
Info: Internal Builder is used for build
g++ -owx03.exe main.o -L/c/wxBuild/lib -Wl,--subsystem,windows -mwindows c:/wxBuild/lib/libwx_mswu-3.1.a -lwxtiff-3.1 -lwxjpeg-3.1 -lwxpng-3.1 -lwxregexu-3.1 -lwxscintilla-3.1 -lwxexpat-3.1 -lwxzlib-3.1 -lrpcrt4 -loleaut32 -lole32 -luuid -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32 -loleacc
g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
15:13:34 Build Finished. 0 errors, 0 warnings. (took 624ms)
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Hi,
You should first build wxWidgets itself.
Please check the documentation/different posts here in the forums about how to properly build the library with you specific toolchain.
Thank you.
You should first build wxWidgets itself.
Please check the documentation/different posts here in the forums about how to properly build the library with you specific toolchain.
Thank you.
- TukingFypo
- In need of some credit
- Posts: 8
- Joined: Tue Jan 22, 2019 1:16 pm
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Hi,
I did that.
After the configure command I ran make.
Thanks!!!
I did that.
After the configure command I ran make.
Thanks!!!
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Hi,
Was there any errors?
Also, what compiler did you use and what environment?
Thank you.
Was there any errors?
Also, what compiler did you use and what environment?
Thank you.
- TukingFypo
- In need of some credit
- Posts: 8
- Joined: Tue Jan 22, 2019 1:16 pm
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
I did not redirected the make output to a file, but as far as I saw, no errors.
Win7 64bits / MinGW Compiler (v.6.3.0 - Target: mingw32)
Thanks!!!
Win7 64bits / MinGW Compiler (v.6.3.0 - Target: mingw32)
Thanks!!!
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Hi,
Do you use CygWin by chance?
Using MinGW to compile wxWidgets does not require running configure. In fact it is wrong.
Did you read the documentation?
Thank you.
Do you use CygWin by chance?
Using MinGW to compile wxWidgets does not require running configure. In fact it is wrong.
Did you read the documentation?
Thank you.
- TukingFypo
- In need of some credit
- Posts: 8
- Joined: Tue Jan 22, 2019 1:16 pm
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
No. I don't use CygWin.
No need to run configure??? I'll double check the procedure and let you know.
Thanks again!!!
No need to run configure??? I'll double check the procedure and let you know.
Thanks again!!!
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Does linking to "wx_mswu-3.1" without the quotes work?
Tim S.
Tim S.
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
If you did not use CygWin, MSys2, or MSys? Then the configure should not have worked without the use of an Unix like environment.TukingFypo wrote:No. I don't use CygWin.
No need to run configure??? I'll double check the procedure and let you know.
Thanks again!!!
Are you using a Unix like environment; if yes, which one?
Tim S.
- TukingFypo
- In need of some credit
- Posts: 8
- Joined: Tue Jan 22, 2019 1:16 pm
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Hi, Tim.
I used msys on Win7.
Thanks!!!
I used msys on Win7.
Thanks!!!
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Hi,
Are your trying to build your software from Msys?
Did you look for the library inside the appropriate directory?
Are other libraries from wx build present?
Thank you.
Are your trying to build your software from Msys?
Did you look for the library inside the appropriate directory?
Are other libraries from wx build present?
Thank you.
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
I will guess the wxWidgets build failed; if it did the cause was likely the "--enable-monolithic" option.
It takes a lot of memory to create an monolithic build of wxWidgets and it can often fail because of memory or command line too long issues.
Tim S.
It takes a lot of memory to create an monolithic build of wxWidgets and it can often fail because of memory or command line too long issues.
Tim S.
- TukingFypo
- In need of some credit
- Posts: 8
- Joined: Tue Jan 22, 2019 1:16 pm
Re: g++: error: c:/wxBuild/lib/libwx_mswu-3.1.a: No such file or directory
Thank you all, guys.
I was able to properly build wxWidgets via dos command prompt commands (without using msys / configure).
P.S.: Consider this topic closed.
I was able to properly build wxWidgets via dos command prompt commands (without using msys / configure).
P.S.: Consider this topic closed.