![]() |
|
scons wrapper - src/vdrift.i is static and is... - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5) +--- Thread: scons wrapper - src/vdrift.i is static and is... (/showthread.php?tid=1080) |
scons wrapper - src/vdrift.i is static and is... - Baer - 02-27-2009 Hi v-drifters, I am trying to get the "PyGTK Track Editor" woking. According to the README in the svn repository you've to do a Code: scons wrapperUnfortunaltely, this ends up with an error on my machine. Code: scons: *** Source file: src/vdrift.i is static and is not compatible with shared target: build/_vdrift.soI made sure to have the latest repository... Code: tobias@holden:~/vdrift$ svn infoCode: tobias@holden:~/vdrift/pygtk-trackeditor$ svn infoDo I have to check out a branch or something...? - joevenzon - 02-27-2009 The VDrift source code was recently rewritten, and because the wrapper was based on the old code, it's broken. I've been meaning to fix it, but I don't have much experience with SWIG so it would take me a while. - Baer - 03-02-2009 After googeling the error message for a bit I figured out that I should install the SWIG package.... Hmm... Anyway, it took me to the next error - unfortunately. Code: scons: done reading SConscript files.It seems, that the header list in the vdrift.i file isn't up to date. I tried to replace all the header filenames in the vdrift.i file with the current ones. However, I did not really have luck, since the SWIG compiler doesn't like the "BIPOINTER" anymore... Code: %template(DRAWABLE_BIPOINTER) BIPOINTER<DRAWABLE>;- joevenzon - 03-02-2009 BIPOINTER isn't used anymore in the refactor... it will take a little bit of work to update the track editor for the refactored code. |