Jump to content

SP Vanilla Renderer fails to build


JediBantha

Recommended Posts

Posted

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 types
2> 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 types
2> 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 types
2> 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.cpp
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 types
2> 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 types
2> 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 types
2> 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.cpp
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 types
2> 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 types
2> 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 types
2> 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 types
2> 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 types
2> 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 types
2> c:\users\user\documents\projects\master\openjk\mod - new\openjk-master\code\client\../rd-common/tr_public.h(376) : see declaration of 'refexport_t'

 

Posted

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 types

2> 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 types

2> 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 types

2> 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.cpp

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 types

2> 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 types

2> 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 types

2> 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.cpp

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 types

2> 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 types

2> 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 types

2> 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 types

2> 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 types

2> 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 types

2> 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.
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...