JediBantha Posted October 15, 2014 Share Posted October 15, 2014 I downloaded a fresh copy of OpenJK, and the vanilla renderer fails whenever I try to build it. I got these errors instead: 2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-common\../win32/win_local.h(83): error C2371: 'WinVars_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\rd-common\../win32/win_local.h(83) : see declaration of 'WinVars_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(128): error C2371: 'refimport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(128) : see declaration of 'refimport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(376): error C2371: 'refexport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(376) : see declaration of 'refexport_t'2> win_glimp.cpp2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-common\../win32/win_local.h(83): error C2371: 'WinVars_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\rd-common\../win32/win_local.h(83) : see declaration of 'WinVars_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(128): error C2371: 'refimport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(128) : see declaration of 'refimport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(376): error C2371: 'refexport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(376) : see declaration of 'refexport_t'2> win_qgl.cpp2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-common\../win32/win_local.h(83): error C2371: 'WinVars_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\rd-common\../win32/win_local.h(83) : see declaration of 'WinVars_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(128): error C2371: 'refimport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(128) : see declaration of 'refimport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(376): error C2371: 'refexport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(376) : see declaration of 'refexport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-common\../win32/win_local.h(83): error C2371: 'WinVars_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\rd-common\../win32/win_local.h(83) : see declaration of 'WinVars_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(128): error C2371: 'refimport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(128) : see declaration of 'refimport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(376): error C2371: 'refexport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(376) : see declaration of 'refexport_t' Link to comment
eezstreet Posted October 16, 2014 Share Posted October 16, 2014 I downloaded a fresh copy of OpenJK, and the vanilla renderer fails whenever I try to build it. I got these errors instead: 2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-common\../win32/win_local.h(83): error C2371: 'WinVars_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\rd-common\../win32/win_local.h(83) : see declaration of 'WinVars_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(128): error C2371: 'refimport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(128) : see declaration of 'refimport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(376): error C2371: 'refexport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(376) : see declaration of 'refexport_t'2> win_glimp.cpp2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-common\../win32/win_local.h(83): error C2371: 'WinVars_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\rd-common\../win32/win_local.h(83) : see declaration of 'WinVars_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(128): error C2371: 'refimport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(128) : see declaration of 'refimport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(376): error C2371: 'refexport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(376) : see declaration of 'refexport_t'2> win_qgl.cpp2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-common\../win32/win_local.h(83): error C2371: 'WinVars_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\rd-common\../win32/win_local.h(83) : see declaration of 'WinVars_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(128): error C2371: 'refimport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(128) : see declaration of 'refimport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(376): error C2371: 'refexport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(376) : see declaration of 'refexport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-common\../win32/win_local.h(83): error C2371: 'WinVars_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\rd-common\../win32/win_local.h(83) : see declaration of 'WinVars_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(128): error C2371: 'refimport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(128) : see declaration of 'refimport_t'2>c:\users\user\documents\projects\master\openjk\original\openjk-master\code\rd-vanilla\../rd-common/tr_public.h(376): error C2371: 'refexport_t' : redefinition; different basic types2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(376) : see declaration of 'refexport_t' Moved this thread to OpenJK subforum. Link to comment
ensiform Posted October 16, 2014 Share Posted October 16, 2014 What OS. What Compiler. MinGW isn't supported. just putting that out there. Looks like you have the code in multiple places. \original\openjk-master\ \mod - new\openjk-master\Both being attempted seems weird. Tempust85 likes this Link to comment
Raz0r Posted October 16, 2014 Share Posted October 16, 2014 Regenerate the projects using the .bat provided. Link to comment
JediBantha Posted October 17, 2014 Author Share Posted October 17, 2014 \original\openjk-master\ \mod - new\openjk-master\ Somebody punch me, please... Link to comment
gerbilOFdoom Posted October 17, 2014 Share Posted October 17, 2014 Somebody punch me, please...As you wish. Exmirai, JediBantha, Tempust85 and 1 other like this Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now