Jump to content

Cannot build from svn


Recommended Posts

when building from svn, i encountered this error:

umarzuki@ctrl:~/aod/trunk/build/workspaces$ ./update-workspaces.sh

./update-workspaces.sh: line 13: cd: ../../libraries/fcollada/src: No such file or directory

ERROR: FCollada build failed

What could cause this?

Was I missing something?

Link to post
Share on other sites
  • 3 weeks later...

I noticed that I had to update the repo about 5 times to get everything to download. The server would keep losing connection and stopping the download midway through. Is this common, and could it also be what's preventing Ohloh from cataloguing the repo?

Link to post
Share on other sites
  • 4 months later...

I think i have a similiar problem. I have a slow CDMA modem and the download is interrupted a hole lot of times. I just use the tortoise update fuction to make the download continue. After finished i get a hole lot of errors when i try to build. This is the first time I try to build any thing. Is it possible to just get the files missing? How do i do that? Or do i have to do a checkout? It takes for ever with my connection and is most sertainly going to be interrupted again. :P

This is the first error when i build:

1>------ Build started: Project: gui, Configuration: Debug Win32 ------

2>------ Build started: Project: test_gen, Configuration: Debug Win32 ------

1>Compiling...

2>Generating ../../../source/ps/XML/tests/test_XMLWriter.cpp

1>precompiled.cpp

2>Cannot open input file "c:./Program"

2>Project : error PRJ0019: A tool returned an error code from "Generating ../../../source/ps/XML/tests/test_XMLWriter.cpp"

2>Build log was saved at "file://c:\Program Files\Oad\build\workspaces\vc2008\obj\test_gen_Debug\BuildLog.htm"

2>test_gen - 1 error(s), 0 warning(s)

Then is goes fine until:

6>wdll_delay_load.cpp

3>JSCollection.obj : warning LNK4221: no public symbols found; archive member will be inaccessible

6>wdll_ver.cpp

3>Build log was saved at "file://c:\Program Files\Oad\build\workspaces\vc2008\obj\engine_Debug\BuildLog.htm"

3>engine - 0 error(s), 1 warning(s)

And then:

6>Creating library...

6>secure_crt.obj : warning LNK4221: no public symbols found; archive member will be inaccessible

6>os_cpu.obj : warning LNK4221: no public symbols found; archive member will be inaccessible

6>cpu.obj : warning LNK4221: no public symbols found; archive member will be inaccessible

6>vfs_path.obj : warning LNK4221: no public symbols found; archive member will be inaccessible

6>io_align.obj : warning LNK4221: no public symbols found; archive member will be inaccessible

6>Build log was saved at "file://c:\Program Files\Oad\build\workspaces\vc2008\obj\lowlevel_Debug\BuildLog.htm"

6>lowlevel - 0 error(s), 5 warning(s)

9>------ Build started: Project: i18n, Configuration: Debug Win32 ------

In the end:

13>Linking...

12>test_Color.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\graphics\tests\test_Color.cpp': No such file or directory

12>test_MeshManager.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\graphics\tests\test_MeshManager.cpp': No such file or directory

12>test_allocators.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\allocators\tests\test_allocators.cpp': No such file or directory

12>test_headerless.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\allocators\tests\test_headerless.cpp': No such file or directory

12>test_trace.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\file\common\tests\test_trace.cpp': No such file or directory

12>test_tex.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\res\graphics\tests\test_tex.cpp': No such file or directory

12>test_topology.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\sysdep\arch\x86_x64\tests\test_topology.cpp': No such file or directory

12>test_ia32.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\sysdep\os\win\tests\test_ia32.cpp': No such file or directory

12>test_wdbg_sym.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\sysdep\os\win\tests\test_wdbg_sym.cpp': No such file or directory

12>test_printf.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\sysdep\tests\test_printf.cpp': No such file or directory

12>test_sysdep.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\sysdep\tests\test_sysdep.cpp': No such file or directory

12>test_adts.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_adts.cpp': No such file or directory

12>test_base32.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_base32.cpp': No such file or directory

12>test_bits.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_bits.cpp': No such file or directory

12>test_byte_order.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_byte_order.cpp': No such file or directory

12>test_cache_adt.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_cache_adt.cpp': No such file or directory

12>test_fnv_hash.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_fnv_hash.cpp': No such file or directory

12>test_lib.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_lib.cpp': No such file or directory

12>test_lockfree.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_lockfree.cpp': No such file or directory

12>test_path_util.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_path_util.cpp': No such file or directory

12>Generating Code...

12>Compiling...

12>test_rand.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_rand.cpp': No such file or directory

12>test_regex.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_regex.cpp': No such file or directory

12>test_secure_crt.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_secure_crt.cpp': No such file or directory

12>test_wchar.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\lib\tests\test_wchar.cpp': No such file or directory

12>test_Bound.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\maths\tests\test_Bound.cpp': No such file or directory

12>test_Matrix3d.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\maths\tests\test_Matrix3d.cpp': No such file or directory

12>test_CmdLineArgs.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\ps\GameSetup\tests\test_CmdLineArgs.cpp': No such file or directory

12>stub_impl_hack.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\ps\tests\stub_impl_hack.cpp': No such file or directory

12>test_CLogger.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\ps\tests\test_CLogger.cpp': No such file or directory

12>test_CStr.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\ps\tests\test_CStr.cpp': No such file or directory

12>test_Parser.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\ps\tests\test_Parser.cpp': No such file or directory

12>test_test.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\ps\tests\test_test.cpp': No such file or directory

