Stargus trunk 302 not compiling

Asked by Travis

I've download stargus 2.2.6 and trunk version 302. Now when I try and compile it, it tells me I need to define paths, So I did, and now it's coming up with errors galore!!! It's the same with wargus trunk compiles too...I would just like both wargus and stargus to compile properly.

Question information

Language:
English Edit question
Status:
Answered
For:
Stargus Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Joris Dauphin (joris-dauphin) said :
#1

can you provide the error message ?

Revision history for this message
Travis (dinky-dye-aussie) said :
#2

Sure man, I hope I can add this file. It's the last readout file for the compile attempt in VC2010...I dunno what I'm doing wrong.

Revision history for this message
Travis (dinky-dye-aussie) said :
#3

1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
2>------ Build started: Project: wargus, Configuration: Debug Win32 ------
3>------ Build started: Project: pudconvert, Configuration: Debug Win32 ------
4>------ Build started: Project: wartool, Configuration: Debug Win32 ------
4> wartool.c
2> wargus.c
4>C:\Games\Stratagus\trunk\include\stdint.h(156): warning C4005: 'SIZE_MAX' : macro redefinition
4> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\limits.h(82) : see previous definition of 'SIZE_MAX'
4>C:\Games\Wargus\trunk\wartool.c(4413): error C2143: syntax error : missing ';' before 'type'
4>C:\Games\Wargus\trunk\wartool.c(4414): error C2065: 'str' : undeclared identifier
4>C:\Games\Wargus\trunk\wartool.c(4416): error C2065: 'str' : undeclared identifier
4>C:\Games\Wargus\trunk\wartool.c(4416): warning C4022: 'free' : pointer mismatch for actual parameter 1
4> rip_music_win32.c
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(258): error C2079: 'st' uses undefined struct '_stat'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(269): error C2143: syntax error : missing ';' before 'type'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(270): error C2275: 'DWORD' : illegal use of this type as an expression
2> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\windef.h(152) : see declaration of 'DWORD'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(270): error C2146: syntax error : missing ';' before identifier 'stratagus_path_size'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(270): error C2065: 'stratagus_path_size' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(270): error C2065: 'stratagus_path' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(271): error C2065: 'stratagus_path' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(271): warning C4022: 'memset' : pointer mismatch for actual parameter 1
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(271): error C2065: 'stratagus_path_size' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(272): error C2275: 'HKEY' : illegal use of this type as an expression
2> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\windef.h(253) : see declaration of 'HKEY'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(272): error C2146: syntax error : missing ';' before identifier 'key'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(272): error C2065: 'key' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(274): error C2065: 'key' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(274): warning C4047: 'function' : 'PHKEY' differs in levels of indirection from 'int *'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(274): warning C4024: 'RegOpenKeyExA' : different types for formal and actual parameter 5
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(276): error C2065: 'key' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(276): warning C4047: 'function' : 'HKEY' differs in levels of indirection from 'int'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(276): warning C4024: 'RegQueryValueExA' : different types for formal and actual parameter 1
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(276): error C2065: 'stratagus_path' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(276): error C2065: 'stratagus_path_size' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(277): error C2065: 'stratagus_path_size' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(277): error C2065: 'stratagus_path' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(277): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(277): warning C4024: 'strlen' : different types for formal and actual parameter 1
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(280): error C2065: 'key' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(280): warning C4047: 'function' : 'HKEY' differs in levels of indirection from 'int'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(280): warning C4024: 'RegCloseKey' : different types for formal and actual parameter 1
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(284): error C2065: 'stratagus_path' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(284): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(284): warning C4024: '_chdir' : different types for formal and actual parameter 1
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(288): error C2065: 'stratagus_path' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(295): warning C4013: '_stat' undefined; assuming extern returning int
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(304): error C2143: syntax error : missing ';' before 'type'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(306): error C2065: 'data_path_len' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(310): error C2065: 'data_path_len' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(311): error C2065: 'data_path_len' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(325): error C2143: syntax error : missing ';' before 'type'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(328): error C2143: syntax error : missing ';' before 'type'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(329): error C2065: 'stratagus_argv0_esc' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(329): warning C4022: 'memset' : pointer mismatch for actual parameter 1
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(329): error C2065: 'stratagus_argv0_esc' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(330): error C2065: 'stratagus_argv0_esc' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(330): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(330): warning C4024: 'strcpy' : different types for formal and actual parameter 1
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(331): error C2065: 'stratagus_argv0_esc' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(331): error C2109: subscript requires array or pointer type
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(332): error C2065: 'stratagus_argv0_esc' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(332): error C2109: subscript requires array or pointer type
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(333): error C2065: 'stratagus_argv0_esc' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(333): error C2109: subscript requires array or pointer type
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(334): error C2065: 'stratagus_argv' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(334): error C2109: subscript requires array or pointer type
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(334): error C2065: 'stratagus_argv0_esc' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(339): error C2065: 'stratagus_argv' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(339): error C2109: subscript requires array or pointer type
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(340): error C2065: 'stratagus_argv' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(340): error C2109: subscript requires array or pointer type
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(343): error C2065: 'stratagus_argv' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(343): error C2109: subscript requires array or pointer type
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(345): error C2065: 'stratagus_argv' : undeclared identifier
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(345): error C2109: subscript requires array or pointer type
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(351): error C2143: syntax error : missing ';' before 'type'
2>C:\Games\Stratagus\trunk\gameheaders\stratagus-game-launcher.h(354): error C2065: 'ret' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(79): error C2143: syntax error : missing ';' before 'type'
4>C:\Games\Wargus\trunk\rip_music_win32.c(81): error C2065: 'bytes_returned' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(83): error C2065: 'bytes_returned' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(119): error C2143: syntax error : missing ';' before 'const'
4>C:\Games\Wargus\trunk\rip_music_win32.c(120): error C2143: syntax error : missing ';' before 'type'
4>C:\Games\Wargus\trunk\rip_music_win32.c(121): error C2143: syntax error : missing ';' before 'type'
4>C:\Games\Wargus\trunk\rip_music_win32.c(122): error C2143: syntax error : missing ';' before 'type'
4>C:\Games\Wargus\trunk\rip_music_win32.c(125): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(125): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(125): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(129): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(134): error C2065: 'num_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(134): error C2065: 'max_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(137): error C2065: 'num_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(138): error C2065: 'list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(138): error C2109: subscript requires array or pointer type
4>C:\Games\Wargus\trunk\rip_music_win32.c(141): error C2065: 'num_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(142): error C2065: 'list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(142): error C2065: 'num_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(142): error C2109: subscript requires array or pointer type
4>C:\Games\Wargus\trunk\rip_music_win32.c(149): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(149): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(157): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(168): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(170): error C2065: 'num_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(170): error C2065: 'max_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(173): error C2065: 'num_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(174): error C2065: 'list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(174): error C2109: subscript requires array or pointer type
4>C:\Games\Wargus\trunk\rip_music_win32.c(177): error C2065: 'num_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(178): error C2065: 'list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(178): error C2065: 'num_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(178): error C2109: subscript requires array or pointer type
4>C:\Games\Wargus\trunk\rip_music_win32.c(189): error C2143: syntax error : missing ';' before 'type'
4>C:\Games\Wargus\trunk\rip_music_win32.c(190): error C2143: syntax error : missing ';' before 'type'
4>C:\Games\Wargus\trunk\rip_music_win32.c(191): error C2143: syntax error : missing ';' before 'type'
4>C:\Games\Wargus\trunk\rip_music_win32.c(193): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(193): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(193): error C2065: 'num_list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(193): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(195): error C2065: 'list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(195): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(195): error C2109: subscript requires array or pointer type
4>C:\Games\Wargus\trunk\rip_music_win32.c(195): error C2065: 'value' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(196): error C2065: 'count' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(197): error C2065: 'list' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(197): error C2065: 'i' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(197): error C2109: subscript requires array or pointer type
4>C:\Games\Wargus\trunk\rip_music_win32.c(197): error C2065: 'value' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(198): error C2065: 'found' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(202): error C2065: 'found' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(202): error C2065: 'count' : undeclared identifier
4>C:\Games\Wargus\trunk\rip_music_win32.c(209): error C2065: 'count' : undeclared identifier
4> Generating Code...
5>------ Build started: Project: nsis, Configuration: Debug Win32 ------
5> Generating Wargus Windows NSIS Installer
6>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------
6> Build all projects
7>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
7>Project not selected to build for this solution configuration
========== Build: 4 succeeded, 2 failed, 0 up-to-date, 1 skipped ==========

Revision history for this message
Travis (dinky-dye-aussie) said :
#4

Just copy it into Notepad++ or any other text editor...launchpad needs to increase the horizontal spread of the post boxes. Anyway, let me know what I can do to make it work.

Revision history for this message
Joris Dauphin (joris-dauphin) said :
#5

Fixed for wargus, stargus.

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Pali (pali) said :
#7

Problem should be fixed in trunk now.

Can you help with this problem?

Provide an answer of your own, or ask Travis for more information if necessary.

To post a message you must log in.