O3D'yi indirme ve oluşturma


2

Takip ederek O3D adında bir programı bilgisayarıma almaya çalışıyorum O3D'nin wiki ile ilgili talimatlar .

Projeyi dizinime indirmeye çalıştım ancak bilgi istemi bu cevabı verdi:

gclient is not recognized as an internal or external command, operable or batch file

İşte adım adım Google’dan bir alıntı:

Kodu kontrol etmek

Çalışma dizininizi ayarlamak için gclient config adımı sadece bir kez çalıştırılmalıdır. Bir oluşturur .gclient Çalışma dizininizdeki, depodan alınacak karşılık gelen yapıyı tanımlayan dosya. Gclient sync adımı birkaç alt dizin oluşturur. Gelecekte ağacınızı güncellemek için, gclient sync'i yalnızca çalışma dizininizdeki herhangi bir yerden çalıştırmanız gerekir.

Kaynak kodunuzu tutmak için bir dizin oluşturun. Biz arayacak $O3D_ROOT altında.
Önemli: Tüm dizin yolunda boşluk olmadığından emin olun.

Bir kabuk penceresinde aşağıdaki komutları yürütün:

cd $O3D_ROOT
gclient config http://src.chromium.org/svn/trunk/o3d

İlk kodu indirmek için, ödeme işleminizi aşağıda açıklandığı şekilde güncelleyin.

cd $O3D_ROOT
gclient sync

YAPMAYA HAZIR OLDuğum HATALAR:

