Part 2: Solve the Compile errors for some librarys - LUA
Well what a nice looking Task List
Code:
fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
fatal error C1083: Cannot open include file: 'baseclasses/streams.h': No such file or directory
fatal error C1083: Cannot open include file: 'baseclasses/streams.h': No such file or directory
fatal error C1083: Cannot open include file: 'baseclasses/streams.h': No such file or directory
fatal error C1083: Cannot open include file: 'lua.h': No such file or directory
fatal error C1083: Cannot open include file: 'lua.h': No such file or directory
fatal error C1083: Cannot open include file: 'lua.h': No such file or directory
fatal error C1083: Cannot open include file: 'lua.h': No such file or directory
fatal error C1083: Cannot open include file: 'lua.h': No such file or directory
fatal error C1083: Cannot open include file: 'lua.h': No such file or directory
fatal error C1083: Cannot open include file: 'lua.h': No such file or directory
fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
fatal error C1083: Cannot open include file: 'SDL_video.h': No such file or directory
fatal error C1083: Cannot open include file: 'vorbis/vorbisfile.h': No such file or directory
warning C4244: '=' : conversion from 'const int' to 'float', possible loss of data
warning C4505: 'CryptoPP::AbstractEuclideanDomain<T>::Mod' : unreferenced local function has been removed
with
[
T=CryptoPP::Integer
]
Ok looks like SDL, LUA, vorbis, and somethin called "baseclasses" is missing.
* For LUA I used (since the directory the solutions points is lua5.0) Version 5.0.3 (lua5_0_3_Win32_vc7_lib.zip from http://luaforge.net/frs/?group_id=110).
* I Changed the Additional Include Directoriey in the StepMania Proterty Page and after a little search in the code I found
Code:
#if defined(_WINDOWS)
#pragma comment(lib, "lua-5.0/lib/LibLua.lib")
#pragma comment(lib, "lua-5.0/lib/LibLuaLib.lib")
#endif
There is only one lib file so I changed that to
Code:
#if defined(_WINDOWS)
#pragma comment(lib, "lua5.0.3/lua50.lib")
#endif
* Lets try a rebuild solution first before continue.
* Note: lua 5.1.3 is not working since lua_open is not present there. I do not want to investigate so I simply used 5.0.3
* Now SM3.9+ comes in handy. The zip file contains an lua-5.0 directory. So I take back all changes (Propertys and code) and copy the lua-5.0 in the sm3.9 soucre directory.
* Either Way: The compile error "fatal error C1083: Cannot open include file: 'lua.h': No such file or directory" is gone.