lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

You are compiling to a .NET assembly (using the Managed Extensions for C++).
You should go to Project properties, General, and change "Use Managed
Extensions" to "No".

--
Fabio

----- Original Message ----- 
From: "Andy Greensmith" <andyg@mobiusent.com>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Thursday, March 18, 2004 2:26 PM
Subject: Re: lua_open crash?


> Ah right sorry...
> using VC.net to build the code.
>
> not sure what you mean about comand line, but heres what the comand line
> properties in my luaconsoleapp are...
> /Od /AI "C:\dev\luaTest\Debug" /D "WIN32" /D "_DEBUG" /D "_MBCS" /FD /EHsc
> /MTd /GS /Yu"stdafx.h" /Fp"Debug/luaconsoleapp.pch" /Fo"Debug/"
> /Fd"Debug/vc70.pdb" /W3 /nologo /c /Zi /clr /TP /FU
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorlib.dll" /FU
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll" /FU
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
>
> i compiled the lua stuff from luabuild 5.0.  this had a vc 6 project which
> .net converted to one of its nice solutions and then built.
>
> im running winXP home should that help too.
>
> ive tried running some pre compiled libs i got with luabuild also but they
> did the same crash so im fairly certain the libs are built ok.
>