From: Joachim B. <jbu...@ze...> - 2005-08-18 19:06:20
|
Hi folks, I have some questions about the wxCode bakefiles (bakefile Version 0.1.9.1) After I cvs checkout the complete wxCode/components I switched into the=20 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=20 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=20 library and it's example. With Linux (Debian 3.1, wxWidgets-2.6.1 gtk port and GCC) the Bakefiles.bkg= en=20 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 Linu= x?) =46or the next I added the gnu format into the Bakefiles.bkgen , but now I = get=20 the following errors: [1/1] generating gnu from animate.bkl Traceback (most recent call last): =A0 File "/usr/local/lib/bakefile/bakefile.py", line 173, in ? =A0 =A0 run(sys.argv[1:]) =A0 File "/usr/local/lib/bakefile/bakefile.py", line 145, in run =A0 =A0 if not reader.read(args[0]): =A0 File "/usr/local/lib/bakefile/reader.py", line 972, in read =A0 =A0 processFile(filename) =A0 File "/usr/local/lib/bakefile/reader.py", line 930, in processFile =A0 =A0 __doProcess(file=3Dfilename) =A0 File "/usr/local/lib/bakefile/reader.py", line 911, in __doProcess =A0 =A0 processNodes(m.children) =A0 File "/usr/local/lib/bakefile/reader.py", line 908, in processNodes =A0 =A0 h(e) =A0 File "/usr/local/lib/bakefile/reader.py", line 603, in handleTarget =A0 =A0 cond =3D mk.makeCondition(condstr) =A0 File "/usr/local/lib/bakefile/mk.py", line 306, in makeCondition =A0 =A0 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= =20 autoconf. (I need a linux makefile). after this a ./configure gives me the following error messages: =2E/configure: line 3120: AM_OPTIONS_WXCONFIG: command not found =2E/configure: line 3121: syntax error near unexpected token `2.6.0,' =2E/configure: line 3121: `AM_PATH_WXCONFIG(2.6.0, wxWin=3D1, wxWin=3D0)' Can you tell me, what's going wrong here? I need a valid GCC makefile, so I= =20 can compile the animate lib (and the other components) also on my linux=20 machine. Many thanks in advance Joachim |