<div class="gmail_quote">On Tue, Jul 26, 2011 at 11:38 PM, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com">doob@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On 2011-07-26 21:34, Andrej Mitrovic wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On 7/26/11, Nick Sabalausky<a@a.a>  wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"Pelle"<<a href="mailto:pelle.mansson@gmail.com" target="_blank">pelle.mansson@gmail.<u></u>com</a>>  wrote in message<div><div></div><div class="h5"><br>
news:op.vy74cwejzu79i9@pelle-<u></u>d2608-a1...<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, 26 Jul 2011 13:06:56 +0200, Dainius (GreatEmerald)<br>
<<a href="mailto:pastas4@gmail.com" target="_blank">pastas4@gmail.com</a>>  wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I updated the DMD and tried RDMD, but still no luck. Linker errors<br>
galore. You can see all of them here: <a href="http://pastebin.com/C6cRVGKt" target="_blank">http://pastebin.com/C6cRVGKt</a><br>
</blockquote>
<br>
You need to link the library as well, try adding -L-llua (I think) to the<br>
command.<br>
</blockquote>
<br>
A better way to do it is just include this in your code:<br>
<br>
pragma(lib, "lua"); // Assuming the lib file is named "lua.lib"<br>
<br>
Benefits:<br>
- One less cmd-line param.<br>
- Should work the same on both windows and posix (the linker args are<br>
completely different between windows and posix).<br>
<br>
</div></div></blockquote>
<br><div class="im">
Drawbacks:<br>
- Not implemented in GDC yet.<br>
</div></blockquote>
<br>
Still not implemented in GDC??<br></blockquote><div><br></div><div>Cannot be implemented in GDC. The driver/compiler/assembler/linker structure doesn't allow it. </div></div>