Hi Guys,

I've updated mmwx and uploaded the latest to the SVN repo. I'm having trouble 
with the bakefiles. I've been right through the tutes and followed the steps 
but I can't build it. Or anything else I've tried. I use Code:Blocks with mingw 
on Windows and it seems that bakefile assumes that everyone's going to be using 
the MS tool chain. It doesn't even create VS2008 projects. How can it be so far 
out of date? I have VS but don't have a suitable wx build. I tried running 
configure and make but that fails and seems to be configured for unix paths. If 
I do "mingw32-make makefile.gcc" it fails. For example,when run on the kwic 
package:

$ mingw32-make.exe ./makefile.gcc all
mingw32-make: Nothing to be done for `makefile.gcc'.
g++ -c -o gccmsw/kwic_lib_slider.o -O0 -g -W -Wall -I../include `wx-config --cx
flags --debug=yes --unicode=yes --static=yes --toolkit=msw --version=2.8`   -MT
ccmsw/kwic_lib_slider.o -MF`echo gccmsw/kwic_lib_slider.o | sed -e 's,\.o$,.d,'
 -MD ../src/slider.cpp
../src/slider.cpp: In member function 'void kwxLinearReg::DrawLimits(wxDC&)':
../src/slider.cpp:354: error: no matching function for call to 'wxString::Print
(const char [3], int&)'
C:/Utilities/Programming/msys/1.0/local/include/wx-2.8/wx/string.h:1203: note:
andidates are: int wxString::Printf(const wxChar*, ...)
../src/slider.cpp:359: error: no matching function for call to 'wxString::Print
(const char [3], int&)'
C:/Utilities/Programming/msys/1.0/local/include/wx-2.8/wx/string.h:1203: note:
andidates are: int wxString::Printf(const wxChar*, ...)
../src/slider.cpp:366: error: no matching function for call to 'wxString::Print
(const char [3], int&)'
C:/Utilities/Programming/msys/1.0/local/include/wx-2.8/wx/string.h:1203: note:
andidates are: int wxString::Printf(const wxChar*, ...)
../src/slider.cpp:371: error: no matching function for call to 'wxString::Print
(const char [3], int&)'
C:/Utilities/Programming/msys/1.0/local/include/wx-2.8/wx/string.h:1203: note:
andidates are: int wxString::Printf(const wxChar*, ...)
../src/slider.cpp: In member function 'void kwxLinearReg::DrawTags(wxDC&)':
../src/slider.cpp:404: error: no matching function for call to 'wxString::Print
(const char [3], int&)'
C:/Utilities/Programming/msys/1.0/local/include/wx-2.8/wx/string.h:1203: note:
andidates are: int wxString::Printf(const wxChar*, ...)
../include/kwic/regulatorbase.h: At global scope:
../include/kwic/regulatorbase.h:21: warning: 'kwxEVT_ANGREG_CHANGE' defined but
not used
../include/kwic/regulatorbase.h:32: warning: 'kwxEVT_LINEARREG_CHANGE' defined
ut not used
mingw32-make: *** [gccmsw/kwic_lib_slider.o] Error 1


Note that I always get "Nothing to be done for `makefile.gcc'." even if other 
activity follows. That looks like a bug.

When I try to build mmwx the same way it just hangs. I suspect this is because 
I can't run the final step in the tute, which is acregen.sh. That fails with:

$ ./acregen.sh
./acregen.sh: line 24: aclocal: command not found
./acregen.sh: line 33: > 1: syntax error: operand expected (error token is "> 1"
)
./acregen.sh: line 34: == 1 &&  > 9: syntax error: operand expected (error token
 is "== 1 &&  > 9")
./acregen.sh: line 36: == 1 &&  == 9 &&           >= 6: syntax error: operand ex
pected (error token is "== 1 &&  == 9 &&           >= 6")
./acregen.sh: line 38: == 1 ||  == 1 ||  == 1: syntax error: operand expected (e
rror token is "== 1 ||  == 1 ||  == 1")
./acregen.sh: line 46: aclocal: command not found

I'd appreciate it if someone could download the SVN and have a look. Why would 
acregen fail? I build wx with configure and make successfully.

Also, what is the intended build method for Windows without MS VS?

Thanks.


      
------------------------------------------------------------------------------
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to