This directory is a sub-file directory introduced by the Language/tool. This section describes the content related to Dev-CPP/mingw32 and GCC.
For details, see the link: column of dipper.
Http://blog.csdn.net/VisionCat/category/96409.aspx
Some problems occurred when I used Lua with Dev CPP today. I would like to record it for future search.
Open Dev CPP to create a console project and enter the followingCode
# Include <stdio. h>
Extern "C "{
# Include "Lua. H"
# Include "lualib. H"
# Include "lauxlib. H"
}
/* Lua interpreter pointer */
Lua_state * l;
Int main (INT argc, char * argv [])
{
/* Initialize Lua */
L = lua_open ();
/* Load the basic Lua database */
Lual_openlibs (L );
/* Run the script */
Lual_dofile (L, "test. Lua ");
/* Clear Lua */
Lua_close (L );
/* Pause */
Printf ("press enter to exit... ");
Getchar ();
Return 0;
}
An error occurred while compiling, prompting that the header file could not be found.
Copy the header file to the dev CPP include directory, compile the file, and compile the file successfully!
Continue the link. We are disappointed to report an error.
After searching online, many of them use the VC compiler, and no proper solution is found.
Finally, I took a closer look at the link to the static library.
Click project options and select parameters
Add the correct lib file under the connector.
After the link is passed, the generated EXE can be output correctly.