From: k. h. <kla...@nl...> - 2006-05-30 13:08:51
|
John Labenski wrote: > On 5/29/06, k. holwerda <kla...@nl...> wrote: >> ------------------------------------------------------------------------------- >> >> -- Set any #includes or other C++ code to be placed verbatim at the >> top of >> -- every generated cpp file or "" for none >> hook_cpp_binding_includes = "#include \"general/include/a2dprec.h\"\n" >> >> As it says it should be "at the top". >> And in my luabind.i I have this at the top: >> >> %include "general/include/a2dprec.h" > > Have only one of these. You can also try > "hook_cpp_binding_header_includes" in the rules file. If i understand it well, it will not be at the top of "the file", or does that mean something else?. The precompiled header ( which is a2dprec.h ), has to be the very first in every cpp file that is generated, else VC6 gives problems in compiling with it. I am a bit confused, by what is exactly what in the following two: ------------------------------------------------------------------------------- -- Set any #includes or other C++ code to be placed verbatim at the top of -- every generated cpp file or "" for none hook_cpp_binding_includes = "" ------------------------------------------------------------------------------- -- Add additional include information or C++ code for the binding header file. -- This code will be place directly after any #includes at the top of the file hook_cpp_binding_header_includes = "" This evening i can try your modifications from CVS, regards, Klaas -- Unclassified |