The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
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 wrapper

Unfortunaltely, 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.so
scons: building terminated because of errors.

I made sure to have the latest repository...

Code:
tobias@holden:~/vdrift$ svn info
Path: .
URL: http://svn.vdrift.net/repos/vdrift/trunk
Repository Root: http://svn.vdrift.net/repos/vdrift
Repository UUID: f68921f7-4efc-0310-90ae-aa24c258f575
Revision: 2362
Node Kind: directory
Schedule: normal
Last Changed Author: joevenzon
Last Changed Rev: 2362
Last Changed Date: 2009-02-27 02:32:11 +0100 (Fri, 27 Feb 2009)

Code:
tobias@holden:~/vdrift/pygtk-trackeditor$ svn info
Path: .
URL: http://svn.vdrift.net/repos/vdrift-trackeditor/branches/pygtk-trackeditor
Repository Root: http://svn.vdrift.net/repos/vdrift-trackeditor
Repository UUID: f828601f-f105-0410-955a-c2823f43a0c2
Revision: 73
Node Kind: directory
Schedule: normal
Last Changed Author: rookie1
Last Changed Rev: 67
Last Changed Date: 2008-04-28 15:23:18 +0200 (Mon, 28 Apr 2008)

Do 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.
scons: Building targets ...
swig -o build/vdrift_wrap.cc -c++ -python src/vdrift.i
src/vdrift.i:22: Error: Unable to find 'include/bipointer.h'
src/vdrift.i:25: Error: Unable to find 'include/3dmath.h'
src/vdrift.i:28: Error: Unable to find 'include/objects.h'
src/vdrift.i:29: Error: Unable to find 'include/physics.h'
src/vdrift.i:30: Error: Unable to find 'include/vamosworld.h'
scons: *** [build/vdrift_wrap.cc] Error 1
scons: building terminated because of errors.

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.