Help with C++ erorr



1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'tier0.lib'


that is the erorr , i have included evrything needed: public , tier 0 , tier1 , the gmodlua interface .

this erorr only came when i wanted to add this function




#define GMOD_MODULE_PRINTINFO 
#define GMOD_MODULE_AUTHOR "Dingusnin"
#define GMOD_MODULE_NAME "gm_tester"
#define GMOD_MODULE_VERSION "1.0"

#include "GmodModuleConfig.h"

#include <stdio.h>
#include <windows.h>

LUA_FUNCTION( TestMsg )
{
	g_Lua->CheckType( 1, GLua::TYPE_STRING );
 
	float a = g_Lua->GetNumber( 1 );

	g_Lua->Push( a );

	return 1;

}

int Init(lua_State* L) {
	gLua = Lua(); // Must be called before every function
	#ifdef GMOD_MODULE_PRINTINFO
		GMOD_MODULE_PRINTAUTHOR();
	#endif
	gLua->SetGlobal("TestMsg",TestMsg); 
	return 0;
}

int Shutdown(lua_State* L) {
	return 0;
}


PLEASe help :frowning:

[editline]05:02PM[/editline]

nvm , now i got new prob

.\main.cpp(7) : error C2059: syntax error : ‘;’

first 10 lines

#include <stdio.h>
#include <windows.h>
#include “convar.h”
//#include “dbg.h”
#define GAME_DLL 1;

//static SpewOutputFunc_t ZeOldSpewOutput = 0; // the old function that handles debug msgs.
static UINT32 se_blockscriptaddr = 0; // the address where the script is blocked
static ConVar seb_enable ( “seb_enable”, “0”, FCVAR_SERVER_CANNOT_QUERY, “enable dat scriptenforcer bypass mufugga”);

Why not ask Team Metalslave Rage co.