Server Help

ASSS Questions - Smongs Spree doesnt compile for windows

hellzlaker - Fri Feb 29, 2008 5:49 pm
Post subject: Smongs Spree doesnt compile for windows
I tried compile the c file with dev c++ and those are the errors i got
Code: Show/Hide
Compiler: Default compiler
Executing  gcc.exe...
gcc.exe "C:\Documents and Settings\Owner\Desktop\spree\spree.c" -o "C:\Documents and Settings\Owner\Desktop\spree\spree.exe"    -I"C:\Dev-Cpp\include"   -L"C:\Dev-Cpp\lib"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:48:18: asss.h: No such file or directory

C:\Documents and Settings\Owner\Desktop\spree\spree.c:49:21: objects.h: No such file or directory
C:\Documents and Settings\Owner\Desktop\spree\spree.c:55: error: syntax error before "u16"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:55: warning: no semicolon at end of struct or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:56: warning: data definition has no type or storage class
C:\Documents and Settings\Owner\Desktop\spree\spree.c:57: error: syntax error before "last"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:57: warning: data definition has no type or storage class
C:\Documents and Settings\Owner\Desktop\spree\spree.c:61: error: syntax error before "inline"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:65: error: syntax error before "inline"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:72: error: syntax error before "int"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:72: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c:75: error: syntax error before "void"

C:\Documents and Settings\Owner\Desktop\spree\spree.c:75: error: syntax error before '*' token

C:\Documents and Settings\Owner\Desktop\spree\spree.c:76: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:76: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c:78: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:78: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c:79: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:79: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c:80: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:80: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c:82: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:83: error: syntax error before "Player"

C:\Documents and Settings\Owner\Desktop\spree\spree.c:86: error: syntax error before "int"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:88: error: syntax error before "Imodman"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:88: warning: data definition has no type or storage class
C:\Documents and Settings\Owner\Desktop\spree\spree.c:89: error: syntax error before "Iplayerdata"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:89: warning: data definition has no type or storage class
C:\Documents and Settings\Owner\Desktop\spree\spree.c:90: error: syntax error before "Iconfig"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:90: warning: data definition has no type or storage class
C:\Documents and Settings\Owner\Desktop\spree\spree.c:91: error: syntax error before "Ichat"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:91: warning: data definition has no type or storage class
C:\Documents and Settings\Owner\Desktop\spree\spree.c:92: error: syntax error before "Icmdman"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:92: warning: data definition has no type or storage class
C:\Documents and Settings\Owner\Desktop\spree\spree.c:93: error: syntax error before "Iobjects"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:93: warning: data definition has no type or storage class
C:\Documents and Settings\Owner\Desktop\spree\spree.c:105: error: syntax error before "inline"

C:\Documents and Settings\Owner\Desktop\spree\spree.c:114: error: syntax error before "inline"

C:\Documents and Settings\Owner\Desktop\spree\spree.c:135: error: syntax error before "int"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:135: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c: In function `expand_message':
C:\Documents and Settings\Owner\Desktop\spree\spree.c:138: error: `out' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:138: error: (Each undeclared identifier is reported only once

C:\Documents and Settings\Owner\Desktop\spree\spree.c:138: error: for each function it appears in.)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:143: error: `outsize' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:143: error: `format' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:153: error: `killer' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:158: error: `killed' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c: At top level:
C:\Documents and Settings\Owner\Desktop\spree\spree.c:196: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:196: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c: In function `PlayerAction':
C:\Documents and Settings\Owner\Desktop\spree\spree.c:198: error: `action' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:198: error: `PA_ENTERARENA' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:200: error: `p' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:200: warning: initialization makes pointer from integer without a cast
C:\Documents and Settings\Owner\Desktop\spree\spree.c:201: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:202: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:203: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c: At top level:
C:\Documents and Settings\Owner\Desktop\spree\spree.c:207: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:207: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c: In function `Kill':

C:\Documents and Settings\Owner\Desktop\spree\spree.c:215: error: `killed' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:215: warning: assignment makes pointer from integer without a cast
C:\Documents and Settings\Owner\Desktop\spree\spree.c:216: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:216: error: request for member `GetInt' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:216: error: `arena' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:219: error: request for member `GetStr' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:222: error: request for member `GetInt' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:223: error: request for member `SendArenaSoundMessage' in something not a structure or union

