Author Topic: Error in compiling Lua, id.exe  (Read 2968 times)

Offline Gulper

  • Single posting newcomer
  • *
  • Posts: 4
Error in compiling Lua, id.exe
« on: September 23, 2011, 05:55:02 pm »
hello i'm still new to Code::Blocks and i can't compiling Lua with MinGW compiler
i'm trying to makefile lua from it's instruction and receive an error
 
Quote
command line missing: missing white space after macro name. dlfcn.h: No such file or directory

alternative, i just copy the header and lib in each same folder in my MinGW folder, but still receive an error after compiling
Quote
id.exe, cannot find C:\MinGW32\lua5.1\include: Permission denied

i'm confuse, i check linker settings, and i just set name of the library, but why the compiler set to lua5.1 include folder not MinGW32 include folder, any suggestions?

Closed.

Apparently when i delete lua5.1 folder, name of library in the linker setting suddenly point to include lua5.1 folder which doesn't exist. Now when i type the name again, it's compiling succesfully  :D :D
« Last Edit: September 23, 2011, 08:38:29 pm by Gulper »