From: Otto W. <ott...@or...> - 2005-08-18 17:02:17
|
I don't use bakefile since my makefiles and VC++ project files are easiest adjusted by hand. Just look once at the wxScintilla componenet which has my most difficult makefile while it's still quite easy understandable. O. Wyss Joachim Buermann wrote: > > Hello Otto, > > I have seen, that there are many components on wxCode, which doesn't use > bakefiles. Any reasons for this? (I ask this, because I'm irresolutely for > using bakefiles in the future. Ok, the idea behind bakefiles is certainly > right, but the convertion to more complex projects isn't so easy and the > documents and examples are very spare). > > Anyway, thanks for your answer > Joachim > > Am Mittwoch 17 August 2005 20:26 schrieb Otto Wyss: > > Hi Joachim, > > > > Joachim Buermann wrote: > > > Hello Otto, > > > > > > I have some questions about the wxCode bakefiles (bakefile Version > > > 0.1.9.1) > > > > I don't use bakefile and can't answer your question. Please see the > > wxcode-users mailing list for help. > > > > O. Wyss > > > > > After I cvs checkout the complete wxCode/components I switched into the > > > animate folder (because this one only includes a few source files). > > > > > > I started with the bakefile_gen command in the animate/build directory. > > > The OS is Windows XP with wxWidgets-2.6.1 and VC++ 6.0 > > > > > > All works fine and after that a nmake -a -f makefile.vc build the animate > > > library and it's example. > > > > > > With Linux (Debian 3.1, wxWidgets-2.6.1 gtk port and GCC) the > > > Bakefiles.bkgen doesn't work because the following line: > > > > > > <add-flags>-I%WXWIN%\build\bakefiles\wxpresets</add-flags> > > > > > > After I replace it by: > > > > > > <add-flags>-I$WXWIN/build/bakefiles/wxpresets</add-flags> > > > > > > I can run the bakefiles_gen also on linux: > > > (How can I set this flag, so that the same file works with Windows and > > > Linux?) > > > > > > For the next I added the gnu format into the Bakefiles.bkgen , but now I > > > get the following errors: > > > > > > [1/1] generating gnu from animate.bkl > > > Traceback (most recent call last): > > > File "/usr/local/lib/bakefile/bakefile.py", line 173, in ? > > > run(sys.argv[1:]) > > > File "/usr/local/lib/bakefile/bakefile.py", line 145, in run > > > if not reader.read(args[0]): > > > File "/usr/local/lib/bakefile/reader.py", line 972, in read > > > processFile(filename) > > > File "/usr/local/lib/bakefile/reader.py", line 930, in processFile > > > __doProcess(file=filename) > > > File "/usr/local/lib/bakefile/reader.py", line 911, in __doProcess > > > processNodes(m.children) > > > File "/usr/local/lib/bakefile/reader.py", line 908, in processNodes > > > h(e) > > > File "/usr/local/lib/bakefile/reader.py", line 603, in handleTarget > > > cond = mk.makeCondition(condstr) > > > File "/usr/local/lib/bakefile/mk.py", line 306, in makeCondition > > > condexpr_list.append(Condition.Expr(options[name], value)) > > > KeyError: 'WX_SHARED' > > > [bakefile_gen] error: bakefile exited with error > > > > > > So I remove the gnu format again and try to create the configure file > > > with autoconf. (I need a linux makefile). > > > > > > after this a ./configure gives me the following error messages: > > > > > > ./configure: line 3120: AM_OPTIONS_WXCONFIG: command not found > > > ./configure: line 3121: syntax error near unexpected token `2.6.0,' > > > ./configure: line 3121: `AM_PATH_WXCONFIG(2.6.0, wxWin=1, wxWin=0)' > > > > > > Can you tell me, what's going wrong here? I need a valid GCC makefile, so > > > I can compile the animate lib (and the other components) also on my linux > > > machine. > > > > > > Many thanks in advance > > > Joachim -- Development of frame buffer drivers: http://linux-fbdev.sf.net Sample code snippets for wxWidgets: http://wxcode.sf.net How to build well-designed applications: http://wyoguide.sf.net Desktop with a consistent look and feel: http://wyodesktop.sf.net |