The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
I can't compile in Snow leoapard (10.6.4) - 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: I can't compile in Snow leoapard (10.6.4) (/showthread.php?tid=1332)



I can't compile in Snow leoapard (10.6.4) - davoi - 08-06-2010

After source code is got from svn follow instruction:
- svn checkout http://svn.vdrift.net/repos/vdrift/trunk vdrift
- svn co https://vdrift.svn.sourceforge.net/svnroot/vdrift/vdrift-data vdrift-data
- ln -sf /home/user/code/vdrift-data /home/user/code/vdrift/data
and I tried to compile but it had 8 errors.
Please support me to solve this problem?

This is log file:
Code:
Ld build/Debug/vdrift.app/Contents/MacOS/vdrift normal i386
cd /Users/caoln/Desktop/untitled/vdrift/tools/osx
setenv MACOSX_DEPLOYMENT_TARGET 10.4
/Developer/usr/bin/g++-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/Users/caoln/Desktop/untitled/vdrift/tools/osx/build/Debug -F/Users/caoln/Desktop/untitled/vdrift/tools/osx/build/Debug -F/Users/caoln/Desktop/untitled/vdrift/tools/osx -filelist /Users/caoln/Desktop/untitled/vdrift/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/i386/vdrift.LinkFileList -mmacosx-version-min=10.4 -framework OpenGL -framework SDL_image -framework SDL_net -framework SDL -framework AppKit -framework SDL_gfx -framework GLExtensionWrangler -framework Ogg -framework Vorbis -o /Users/caoln/Desktop/untitled/vdrift/tools/osx/build/Debug/vdrift.app/Contents/MacOS/vdrift

Undefined symbols:
  "CARTIRE<double>::Init(CARTIREINFO<double> const&)", referenced from:
      LoadTire(CONFIGFILE const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CARTIRE<double>&, std::basic_ostream<char, std::char_traits<char> >&)in cardynamics.o
  "CARTIRE<double>::GetRollingResistance(double, double, double) const", referenced from:
      CARDYNAMICS::ApplyTireForce(int, double, QUATERNION<double> const&)in cardynamics.o
  "CARTIRE<double>::GetForce(double, double, MATHVECTOR<double, 3u> const&, double, double)", referenced from:
      CARDYNAMICS::ApplyTireForce(int, double, QUATERNION<double> const&)in cardynamics.o
  "CARTIRE<double>::GetMaximumFy(double, double) const", referenced from:
      CAR::GetTireMaxFy(WHEEL_POSITION) const  in ai.o
  "CARTIREINFO<double>::CARTIREINFO()", referenced from:
      LoadTire(CONFIGFILE const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CARTIRE<double>&, std::basic_ostream<char, std::char_traits<char> >&)in cardynamics.o
  "CARTIRE<double>::GetMaximumMz(double, double) const", referenced from:
      CAR::GetTireMaxMz(WHEEL_POSITION) const  in car.o
  "CARTIRE<double>::GetMaximumFx(double) const", referenced from:
      CAR::GetTireMaxFx(WHEEL_POSITION) const  in ai.o
  "CARTIRE<double>::CARTIRE()", referenced from:
      std::vector<CARTIRE<double>, std::allocator<CARTIRE<double> > >::resize(unsigned long)in cardynamics.o
ld: symbol(s) not found
collect2: ld returned 1 exit status



- NaN - 08-06-2010

Add cartire.cpp to project file.


- davoi - 08-06-2010

NaN, thank you very much. It is OK.