C:\Documents and Settings\Owner\Desktop\spree\spree.c:228: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:228: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:231: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:235: error: `killer' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:235: warning: assignment makes pointer from integer without a cast
C:\Documents and Settings\Owner\Desktop\spree\spree.c:236: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:239: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:239: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:240: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:240: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:243: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:244: error: request for member `GetStr' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:251: error: request for member `SendArenaSoundMessage' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:257: error: `Target' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:257: error: syntax error before "tgt"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:261: error: dereferencing pointer to incomplete type

C:\Documents and Settings\Owner\Desktop\spree\spree.c:262: error: request for member `GetInt' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:266: error: `tgt' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:267: error: `T_PLAYER' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:268: error: request for member `Toggle' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:268: error: `TRUE' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:272: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:273: error: request for member `GetInt' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:278: error: `T_ARENA' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:279: error: request for member `Toggle' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c: At top level:
C:\Documents and Settings\Owner\Desktop\spree\spree.c:284: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:284: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c: In function `FreqChange':
C:\Documents and Settings\Owner\Desktop\spree\spree.c:286: error: request for member `GetInt' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:286: error: `p' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:288: warning: initialization makes pointer from integer without a cast
C:\Documents and Settings\Owner\Desktop\spree\spree.c:289: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:289: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:290: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c: At top level:
C:\Documents and Settings\Owner\Desktop\spree\spree.c:294: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:294: error: syntax error before '*' token

C:\Documents and Settings\Owner\Desktop\spree\spree.c: In function `ShipChange':
C:\Documents and Settings\Owner\Desktop\spree\spree.c:296: error: request for member `GetInt' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:296: error: `p' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:298: warning: initialization makes pointer from integer without a cast
C:\Documents and Settings\Owner\Desktop\spree\spree.c:299: error: dereferencing pointer to incomplete type

C:\Documents and Settings\Owner\Desktop\spree\spree.c:299: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:300: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c: At top level:
C:\Documents and Settings\Owner\Desktop\spree\spree.c:304: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:304: error: syntax error before '*' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c: In function `FlagReset':
C:\Documents and Settings\Owner\Desktop\spree\spree.c:306: error: request for member `GetInt' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:306: error: `arena' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:308: error: `Link' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:308: error: `link' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:309: error: `Player' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:309: error: `p' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:312: error: request for member `Lock' in something not a structure or union

C:\Documents and Settings\Owner\Desktop\spree\spree.c:314: error: syntax error before '{' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c:317: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:317: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:318: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:320: error: request for member `Unlock' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c: At top level:

C:\Documents and Settings\Owner\Desktop\spree\spree.c:322: error: syntax error before '}' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c:330: warning: initialization makes integer from pointer without a cast
C:\Documents and Settings\Owner\Desktop\spree\spree.c:330: warning: data definition has no type or storage class
C:\Documents and Settings\Owner\Desktop\spree\spree.c:332: error: syntax error before "void"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:333: error: syntax error before "Player"
C:\Documents and Settings\Owner\Desktop\spree\spree.c: In function `Cspree':
C:\Documents and Settings\Owner\Desktop\spree\spree.c:337: error: `target' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:337: error: `T_ARENA' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:339: error: `params' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:343: error: `Player' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:343: error: `t' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:344: error: `Link' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:344: error: `link' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:346: error: request for member `Lock' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:348: error: syntax error before '{' token
C:\Documents and Settings\Owner\Desktop\spree\spree.c:350: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:350: error: continue statement not within a loop
C:\Documents and Settings\Owner\Desktop\spree\spree.c:352: error: request for member `SendMessage' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:352: error: `p' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:353: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:354: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:354: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:356: error: request for member `Unlock' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:361: warning: assignment makes pointer from integer without a cast
C:\Documents and Settings\Owner\Desktop\spree\spree.c:362: error: request for member `SendMessage' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:363: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:363: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c:363: error: dereferencing pointer to incomplete type
C:\Documents and Settings\Owner\Desktop\spree\spree.c: At top level:
C:\Documents and Settings\Owner\Desktop\spree\spree.c:366: error: syntax error before "else"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:375: error: syntax error before "const"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:377: error: syntax error before "int"
C:\Documents and Settings\Owner\Desktop\spree\spree.c:377: error: syntax error before "Imodman"
C:\Documents and Settings\Owner\Desktop\spree\spree.c: In function `MM_spree':
C:\Documents and Settings\Owner\Desktop\spree\spree.c:379: error: `action' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:379: error: `MM_LOAD' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:381: error: `mm_' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:382: error: request for member `GetInterface' in something not a structure or union

C:\Documents and Settings\Owner\Desktop\spree\spree.c:382: error: `I_PLAYERDATA' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:382: error: `ALLARENAS' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:383: error: request for member `GetInterface' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:383: error: `I_CONFIG' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:384: error: request for member `GetInterface' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:384: error: `I_CHAT' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:385: error: request for member `GetInterface' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:385: error: `I_CMDMAN' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:386: error: request for member `GetInterface' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:386: error: `I_OBJECTS' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:388: error: `MM_FAIL' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:390: error: request for member `AllocatePlayerData' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:390: error: invalid application of `sizeof' to incomplete type `pdata'
C:\Documents and Settings\Owner\Desktop\spree\spree.c:393: error: `MM_OK' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:395: error: `MM_UNLOAD' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:397: error: request for member `FreePlayerData' in something not a structure or union

C:\Documents and Settings\Owner\Desktop\spree\spree.c:399: error: request for member `ReleaseInterface' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:400: error: request for member `ReleaseInterface' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:401: error: request for member `ReleaseInterface' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:402: error: request for member `ReleaseInterface' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:403: error: request for member `ReleaseInterface' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:406: error: `MM_ATTACH' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:408: error: request for member `RegCallback' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:408: error: `CB_PLAYERACTION' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:408: error: `arena' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:409: error: request for member `RegCallback' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:409: error: `CB_KILL' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:410: error: request for member `RegCallback' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:410: error: `CB_FREQCHANGE' undeclared (first use in this function)

C:\Documents and Settings\Owner\Desktop\spree\spree.c:411: error: request for member `RegCallback' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:411: error: `CB_SHIPCHANGE' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:412: error: request for member `RegCallback' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:412: error: `CB_FLAGRESET' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:414: error: request for member `AddCommand' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:418: error: `MM_DETACH' undeclared (first use in this function)
C:\Documents and Settings\Owner\Desktop\spree\spree.c:420: error: request for member `RemoveCommand' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:422: error: request for member `UnregCallback' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:423: error: request for member `UnregCallback' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:424: error: request for member `UnregCallback' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:425: error: request for member `UnregCallback' in something not a structure or union
C:\Documents and Settings\Owner\Desktop\spree\spree.c:426: error: request for member `UnregCallback' in something not a structure or union

Execution terminated

Dr Brain - Fri Feb 29, 2008 6:51 pm
Post subject:
It can't find asss.h.
tcsoccerman - Sat Mar 01, 2008 9:56 am
Post subject:
You're going to have to go to Projects->Properties->"Directorys" tab->"include directory's" tab.

there you add folders such as src/include and home/windeps and other folders with .h's you need to include. you NEED src/include in every module you compile.
hellzlaker - Sat Mar 01, 2008 7:47 pm
Post subject:
Ok thanks I added the src\include but it still doesnt compile but i got a lot less errors

Code: Show/Hide
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Owner\Desktop\apps\zone\apps spree\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\Owner\Desktop\apps\zone\apps spree\Makefile.win" all
gcc.exe -c spree.c -o spree.o -I"C:/Dev-Cpp/include"  -I"C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include"  -DBUILDING_DLL=1 

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:37,
                 from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:15,
                 from spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:346:21: pthread.h: No such file or directory
In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:37,
                 from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:15,
                 from spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:355: error: syntax error before "pthread_mutex_t"
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:355: warning: no semicolon at end of struct or union
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:356: warning: data definition has no type or storage class
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:357: warning: data definition has no type or storage class
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:360: error: syntax error before '*' token
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:362: error: syntax error before '*' token
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:364: error: syntax error before '*' token
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:368: error: syntax error before '*' token
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:372: error: syntax error before '*' token

C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:374: error: syntax error before '*' token
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/util.h:376: error: syntax error before '*' token

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:15,
                 from spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:206:27: packets/types.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:208:28: packets/simple.h: No such file or directory
In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:22,
                 from spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:140:27: packets/pdata.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:141:25: packets/ppk.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:142:27: packets/login.h: No such file or directory
In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:22,

                 from spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:182: error: syntax error before "PlayerData"
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:182: warning: no semicolon at end of struct or union
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:261: error: syntax error before '}' token

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:29,
                 from spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/core.h:174: warning: "struct LoginPacket" declared inside parameter list
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/core.h:174: warning: its scope is only this definition or declaration, which is probably not what you want

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:33,
                 from spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/game.h:230: warning: "struct C2SPosition" declared inside parameter list

spree.c: In function `expand_message':
spree.c:154: error: dereferencing pointer to incomplete type

spree.c:159: error: dereferencing pointer to incomplete type
spree.c:164: error: dereferencing pointer to incomplete type
spree.c:172: error: dereferencing pointer to incomplete type
spree.c:173: error: dereferencing pointer to incomplete type

spree.c: In function `PlayerAction':
spree.c:201: error: dereferencing pointer to incomplete type
spree.c: In function `Kill':
spree.c:216: error: dereferencing pointer to incomplete type

spree.c:224: error: dereferencing pointer to incomplete type
spree.c:236: error: dereferencing pointer to incomplete type
spree.c: In function `FreqChange':

spree.c:287: error: dereferencing pointer to incomplete type
spree.c:289: error: dereferencing pointer to incomplete type
spree.c: In function `ShipChange':

spree.c:297: error: dereferencing pointer to incomplete type
spree.c:299: error: dereferencing pointer to incomplete type
spree.c: In function `FlagReset':
spree.c:314: error: dereferencing pointer to incomplete type
spree.c:316: error: dereferencing pointer to incomplete type
spree.c: In function `Cspree':
spree.c:348: error: dereferencing pointer to incomplete type
spree.c:350: error: dereferencing pointer to incomplete type
spree.c:350: error: dereferencing pointer to incomplete type
spree.c:354: error: dereferencing pointer to incomplete type
spree.c:362: error: dereferencing pointer to incomplete type
spree.c:370: error: dereferencing pointer to incomplete type
spree.c:372: error: dereferencing pointer to incomplete type

make.exe: *** [spree.o] Error 1

Execution terminated

tcsoccerman - Sat Mar 01, 2008 8:07 pm
Post subject:
windeps/ folder and try src/packets as well maybe if windeps doesn't work.
hellzlaker - Sat Mar 01, 2008 8:13 pm
Post subject:
Ok this is working, even less errors but still doesnt compile, here are the errors
Code: Show/Hide
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Owner\Desktop\apps\zone\spree module\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\Owner\Desktop\apps\zone\spree module\Makefile.win" all
gcc.exe -c ../../../spree/spree.c -o ../../../spree/spree.o -I"C:/Dev-Cpp/include"  -I"C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include"  -I"C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/packets"  -I"C:/Documents and Settings/Owner/Desktop/apps/zone/server/windeps"   

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:15,
                 from ../../../spree/spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:206:27: packets/types.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:208:28: packets/simple.h: No such file or directory
In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:22,
                 from ../../../spree/spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:140:27: packets/pdata.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:141:25: packets/ppk.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:142:27: packets/login.h: No such file or directory
In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:22,
                 from ../../../spree/spree.c:49:

C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:182: error: syntax error before "PlayerData"
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:182: warning: no semicolon at end of struct or union

C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:261: error: syntax error before '}' token

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:29,
                 from ../../../spree/spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/core.h:174: warning: "struct LoginPacket" declared inside parameter list
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/core.h:174: warning: its scope is only this definition or declaration, which is probably not what you want

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:33,
                 from ../../../spree/spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/game.h:230: warning: "struct C2SPosition" declared inside parameter list

../../../spree/spree.c: In function `expand_message':
../../../spree/spree.c:154: error: dereferencing pointer to incomplete type

../../../spree/spree.c:159: error: dereferencing pointer to incomplete type
../../../spree/spree.c:164: error: dereferencing pointer to incomplete type
../../../spree/spree.c:172: error: dereferencing pointer to incomplete type
../../../spree/spree.c:173: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `PlayerAction':
../../../spree/spree.c:201: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `Kill':
../../../spree/spree.c:216: error: dereferencing pointer to incomplete type

../../../spree/spree.c:224: error: dereferencing pointer to incomplete type
../../../spree/spree.c:236: error: dereferencing pointer to incomplete type

../../../spree/spree.c: In function `FreqChange':
../../../spree/spree.c:287: error: dereferencing pointer to incomplete type

../../../spree/spree.c:289: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `ShipChange':

../../../spree/spree.c:297: error: dereferencing pointer to incomplete type
../../../spree/spree.c:299: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `FlagReset':
../../../spree/spree.c:314: error: dereferencing pointer to incomplete type
../../../spree/spree.c:316: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `Cspree':
../../../spree/spree.c:348: error: dereferencing pointer to incomplete type
../../../spree/spree.c:350: error: dereferencing pointer to incomplete type
../../../spree/spree.c:350: error: dereferencing pointer to incomplete type
../../../spree/spree.c:354: error: dereferencing pointer to incomplete type
../../../spree/spree.c:362: error: dereferencing pointer to incomplete type
../../../spree/spree.c:370: error: dereferencing pointer to incomplete type
../../../spree/spree.c:372: error: dereferencing pointer to incomplete type

make.exe: *** [../../../spree/spree.o] Error 1

Execution terminated

Dr Brain - Sat Mar 01, 2008 10:59 pm
Post subject:
Code: Show/Hide
packets/types.h: No such file or directory


You're missing packets/types.h, and a ton of other files. Include those.

Oh, when reading error messages, start at the top.
tcsoccerman - Sat Mar 01, 2008 11:17 pm
Post subject:
Shouldn't that be included already?

so yeh make sure you have src/packets included then include just the home/src/ folder. that has been the charm a few times for me.
hellzlaker - Sun Mar 02, 2008 10:38 am
Post subject:
thats wierd i have in my include directory this

Code: Show/Hide
C:\Documents and Settings\Owner\Desktop\apps\zone\server\src\packets

C:\Documents and Settings\Owner\Desktop\apps\zone\server\src\include

C:\Documents and Settings\Owner\Desktop\apps\zone\server\windeps




and i added



Code: Show/Hide
#include "types.h"

#include "asss.h"
#include "objects.h"
#include "pdata.h"
#include "simple.h"
#include "ppk.h"
#include "login.h"


and i got a lot less errors and for some reason it still says

Code: Show/Hide
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:206:27: packets/types.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:208:28: packets/simple.h: No such file or directory
In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:22,
                 from ../../../spree/spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:140:27: packets/pdata.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:141:25: packets/ppk.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:142:27: packets/login.h: No such file or directory





the full error code is here
Code: Show/Hide
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Owner\Desktop\apps\zone\spree module\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\Owner\Desktop\apps\zone\spree module\Makefile.win" all
gcc.exe -c ../../../spree/spree.c -o ../../../spree/spree.o -I"C:/Dev-Cpp/include"  -I"C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include"  -I"C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/packets"  -I"C:/Documents and Settings/Owner/Desktop/apps/zone/server/windeps"   

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:15,
                 from ../../../spree/spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:206:27: packets/types.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/defs.h:208:28: packets/simple.h: No such file or directory
In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:22,
                 from ../../../spree/spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:140:27: packets/pdata.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:141:25: packets/ppk.h: No such file or directory
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:142:27: packets/login.h: No such file or directory
In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:22,
                 from ../../../spree/spree.c:49:

C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:182: error: syntax error before "PlayerData"
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:182: warning: no semicolon at end of struct or union

C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/player.h:261: error: syntax error before '}' token

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:29,
                 from ../../../spree/spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/core.h:174: warning: "struct LoginPacket" declared inside parameter list
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/core.h:174: warning: its scope is only this definition or declaration, which is probably not what you want

In file included from C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/asss.h:33,
                 from ../../../spree/spree.c:49:
C:/Documents and Settings/Owner/Desktop/apps/zone/server/src/include/game.h:230: warning: "struct C2SPosition" declared inside parameter list

../../../spree/spree.c: In function `expand_message':
../../../spree/spree.c:158: error: dereferencing pointer to incomplete type

../../../spree/spree.c:163: error: dereferencing pointer to incomplete type
../../../spree/spree.c:168: error: dereferencing pointer to incomplete type
../../../spree/spree.c:176: error: dereferencing pointer to incomplete type
../../../spree/spree.c:177: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `PlayerAction':
../../../spree/spree.c:205: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `Kill':
../../../spree/spree.c:220: error: dereferencing pointer to incomplete type

../../../spree/spree.c:228: error: dereferencing pointer to incomplete type
../../../spree/spree.c:240: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `FreqChange':
../../../spree/spree.c:291: error: dereferencing pointer to incomplete type
../../../spree/spree.c:293: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `ShipChange':
../../../spree/spree.c:301: error: dereferencing pointer to incomplete type
../../../spree/spree.c:303: error: dereferencing pointer to incomplete type
../../../spree/spree.c: In function `FlagReset':
../../../spree/spree.c:318: error: dereferencing pointer to incomplete type
../../../spree/spree.c:320: error: dereferencing pointer to incomplete type

../../../spree/spree.c: In function `Cspree':
../../../spree/spree.c:352: error: dereferencing pointer to incomplete type
../../../spree/spree.c:354: error: dereferencing pointer to incomplete type
../../../spree/spree.c:354: error: dereferencing pointer to incomplete type
../../../spree/spree.c:358: error: dereferencing pointer to incomplete type
../../../spree/spree.c:366: error: dereferencing pointer to incomplete type

../../../spree/spree.c:374: error: dereferencing pointer to incomplete type
../../../spree/spree.c:376: error: dereferencing pointer to incomplete type

make.exe: *** [../../../spree/spree.o] Error 1

Execution terminated

Dr Brain - Sun Mar 02, 2008 11:03 am
Post subject:
change the src\packets one to just src.
Smong - Sun Mar 02, 2008 11:25 am
Post subject:
spree.exe? Sorry I'm not reading all this. Try following this guide specifically written for Dev-C++:
http://wiki.minegoboom.com/index.php/Installing_New_Modules#With_Dev_C.2B.2B
CypherJF - Sun Mar 02, 2008 12:01 pm
Post subject:
If you run into more issues with DevC++ see this post:

http://forums.minegoboom.com/viewtopic.php?p=75101#75101
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group