Search found 78 matches

by Zorbatron
Tue Jul 14, 2009 3:43 pm
Forum: Support and Development
Topic: Almost have my own library to use with LOVE! Help needed.
Replies: 18
Views: 12159

Re: Almost have my own library to use with LOVE! Help needed.

Got it to work!!!!!!!!!!! Haha! I went about trying to understand the process of loading a library and running a function from it. My simplest example was: testdllcall.cpp #include <iostream> #include <windows.h> typedef char* (__stdcall *pProtoFunc)(void); void PrintErrCode(DWORD err) { // Translat...
by Zorbatron
Tue Jul 14, 2009 12:43 am
Forum: Support and Development
Topic: Almost have my own library to use with LOVE! Help needed.
Replies: 18
Views: 12159

Almost have my own library to use with LOVE! Help needed.

Sorry for all the consent questions, hopefully this will be the last of them, I appreciate the help Pretty much, I don't know how to make an extension library with LOVE. I don't want to have to recompile LOVE source in order to make an extension. Attached are the files I'm running with. Source to my...
by Zorbatron
Mon Jul 13, 2009 11:52 pm
Forum: General
Topic: sepperating projects
Replies: 16
Views: 5004

Re: sepperating projects

ub3rl1t wrote:i try using this code as-well with no success
Look at the post above you :P, read the whole thread before posting my bro.
by Zorbatron
Mon Jul 13, 2009 11:50 pm
Forum: Support and Development
Topic: Anbitious Idea for a project!
Replies: 7
Views: 5867

Re: Anbitious Idea for a project!

Good idea, however with projects like RPG Maker and RPG Toolkit looming about, it may be hard to compete :P. If you think you're up to it, and are prepared to make an entire 2D rpg system, level editor, GUI, quest editor, and scripting-implemented scripting language, go for it my bro. It is possible...
by Zorbatron
Mon Jul 13, 2009 11:28 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1001746

Re: Avatars: OBEY!

The syntax I wrote in, is the first version of lua I learned, it included a lot of c++ operators like &&, ||, !, !=, ect. Also had | and & bitwise operators and // c++ style comments. Was much better than the standard implementation. Don't worry about the logic of the code, its supposed ...
by Zorbatron
Mon Jul 13, 2009 10:51 pm
Forum: Support and Development
Topic: Can someone tell me how to build Lua on Windows?
Replies: 15
Views: 12930

Re: Can someone tell me how to build Lua on Windows?

I have a new problem... Heres what I compiled (I compiled it all as cpp btw, tried with c same results): luatestdll.dll #include "lua.h" #include "lualib.h" #include "lauxlib.h" #include <iostream> int luatestdll(lua_State *L) { std::cout<<"Hello, world!" <<st...
by Zorbatron
Mon Jul 13, 2009 8:21 pm
Forum: Support and Development
Topic: Can someone tell me how to build Lua on Windows?
Replies: 15
Views: 12930

Re: Can someone tell me how to build Lua on Windows?

Man, I hate this stuff... I right clicked the project, went to configuration properties->Linker->Input and set Additional Dependencies to lua5.1.lib and lua51.lib. Then I went to Linker->General and set Additional Library Directories to C:\lua And did the same for C/C++->General-> Additional Library...
by Zorbatron
Mon Jul 13, 2009 7:42 pm
Forum: Support and Development
Topic: Can someone tell me how to build Lua on Windows?
Replies: 15
Views: 12930

Re: Can someone tell me how to build Lua on Windows?

bartbes wrote:That means it can't find the libraries, that needs to be setup like I posted.
It is set up correctly.

I have Include files set to C:\lua and C:\lua\include
I have Library files set to C:\lua and C:\lua\include

I think its a linkage problem.
by Zorbatron
Mon Jul 13, 2009 7:23 pm
Forum: Support and Development
Topic: Can someone tell me how to build Lua on Windows?
Replies: 15
Views: 12930

Re: Can someone tell me how to build Lua on Windows?

Alright thanks, set that up, still getting those two errors though, about an unresolved external link? I'm Building Solution (F7), is this the wrong way?
by Zorbatron
Mon Jul 13, 2009 6:47 pm
Forum: Support and Development
Topic: Can someone tell me how to build Lua on Windows?
Replies: 15
Views: 12930

Re: Can someone tell me how to build Lua on Windows?

Alright, I've put the compiled lua dlls into my C:/lua folder, when I go to compile the code I get: 1>c:\users\-------\documents\visual studio 2005\projects\dlltest\dlltest\dlltest.cpp(1) : fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory How do I make the #include p...