View Single Post
Old 27 October 2013, 20:52   #26
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,344
I've been trying to get WinUAE to build with Visual Studio 2013.

The build process is giving some errors (and a huge number of warnings ):
Code:
 uaeunp.cpp
..\..\uaeunp.cpp(243): error C2664: 'int zfile_stat_archive(const TCHAR *,mystat *)' : cannot convert argument 2 from '_stat64 *' to 'mystat *'
          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\..\uaeunp.cpp(364): error C2664: 'int utime(const char *,utimbuf *)' : cannot convert argument 1 from 'const TCHAR *' to 'const char *'
          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\..\uaeunp.cpp(402): error C2664: 'int zfile_stat_archive(const TCHAR *,mystat *)' : cannot convert argument 2 from '_stat64 *' to 'mystat *'
          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\..\uaeunp.cpp(431): warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
..\..\uaeunp.cpp(515): error C2664: 'int zfile_stat_archive(const TCHAR *,mystat *)' : cannot convert argument 2 from '_stat64 *' to 'mystat *'
          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\..\uaeunp.cpp(527): warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
------ Build started: Project: winuae, Configuration: Release Win32 ------
  astring.cpp
  crcio.cpp
  aros.rom.cpp
c1xx : fatal error C1083: Cannot open source file: '..\..\aros.rom.cpp': No such file or directory
Can I just add some casts to get rid of the uaeunp.cpp errors? And is aros.rom.cpp available anywhere? It's not in the WinUAE source archive on winuae.net or the git repository.

Also, luascript.h includes lauxlib.h, but lauxlib.h isn't in the winuaeinclibs archive.

Last edited by mark_k; 27 October 2013 at 21:29.
mark_k is offline  
 
Page generated in 0.04542 seconds with 10 queries