← Back to team overview

kicad-developers team mailing list archive

Re: Problems trying to build wxwidgets-Can anyone help.

 

--- In kicad-devel@xxxxxxxxxxxxxxx, Milan Horák <stranger@...> wrote:
>
> Seems like you try to compile wxWidgets from the Kicad source
directory. 
> So you have to cd to wxWidgets source directory and do the ../configure 
> --enable-unicode --enable-monolithic --disable-shared --with-msw 
> --with-opengl
> 
> Milan
> 
> yajeed2000 napsal(a):
> > Hi,
> > I am following the instructions in
"how-to-build-kicad-for-windows.txt.
> > However I am having problems trying to build wxwidgets.
> > 
> > I have:
> > 
> > 1/ Installed msys and mingw.
> > 
> > 2/ Downloaded WxWidgets 2.8.7 and installed it to
C:\msys\1.0\home\David 
> > 
> > Briscoe\kicad-build\wxMSW-2.8.7
> > 
> > I have made a build-release directory at
> >  
> > C:\msys\1.0\home\David Briscoe\kicad-build\build-release
> >  
> > and a build-debug directory at 
> > 
> > C:\msys\1.0\home\David Briscoe\kicad-build\build-debug
> > 
> > on changing directory to C:\msys\1.0\home\David
> > Briscoe\kicad-build\build-release and 
> > 
> > issuing the command from the msys command line window
> > 
> > ../configure --enable-unicode --enable-monolithic --disable-shared
> > --with-msw --with-opengl
> > 
> > I get the result
> > 
> > sh: ../configure: No such file or directory
> > 
> > What am I doing wrong and can someone help.
> > If so thank you.
> > 
> > David.
>
Hi,
An update.
I have run the command

../configure --enable-unicode --enable-monolithic --disable-shared
--with-msw --with-opengl

under the msys command window from the directory

C:\msys\1.0\home\David Briscoe\wxMSW-2.8.7\build-release

this seems to have worked ok (is there a log file I can check to make
sure?)
However when I issue the "make" command from the same directory
I get the following messages

$ make
Makefile:11490: warning: overriding commands for target `/home/David'
Makefile:11478: warning: ignoring old commands for target `/home/David'
Makefile:11502: warning: overriding commands for target `/home/David'
Makefile:11490: warning: ignoring old commands for target `/home/David'
Makefile:11514: warning: overriding commands for target `/home/David'
Makefile:11502: warning: ignoring old commands for target `/home/David'
Makefile:11526: warning: overriding commands for target `/home/David'
Makefile:11514: warning: ignoring old commands for target `/home/David'
Makefile:11550: warning: overriding commands for target `/home/David'
Makefile:11526: warning: ignoring old commands for target `/home/David'
Makefile:11581: warning: overriding commands for target `/home/David'
Makefile:11550: warning: ignoring old commands for target `/home/David'
Makefile:12057: warning: overriding commands for target `/home/David'
Makefile:11581: warning: ignoring old commands for target `/home/David'
/home/David Briscoe/wxMSW-2.8.7/build-release/bk-deps g++ -c -o
gllib_glcanvas.o  

-D__WXMSW__ -I../src/tiff -I../src/jpeg -I../src/png -I../src/zlib
-I../src/regex 

-I../src/expat/lib -I/home/David 

Briscoe/wxMSW-2.8.7/build-release/lib/wx/include/msw-unicode-release-static-2.8
-I../include 

-mthreads -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing 

../src/msw/glcanvas.cpp
make: /home/David: Command not found
make: *** [gllib_glcanvas.o] Error 127

Again, where have I made an error? Do I have to make any changes to my
PATH or the fstab 

file under msys?
Please advise, Thank you.

David.






Follow ups

References