I am making a big progress of getting the latest version head of the mudlet code to compile on windows. I am now down to 16 errors and they are located in the lua_yajl.c file.
They are
lua_yajl1.c:224: error: 'yajl_parser_config' was not declared in this scope
lua_yajl1.c:224: error: expected ';' before 'cfg
lua_yajl1.c:235: error: 'cfg' was not declared in this scope
lua_yajl1.c:241: error: 'cfg' was not declared in this scope
lua_yajl1.c:246: error: 'cfg' was not declared in this scope
lua_yajl1.c:443: error: 'yajl_status_insufficient_data' was not declared in this scope
lua_yajl1.c:464: error: 'yajl_parse_complete' was not declared in this scope
lua_yajl1.c:497: error: 'yajl_parser_config' was not declared in this scope
lua_yajl1.c:497: error: expected ';' before 'cfg'
lua_yajl1.c:503: error: 'cfg' was not declared in this scope
lua_yajl1.c:509: error: 'cfg' was not declared in this scope
lua_yajl1.c:515: error: 'cfg' was not declared in this scope
lua_yajl1.c:853: error: expected ';' before 'cfg'
lua_yajl1.c:894: error: 'cfg' was not declared in this scope
lua_yajl1.c:910: error: 'cfg' was not declared in this scope
lua_yajl1.c:910: error: 'yajl_gen_alloc2' was not declared in this scope
I will write up an updated guide for windows compile instructions when I get these errors fixed.
Weird, The yajl_parser_config Struct doesn't exist in the yajl_parse.h that is why I am getting the error. I can't even find it in yajl git repository.
I figured it out I have the wrong version of yajl. I needed to get 1.0.12 and I had the new 2.0.1 version.
Now for some reason when I click the build button to run the program it doesn't show up. It does say that it is built and compiled.
I have created a directory under C: called mudlet2_package and then created the library structure for instance: C:\mudlet2_packet\zlib-1.2.5. Is that correct? I am getting confused with the INCLUDEPATH structure and the LIBS structure. Is _MINGW part of the directory name or is it a variable in the makefile?
Heiko,
Can you also clean up the make file for Windows compiles. I would suggest making the include library structures NOT version specific and move them away from putting the "mudlet_package_MINGW" directory from under the C: drive, not a very good place to put it.
For instance change: