The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
|
Vdrift do not compile anymore ( rev 2465 ) - 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: Vdrift do not compile anymore ( rev 2465 ) (/showthread.php?tid=1122) |
Vdrift do not compile anymore ( rev 2465 ) - tof8pool - 05-24-2009 I just destroyed my svn tree I checked out vdrift and vdrift-data again. When trying to compile I get this error : Code: cbo@cbobox:~/subversion/vdrift$ scons arch=a64 force_feedback=1 Re: Vdrift do not compile anymore ( rev 2465 ) - slowDan - 05-24-2009 tof8pool Wrote:When trying to compile I get this error :Try an update now. 2466 has that error fixed, the first unsigned int should have been a long unsigned int. It should compile properly now. - tof8pool - 05-24-2009 That's ok now. TY - nomoo - 05-24-2009 Now with 2466 under windows: src\car.cpp:450: error: no matching function for call to `max(long unsigned int, unsigned int)' - tof8pool - 05-25-2009 Perhaps is there the beginning of an explaination here ? http://forums.devx.com/archive/index.php/t-92352.html http://www.devx.com/tips/Tip/14540 - nomoo - 05-25-2009 i'm using mingw, not vcpp - slowDan - 05-25-2009 In 2467 I've tried to redefine std::max() to _cpp_max() to see if that helps. I'm kind of flying blind here though, as I have no windows box to test anything out on! :? The other suggestion I found (for Developer Studio on Windows) was to set a preprocessor symbol to NOMINMAX. Is there something similar for mingw? - skankerror - 05-25-2009 same problem for me : Quote:g++ -o build/car.o -c -Wall -Wextra -Wno-unused-parameter -pthread -O1 -pipe -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Isrc/bullet -I/usr/include/SDL src/car.cpp ubuntu 9.04 svn rev 2467. - tof8pool - 05-26-2009 I just update my tree with rev 2467. I'm also running Ubuntu 9.04 but my kernel is 64 bits na dI'm compiling a 64 bits release. Perhaps is it 32/64 bits compatibility problem - joevenzon - 05-27-2009 The std::max function is a template function defined something like: Code: template <typename T> The two arguments MUST have the same type, and C++ won't do type auto-casting even with similar numeric types. In R2468 I added an explicit cast and it seems to work fine, so I removed the #define thing (don't think it's needed anymore). - nomoo - 05-30-2009 Well. it's rev.2485. "build\nedmalloc.o:nedmalloc.c.text+0x98): undefined reference to `_InterlockedExchange'" something with boost library? - joevenzon - 05-31-2009 Huh, I don't have this problem. What linux distribution are you using? nedmalloc is a high-performance malloc implementation that I added because the windows malloc is incredibly slow. There's not much difference in performance between the recent linux malloc implementations, so if we can't figure this out I could just disable nedmalloc unless the user is building on windows. - joevenzon - 05-31-2009 Oops, I just remembered you build on Windows. Let me boot up my windows box and see if I can reproduce. - joevenzon - 05-31-2009 Okay, should be fixed in R2487. I think that upgrading mingw would have fixed it too, but I just edited the malloc.c.h file to call the non-intrinsic functions instead of trying to be fancy. The track load times seem to be faster with nedmalloc. |