Error   1   error C2143: syntax error : missing ')' before '__stdcall'  c:\$o3d_root\base\win\i18n.cc   51  base
Error   2   error C2059: syntax error : ')' c:\$o3d_root\base\win\i18n.cc   51  base
Error   3   error C2065: 'GetPreferredUILanguages_Fn' : undeclared identifier   c:\$o3d_root\base\win\i18n.cc   53  base
Error   4   error C2146: syntax error : missing ';' before identifier 'get_preferred_ui_languages'  c:\$o3d_root\base\win\i18n.cc   53  base
Error   5   error C2065: 'get_preferred_ui_languages' : undeclared identifier   c:\$o3d_root\base\win\i18n.cc   53  base
Error   6   error C2061: syntax error : identifier 'GetPreferredUILanguages_Fn' c:\$o3d_root\base\win\i18n.cc   54  base
Error   7   error C2065: 'get_preferred_ui_languages' : undeclared identifier   c:\$o3d_root\base\win\i18n.cc   56  base
Error   8   error C3861: 'get_preferred_ui_languages': identifier not found c:\$o3d_root\base\win\i18n.cc   60  base
Error   9   error C3861: 'get_preferred_ui_languages': identifier not found c:\$o3d_root\base\win\i18n.cc   64  base
Error   10  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\stream_bank_d3d9.cc  1   o3dCorePlatform
Error   11  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\effect_d3d9.cc   1   o3dCorePlatform
Error   12  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\utils_d3d9.cc    1   o3dCorePlatform
Error   13  error C2065: 'PKEY_AppUserModel_ID' : undeclared identifier c:\$o3d_root\base\win\win_util.cc   116 base
Error   14  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\buffer_d3d9.cc   1   o3dCorePlatform
Error   15  fatal error LNK1104: cannot open file '..\..\build\debug\lib\base.lib'  cactions    cactions
Error   16  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\utils_d3d9.cc    120 o3dCorePlatform
Error   17  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\renderer_d3d9.cc 1   o3dCorePlatform
Error   18  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\buffer_d3d9.cc   222 o3dCorePlatform
Error   19  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\install_check.cc 1   o3dCorePlatform
Error   20  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\stream_bank_d3d9.cc  186 o3dCorePlatform
Error   21  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\texture_d3d9.cc  1   o3dCorePlatform
Error   22  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\effect_d3d9.cc   1226    o3dCorePlatform
Error   23  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\param_cache_d3d9.cc  1   o3dCorePlatform
Error   24  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\install_check.cc 259 o3dCorePlatform
Error   25  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\render_surface_d3d9.cc   1   o3dCorePlatform
Error   26  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\renderer_d3d9.cc 1755    o3dCorePlatform
Error   27  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\primitive_d3d9.cc    1   o3dCorePlatform
Error   28  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\texture_d3d9.cc  999 o3dCorePlatform
Error   29  error C2471: cannot update program database 'c:\$o3d_root\o3d\build\debug\obj\o3dcoreplatform\o3dcoreplatform\vc80.pdb' c:\$o3d_root\o3d\core\win\d3d9\sampler_d3d9.cc  1   o3dCorePlatform
Error   30  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\param_cache_d3d9.cc  84  o3dCorePlatform
Error   31  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\render_surface_d3d9.cc   154 o3dCorePlatform
Error   32  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\primitive_d3d9.cc    232 o3dCorePlatform
Error   33  fatal error C1903: unable to recover from previous error(s); stopping compilation   c:\$o3d_root\o3d\core\win\d3d9\sampler_d3d9.cc  203 o3dCorePlatform
Error   34  fatal error LNK1104: cannot open file '..\build\debug\lib\o3dcoreplatform.lib'  standalone  standalone
Error   35  fatal error LNK1104: cannot open file '..\build\debug\lib\o3dcoreplatform.lib'  o3dConverter    o3dConverter
Error   36  fatal error LNK1104: cannot open file '..\build\debug\lib\o3dcoreplatform.lib'  npo3dautoplugin npo3dautoplugin
Error   37  fatal error LNK1104: cannot open file '..\build\debug\lib\o3dcoreplatform.lib'  unit_tests  unit_tests
Error   38  error PRJ0019: A tool returned an error code from "convert_background, and also convert_character, and also convert_beach_low_poly, and also convert_beachdemo, and also convert_dome1, and also convert_dome2, and also convert_dome3, and also convert_dome4, and also convert_kitty_151_idle_stand05_cff1, and also convert_part1, and also convert_part2, and also convert_part3, and also convert_seven_shapes, and also convert_seven_shapes_webgl, and also convert_stencil_frame, and also convert_teapot, and also convert_teapot_webgl, and also convert_yard, and also convert_yard_webgl, and also convert_agra_rug, and also convert_asimi_rug, and also convert_camden_chair, and also convert_elements_bookshelf, and also convert_ferrara_rug, and also convert_house_roofless, and also convert_lounge_chair, and also convert_lounge_chaise, and also convert_lounge_sofa, and also convert_lounge_storage_ottoman, and also convert_madison_dining_table, and also convert_miles_side_chair, and also convert_pullman_bar_stool, and also convert_puzzle_tv_stand, and also convert_stow_leather_ottoman, and also convert_tivoli_dining_table, and also convert_tivoli_miles_dining_set, and also convert_troy_chair, and also convert_troy_ottoman, and also convert_troy_sofa, and also convert_troy_storage_ottoman, and also convert_troy_twin_sleeper, and also convert_all_actors, and also convert_map1, and also convert_cube, and also convert_cube_webgl" convert_samples convert_samples
Error   39  error PRJ0019: A tool returned an error code from "Copying ../samples/assets/teapot/shaders/shader0.fx to C:\$o3d_root\o3d\build\Debug/samples/assets/teapot/shaders\shader0.fx"    copy_samples    copy_samples
Error   40  error LGHT0099 : The file with id 'pu.GoogleNpapiDll.dll' and name 'npo3d.dll|npo3dautoplugin.dll' could not be found with source path: 'C:/$o3d_root/o3d/build/Debug/npo3dautoplugin.dll'. c:\$o3d_root\o3d\installer\win\o3d.wxs  76  installer ((o3d)\(installer)\(win)\installer)
Error   41  fatal error LGHT0005: The system cannot find the file specified: C:/$o3d_root/o3d/build/Debug/cactions.dll  light.exe   installer ((o3d)\(installer)\(win)\installer)
Error   42  error PRJ0019: A tool returned an error code from "Linking installer from c:\$o3d_root\o3d\installer\win\o3d.wixobj"    installer   installer ((o3d)\(installer)\(win)\installer)

gclient'in arkasına bir. \ koymaya çalışıyor
cybernard

Bunu yapmanın yolu iyi yazılmış ve bu konuda hiçbir şey söylemiyor, yine de yaptım ve hiçbir şey olmadı
juanma

İlk talimatı ve yüklü depo araçlarını gerçekten takip ediyor gibisin.
Daniel Beck

Daniel, yaptım. cygwin, cygwin olmayan, görsel stüdyo .... her şey
juanma

2
Belki değişikliği Path uygulanmadı mı? Aşağıdaki komutu komut satırında çalıştırın: echo %Path% (Cygwin olmayan) / echo $PATH (Cygwin). Sonunda depo araçlarının yolunu içermiyorsa, Windows'tan çıkıp tekrar giriş yapmayı deneyin. (Bu sitedeki başka bir yoruma yanıt veriyorsanız, lütfen bir @ adından önce @Daniel - ancak o zaman karşı taraf cevabınız hakkında bilgilendirilecektir.)
Daniel Beck
Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.