# 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.

## 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 on other sites
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:

If you are using VS2003:

If you are using VS6:

##### Share on other sites
those are some really nice articles you wrote, drew

##### Share on other sites
Thanks for helping out, Drew. :)

thanks!