Opened 3 years ago
Closed 3 days ago
#13423 closed defect (fixed)
PORTS: Tests do not compile with Visual Studio
Reported by: | elasota | Owned by: | sev- |
---|---|---|---|
Priority: | normal | Component: | Port: Win64 |
Version: | Keywords: | ||
Cc: | Game: |
Description
To reproduce run this:
cd dists\msvc create_project ..\.. --use-canonical-lib-names --enable-text-console --msvc --tests
Open scummvm-tests.sln in Visual Studio and attempt to build Release.
Currently fails due to multiple issues:
- Python 3 defaults encoding to Windows-1252 and cxxtestgen.py fails to digest punycode.h due to it containing unrecognizable characters.
- Fails to link due to missing Wintermute and Ultima symbols (happens even when Ultima and Wintermute are disabled)
- Fails to link due to missing "install_null_g_system" symbol, due to null_osystem.cpp not being included
- Fails to compile null_osystem.cpp if it is included due to include paths like "common/array.h" being resolved relative to the source file directory at higher priority than the "scummvm" root directory, causing it to include recursively
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 days ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This has been fixed long time ago and the tests are working on GitHub.
Note:
See TracTickets
for help on using tickets.
The first part of this bug i.e. python 3 issue with codepage has been fixed by merging of https://github.com/scummvm/scummvm/pull/3824 supplied by elasota.