JediBantha Posted October 15, 2014 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'
eezstreet Posted October 16, 2014 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.
ensiform Posted October 16, 2014 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
Raz0r Posted October 16, 2014 Posted October 16, 2014 Regenerate the projects using the .bat provided.
JediBantha Posted October 17, 2014 Author Posted October 17, 2014 \original\openjk-master\ \mod - new\openjk-master\ Somebody punch me, please...
gerbilOFdoom Posted October 17, 2014 Posted October 17, 2014 Somebody punch me, please...As you wish. Exmirai, Tempust85, Wasa and 1 other like this
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