12>test_Xeromyces.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\ps\XML\tests\test_Xeromyces.cpp': No such file or directory

12>test_XeroXMB.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\ps\XML\tests\test_XeroXMB.cpp': No such file or directory

12>test_XMLWriter.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\ps\XML\tests\test_XMLWriter.cpp': No such file or directory

12>test_root.cpp

12>c1xx : fatal error C1083: Cannot open source file: '..\..\..\source\test_root.cpp': No such file or directory

12>test_setup.cpp

12>Generating Code...

12>Build log was saved at "file://c:\Program Files\Oad\build\workspaces\vc2008\obj\test_Debug\BuildLog.htm"

12>test - 36 error(s), 0 warning(s)

13> Creating library ../../../binaries/system/pyrogenesis_dbg.lib and object ../../../binaries/system/pyrogenesis_dbg.exp

13>Embedding manifest...

13>Microsoft ® Windows ® Resource Compiler Version 6.1.6723.1

13>Copyright © Microsoft Corporation. All rights reserved.

13>Build log was saved at "file://c:\Program Files\Oad\build\workspaces\vc2008\obj\pyrogenesis_Debug\BuildLog.htm"

13>pyrogenesis - 0 error(s), 0 warning(s)

========== Build: 11 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

:P

Can anyone please help me resolve this? Would be really fun to see the game in flesh :P

Thanks for a great initiative. Really looking forward to the final game. :)

Link to post
Share on other sites

The "update" function should work - it'll keep downloading whatever files are currently out-of-date or missing. The problem you're getting is that you put the code in a location containing space characters ("c:\Program Files"), which causes errors. You should move the files to a location with no spaces, and then it should work better :)

((We really ought to fix the bug with spaces - I guess it just needs a few quotes added into the commands generated by Premake...))

(By the way, the game's name is spelt with a 0 (zero) not an O (capital o), but that shouldn't break anything serious :P)

Link to post
Share on other sites

Yes thank you. :P Now build works fine without errors :P

Then i hit F5.

Now i get:

Debug Assertion Failed!

Program: c.\Intel\0ad\binaries\system\pyrogenesis_dbg.exe

File: F:\dd\vctools\crt_bld\self_x86\crt\src\open.c

Line: 161

Expression: ((pmode & (~(_S_IREAD | _S_IWRITE))) == 0)

:)

Edited by rannugrot
Link to post
Share on other sites

'pyrogenesis_dbg.exe': Loaded 'C:\Intel\Oad\binaries\system\pyrogenesis_dbg.exe', Symbols loaded.

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\user32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\glu32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\Intel\Oad\binaries\system\libxml2.dll', Binary was not built with debug information.

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\wsock32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\Intel\Oad\binaries\system\iconv.dll', Binary was not built with debug information.

'pyrogenesis_dbg.exe': Loaded 'C:\Intel\Oad\binaries\system\zlib1.dll', Binary was not built with debug information.

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\msvcr80.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\Intel\Oad\binaries\system\OpenAL32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\version.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcp90d.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcr90d.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\ma_cmidn.dll', Binary was not built with debug information.

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll'

HPET: rev=1 vendor=8086 bits=64 period=429B17F freq=1.43182e+007

TIMER| InitVfs: 70.7646 ms

'pyrogenesis_dbg.exe': Loaded 'C:\Intel\Oad\binaries\system\js32d.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\Intel\Oad\binaries\system\libnspr4.dll', Binary was not built with debug information.

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\Intel\Oad\binaries\system\msvcr71.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\Intel\Oad\binaries\system\msvcr71d.dll'

TIMER| InitScripting: 141.302 ms

TIMER| CONFIG_Init: 88.5117 ms

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\ATKOGL32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\nvoglnt.dll'

The thread 'Win32 Thread' (0x7c8) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0x894) has exited with code 0 (0x0).

The thread 'Win32 Thread' (0xcac) has exited with code 0 (0x0).

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\mcd32.dll'

'pyrogenesis_dbg.exe': Unloaded 'C:\WINDOWS\system32\mcd32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\comres.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemprox.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemcomn.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemsvc.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\wbem\fastprox.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\msvcp60.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\ntdsapi.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\dsound.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll'

'pyrogenesis_dbg.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll'

'pyrogenesis_dbg.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\wdmaud.drv'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll'

'pyrogenesis_dbg.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\msacm32.drv'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\msacm32.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\midimap.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll'

'pyrogenesis_dbg.exe': Unloaded 'C:\WINDOWS\system32\setupapi.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll'

'pyrogenesis_dbg.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll'

TIMER| write_sys_info: 381.014 ms

TIMER| ps_console: 70.0099 ms

TIMER| ps_lang_hotkeys: 35.2533 ms

Microsoft Visual Studio C Runtime Library has detected a fatal error in pyrogenesis_dbg.exe.

Press Break to debug the program or Continue to terminate the program.

The program '[2400] pyrogenesis_dbg.exe: Native' has exited with code 0 (0x0).

:)

Link to post
Share on other sites

Sorry, I introduced a bug while porting a function to the new, non-deprecated version. Our permission bitmask definition was setting all bits, but _wsopen_s added a check to ensure no unknown bits are set. I didn't notice because all files apparently exist already, thus skipping the file creation logic.

Fixed now.

Link to post
Share on other sites

TBH, I thought these changes were harmless enough to not warrant running the tests. Wrong!

Looks like the only things that would help are re-education or making the test run automatically again, but that was indeed too slow/inconvenient.

Link to post
Share on other sites
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...