🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

error compiling :(

Started by
3 comments, last by juglarx 18 years, 3 months ago
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)
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
those are some really nice articles you wrote, drew
Thanks for helping out, Drew. :)

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

thanks!

This topic is closed to new replies.

Advertisement