• Advertisement
Sign in to follow this  

error compiling :(

This topic is 4355 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi i try to compile that src
#include <iostream>
#include <string>
#include <assert.h>
#include <math.h>
#include "..\angelScript\sdk\angelscript\include\angelscript.h"

using namespace std;

void main(){

	asIScriptEngine *engine = asCreateScriptEngine(ANGELSCRIPT_VERSION);


}

i link with the angelscript libs but i get this error on the linker anyone can helpme ? MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in LIBCD.lib(dbgheap.obj)

Share this post


Link to post
Share on other sites
Advertisement
I think you will need to change your RunTime Library to MultiThreaded Debug DLL (for debug configuration) or MultiThreaded DLL (for release configuration).

If you are using VS2005:
Free Image Hosting at www.ImageShack.us

If you are using VS2003:
Free Image Hosting at www.ImageShack.us

If you are using VS6:
Free Image Hosting at www.ImageShack.us

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement