UFO:Alien Invasion
Technical support => Windows => Topic started by: domein on July 20, 2009, 10:37:59 pm
-
I try to build latest dev version from source under windows, using Code::Blocks an following instructions in wiki. Any project in workspace fails to build with following messages:
-------------- Build: windows in game ---------------
Compiling: ..\..\src\game\g_ai.c
C:\Users\domein\AppData\Local\Temp\ccgPBU1o.s: Assembler messages:
C:\Users\domein\AppData\Local\Temp\ccgPBU1o.s:3859: Error: junk at end of line, first unrecognized character is `,'
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
-------------- Build: windows in uforadiant_model ---------------
Compiling: ..\..\src\tools\radiant\plugins\model\model.cpp
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s: Assembler messages:
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:969: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:970: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:971: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:972: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:973: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:974: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:1270: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2904: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2905: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2932: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2933: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:2934: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:3954: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:3955: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:3956: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:4273: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:5872: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:5873: Error: junk at end of line, first unrecognized character is `,'
C:\Users\domein\AppData\Local\Temp\cc5i4bMO.s:5946: Error: junk at end of line, first unrecognized character is `,'
Process terminated with status 1 (0 minutes, 2 seconds)
19 errors, 0 warnings
Any suggestions how to fix this?
-
The C::B zip is currently being worked on (by Mattn for me).
I get the same error as you.
Be patient for a day or two. I'll post here once the prob is gone.
Feel free to bump this if I do not post within three days (to remind me).
-
The C::B zip is currently being worked on (by Mattn for me).
I get the same error as you.
Be patient for a day or two. I'll post here once the prob is gone.
Feel free to bump this if I do not post within three days (to remind me).
Duke,
I saw a commit today for the CB zip, does that mean that i have to rebuild my CB package??
:D
U can PM me if u wan, or simply post here, i am putting this on notify. :)
-
I`ve had the same problem and fix it by taking previous version of cb\minGW\bin.
-
I`ve had the same problem and fix it by taking previous version of cb\minGW\bin.
I am still using a version of MingGW and Cb alright. And its alright for me even now. I built the R25298 w/o unusual errors. Yupz.
I guess waiting for Duke and Mattn. :D
-
Odie,
Mattn tries to make the codeblocks.zip fully work for Windoze users too, adding the libs needed to compile radiant. That's what I want to do, so going back a version is not an option for me.
-
there is a new zip file online - please retry with that one. it's the same gcc but redownloaded everything and repacked it, too.
-
there is a new zip file online - please retry with that one. it's the same gcc but redownloaded everything and repacked it, too.
I'm downloading it now - I've been using Muton's package for a long time and I'm curious to see if this new package works.
I'll report back shortly on how it works - give me ~half an hour or so.
- Destructavator
-
OK, I got errors, even after double-checking all the paths and libraries were set in CB, build log is as follows:
-------------- Clean: windows_debug in game ---------------
Cleaned "game - windows_debug"
-------------- Clean: windows_debug in ufo2map ---------------
Cleaned "ufo2map - windows_debug"
-------------- Clean: windows_debug in ufo_ded ---------------
Cleaned "ufo_ded - windows_debug"
-------------- Clean: windows_debug in ufo ---------------
Cleaned "ufo - windows_debug"
-------------- Clean: windows_debug in uforadiant_model ---------------
Cleaned "uforadiant_model - windows_debug"
-------------- Clean: windows_debug in uforadiant_entity ---------------
Cleaned "uforadiant_entity - windows_debug"
-------------- Clean: windows_debug in uforadiant_image ---------------
Cleaned "uforadiant_image - windows_debug"
-------------- Clean: windows_debug in uforadiant_map ---------------
Cleaned "uforadiant_map - windows_debug"
-------------- Clean: windows_debug in uforadiant_shader ---------------
Cleaned "uforadiant_shader - windows_debug"
-------------- Clean: windows_debug in uforadiant_vfspk3 ---------------
Cleaned "uforadiant_vfspk3 - windows_debug"
-------------- Clean: windows_debug in uforadiant_archivezip ---------------
Cleaned "uforadiant_archivezip - windows_debug"
-------------- Clean: windows_debug in uforadiant_ufoai ---------------
Cleaned "uforadiant_ufoai - windows_debug"
-------------- Clean: windows_debug in uforadiant_brushexport ---------------
Cleaned "uforadiant_brushexport - windows_debug"
-------------- Clean: windows_debug in uforadiant ---------------
Cleaned "uforadiant - windows_debug"
-------------- Build: windows_debug in game ---------------
Compiling: ..\..\src\game\g_ai.c
Compiling: ..\..\src\game\g_ai_lua.c
C:\DOCUME~1\Dave\LOCALS~1\Temp\cc6KSk0L.s: Assembler messages:
C:\DOCUME~1\Dave\LOCALS~1\Temp\cc6KSk0L.s:4576: Error: junk at end of line, first unrecognized character is `,'
Process terminated with status 1 (0 minutes, 1 seconds)
1 errors, 0 warnings
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s: Assembler messages:
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s:10: Error: junk at end of line, first unrecognized character is `,'
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s:11: Error: junk at end of line, first unrecognized character is `,'
Process terminated with status 1 (0 minutes, 1 seconds)
3 errors, 0 warnings
Build messages:
||=== game, windows_debug ===|
C:\DOCUME~1\Dave\LOCALS~1\Temp\cc6KSk0L.s|4576|Error: junk at end of line, first unrecognized character is `,'|
||=== Build finished: 1 errors, 0 warnings ===|
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s|10|Error: junk at end of line, first unrecognized character is `,'|
C:\DOCUME~1\Dave\LOCALS~1\Temp\ccUKSk0L.s|11|Error: junk at end of line, first unrecognized character is `,'|
||=== Build finished: 3 errors, 0 warnings ===|
Edit: This is with revision 25316.
-
I'm downloading it now - I've been using Muton's package for a long time and I'm curious to see if this new package works.
I'll report back shortly on how it works - give me ~half an hour or so.
- Destructavator
Mattn / Destructavator,
Is it possible to post the link of that download page here pls? Thanks.
I would like to try it too. ;D
-
I've posted the information already!
I've done a diff C::B 7z file
Base was C::B from mattn
http://www.4shared.com/file/104530411/49a9d228/codeblocks.html
There you find what is different from mattn's C::B
More infos @
http://ufoai.ninex.info/forum/index.php?topic=3553.msg26044#msg26044
http://ufoai.ninex.info/forum/index.php?topic=3551.msg25940#msg25940
'couse of this
http://ufoai.ninex.info/forum/index.php?topic=3553.msg26085#msg26085
shall i do the job?
-
'couse of this
http://ufoai.ninex.info/forum/index.php?topic=3553.msg26085#msg26085
shall i do the job?
if you mean maintaining the script to produce a codeblocks package then yes. if you mean providing an own script that i'm not able to run on my own from my linux box - then no. I've seen so many people come and go. It's a must-have for me that i'm able to create that package even if they all lost interest. I hope you understand - no offense.
-
@domein:
Mattn managed to create a codeblocks.zip that works for me, so it should work for you too.
Get it from the usual place.
Delete your old codeblocks dir before extracting the zip to avoid unwanted leftovers.
-
I'm new to this forum. Got exactly the same error. Tracked it down to C++ compiler generating .lcomm directive
which assembler does not understand (extra alignment parameter). Even the "Hello world" C++
project would not compile, not to mention the game. Downloaded package from C::B web site,
same effect. I'm afraid previous discussion does not address the issue in subj and got a bit
off track. How do I tell the compiler that assembler (from the same package!) needs different code?
The GNU compiler has mind boggling number of options. None of them seems to change the .lcomm thing.
Thanks.
-
redownload the c::b package from mattn.ninex.info
-
redownload the c::b package from mattn.ninex.info
Mattn,
Not too sure if i missed something along the line.
I used the new version and got these errors.....
||=== ufo, windows_debug ===|
C:\SVN Update\src\client\renderer\r_error.h|48|warning: 'R_CheckErrorDebug' defined but not used|
||=== uforadiant, windows_debug ===|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
C:\SVN Update\src\tools\radiant\libs\gtkutil\filechooser.cpp|149|warning: 'shortcutFoldersInBaseDir' defined but not used|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_spawn_process(ExecCmd*, void (*)(void*))':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|196|warning: statement has no effect|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_run(Exec*)':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|396|warning: statement has no effect|
..\..\src\tools\radiant\include\igl.h|989|warning: "GL_LOGIC_OP" redefined|
c:\development\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\GL\gl.h|394|warning: this is the location of the previous definition|
..\..\src\tools\radiant\include\igl.h|990|warning: "GL_TEXTURE_COMPONENTS" redefined|
c:\development\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\GL\gl.h|626|warning: this is the location of the previous definition|
C:\SVN Update\src\tools\radiant\radiant\server.cpp|194|warning: 'dllimport' attribute ignored|
(null):.\uforadiant-de.po|197|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|197|parse error|
(null):.\uforadiant-de.po|203|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|203|parse error|
(null):.\uforadiant-de.po|209|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|209|parse error|
(null):.\uforadiant-de.po|221|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|221|parse error|
(null):.\uforadiant-de.po|227|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|227|parse error|
(null):.\uforadiant-de.po|233|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|233|parse error|
(null):.\uforadiant-de.po|1208|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|1208|parse error|
(null):.\uforadiant-de.po|2186|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|2186|parse error|
(null):.\uforadiant-de.po|2193|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|2193|parse error|
(null):.\uforadiant-de.po|2464|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|2464|parse error|
(null):.\uforadiant-en.po|187|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|187|parse error|
(null):.\uforadiant-en.po|193|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|193|parse error|
(null):.\uforadiant-en.po|199|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|199|parse error|
(null):.\uforadiant-en.po|210|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|210|parse error|
(null):.\uforadiant-en.po|216|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|216|parse error|
(null):.\uforadiant-en.po|222|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|222|parse error|
(null):.\uforadiant-en.po|1155|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|1155|parse error|
(null):.\uforadiant-en.po|2110|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|2110|parse error|
(null):.\uforadiant-en.po|2117|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|2117|parse error|
(null):.\uforadiant-en.po|2366|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|2366|parse error|
(null):.\uforadiant-ru.po|191|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|191|parse error|
(null):.\uforadiant-ru.po|197|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|197|parse error|
(null):.\uforadiant-ru.po|203|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|203|parse error|
(null):.\uforadiant-ru.po|214|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|214|parse error|
(null):.\uforadiant-ru.po|220|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|220|parse error|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 11 warnings ===|
its something to do with the po translations..... i could compile using my old cb version, but not this new one. Hmmmm.
My current windows uses version CB 5456.
It could compile just fine even this morning.
Advise pls?
-
Great success. Hello world compiles and the game too! ;D
Thanks a lot. For my education, what's changed in the C:B ?
I noticed assembler is a bit newer.
Cheers.
-
yes - assembler didn't fit to compiler (binutils was not up-to-date)
-
yes - assembler didn't fit to compiler (binutils was not up-to-date)
Mattn, a bit confused here. Were u answering my queries?? As in the reason why that CB fails was because the assembler issues?
If so how do i fix it pls?
If thats not answering my queries earlier, could u advise me on the nx step pls? Thanks.
Its on win32 xp pro sp3 platform btw. :D
-
Odie,
Mattn's answer was directed at bfett14.
The errors you get from compiling the po files are NOT solved by the latest C:B package (I get them too).
I'm not even sure that they are related to C:B.
-
C::B run ufoai\contrib\scripts\compile_po.bat
> i could compile using my old cb version, but not this new one
Than mabe this is the solution
http://sourceforge.net/projects/mingw/files/MinGW%20gettext/gettext-0.17-1/gettext-0.17-1-mingw32-bin.tar.lzma/download
-
Odie,
Mattn's answer was directed at bfett14.
Ah, thanks. No wonder its a bit wierd wierd de.
The errors you get from compiling the po files are NOT solved by the latest C:B package (I get them too).
I'm not even sure that they are related to C:B.
Not too sure abt this. I suspect its the gettext version part. Then again........
see this:
C::B run ufoai\contrib\scripts\compile_po.bat
> i could compile using my old cb version, but not this new one
Than mabe this is the solution
http://sourceforge.net/projects/mingw/files/MinGW%20gettext/gettext-0.17-1/gettext-0.17-1-mingw32-bin.tar.lzma/download
I checked the compile_po.bat file, which is integrated into the CB workspace script -> not working.
As for the 0.17 gettext version, maybe i try tat on Monday again. I tried once already, not working either last wed and thurs. I tried replacing the current gettext version with tat. Not work.
I tried replacing only the newer (and smaller) files, not work either.
I tried to path both directories (WORSE CHOICE), not work.
Hmmmm, i reverted back to the old version since. Lol. No one's complaining....yet.
-
Than use this
http://sourceforge.net/projects/mingw/files/MinGW%20gettext/gettext-0.17-1/gettext-0.17-1-mingw32-dev.tar.lzma/download
-
Than use this
http://sourceforge.net/projects/mingw/files/MinGW%20gettext/gettext-0.17-1/gettext-0.17-1-mingw32-dev.tar.lzma/download
Eh, I am running windows....
The file says cannot open. Is it a 7zip archive or winrar/winzip compatible archive?
This file seemed to give me prob. Do u have the checksum for it? I check to make sure first.
-
7zip can open it
its just a tar archive
md5
4d5ba071c742dcdcc7038614d1b0a0f7 *gettext-0.17-1-mingw32-dev.tar.tar
-
7zip can open it
definitely, done this here ;)
its just a tar archive
mh, nah... it's a lzma-archived tar-archive, because of this winrar is not possible to open it
have to use 7zip