ま、やることはApacheとかTomcatとDB、trac、svn辺りなんで、、、
ubuntuをDLして来て設定中。
真面目に色々やり出すと切りが無いので、取り敢えずな環境を先ずはでっち上げようと思います。
でも、今日はパッケージのインストールとかまで。情報のまとめも明日かな?
viの使い方忘れちゃってるなぁ。。。
また明日。
set PATH=C:\Python27;C:\Python27\scripts;%PATH%;2.PYTHONHOMEとPYTHONPATHを確認します。
set PYTHONHOME=C:\TracLigtht\pythonとなっていたりします。
set PYTHONPATH=C:\TracLigtht\python\DLLs\;C:\TracLigtht\python\Lib;C:\TracLigtht\python\Lib\plat-win;C:\TracLigtht\python\Lib\lib-tk;C:\TracLigtht\python\Lib\site-packages
set PYTHONHOME=C:\Python27とします。
set PYTHONPATH=C:\Python27\DLLs\;C:\Python27\Lib;C:\Python27\Lib\plat-win;C:\Python27\Lib\lib-tk;C:\Python27\Lib\site-packages
> scons env="PATH:C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools,INCLUDE:C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include;C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Include;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include,LIB:C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib;C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Lib;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib" d8
ライブラリ v8preparser.lib とオブジェクト v8preparser.exp を作成中
conversions.obj : error LNK2001: 外部シンボル ""public: virtual __thiscall v8::StartupDataDecompressor::~StartupDataDecompressor(void)" (??1StartupDataDecompressor@v8@@UAE@XZ)" は未解決です。
conversions.obj : error LNK2001: 外部シンボル ""void __cdecl v8::RegisterExtension(class v8::Extension *)" (?RegisterExtension@v8@@YAXPAVExtension@1@@Z)" は未解決です。
conversions.obj : error LNK2001: 外部シンボル ""public: static class v8::Local__cdecl v8::String::New(char const *,int)" (?New@String@v8@@SA?AV?$Local@VString@v8@@@2@PBDH@Z)" は未解決です。
conversions.obj : error LNK2001: 外部シンボル ""public: __thiscall v8::Unlocker::Unlocker(class v8::Isolate *)" (??0Unlocker@v8@@QAE@PAVIsolate@1@@Z)" は未解決です。
conversions.obj : error LNK2001: 外部シンボル ""public: void __thiscall v8::Template::Set(class v8::Handle,class v8::Handle ,enum v8::PropertyAttribute)" (?Set@Template@v8@@QAEXV?$Handle@VString@v8@@@2@V?$Handle@VData@v8@@@2@W4PropertyAttribute@2@@Z)" は未解決です。
conversions.obj : error LNK2001: 外部シンボル ""public: void __thiscall v8::Isolate::Exit(void)" (?Exit@Isolate@v8@@QAEXXZ)" は未解決です。
conversions.obj : error LNK2001: 外部シンボル ""public: void __thiscall v8::Isolate::Enter(void)" (?Enter@Isolate@v8@@QAEXXZ)" は未解決です。
v8preparser.dll : fatal error LNK1120: 外部参照 8 が未解決です。
scons: *** [v8preparser.dll] Error 1120
scons: building terminated because of errors.
conversions.obj : error LNK2001: 外部シンボル ""public: __thiscall v8::Locker::Locker(class v8::Isolate *)" (??0Locker@v8@@QAE@PAVIsolate@1@@Z)" は未解決です。
・ osg - Downloads/Dependencies
Visual Studio の各バージョン別に依存ライブラリの紹介がされている。・ osg - Support/UserGuides/EnvironmentVariables
こちらはおまけで、依存ライブラリをビルドツリーにインストールする際の環境変数の設定などで役立つので、ここに記載します。
This package includes:
zlib-1.2.5
png-1.5.1
pcre-7.6
minizip-1.2.5
libtiff-3.8.2
jpeg-8c
glut-3.7.6
giflib-4.1.6
freetype-2.4.4 -- Added PDB file in V7
expat-2.0.1
curl-7.21.6
gdal-1.7.2
PROJ-4.7.0
libiconv-1.9.1
gettext-0.13.1
libxml2_2.7.7
FFTSS-3.0
boost-1.43.0 (system, filesystem, datetime, regex, thread)
collada-dom-2.2 (1.4)
Nvidia Texture Tools 2.0.8 with CUDA support (Cuda 3.2)
OpenSSL 1.0.0
FREETYPE_INCLUDE_DIR_freetype2すると CMake に下記のような警告が出てしまいました。
..../freetype/include/freetypeFREETYPE_INCLUDE_DIR_ft2build
.../freetype/includeFREETYPE_LIBRARY
..../freetype/objs/win32/vc2008
WARNING: Target "osgdb_freetype" requests linking to directory "....\freetype\objs\win32\vc2008". Targets may link only to libraries. CMake is dropping the item.Visual Studio 2008 でビルドしたんですが、Plugins freetype がリンクがうまくいきませんでした。以下がそのリンクエラーです。
WARNING: Target "osgdb_freetype" requests linking to directory "....\freetype\objs\win32\vc2008". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "osgdb_freetype" requests linking to directory "....\freetype\objs\win32\vc2008". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "osgdb_freetype" requests linking to directory "....\freetype\objs\win32\vc2008". Targets may link only to libraries. CMake is dropping the item.
>リンクしています...どうしたもんでしょうか。。。
>FreeTypeFont.obj : error LNK2019: 未解決の外部シンボル _FT_Done_Face が関数 "public: virtual __thiscall FreeTypeFont::~FreeTypeFont(void)" (??1FreeTypeFont@@UAE@XZ) で参照されました。
>FreeTypeFont.obj : error LNK2019: 未解決の外部シンボル _FT_Set_Pixel_Sizes が関数 "protected: void __thiscall FreeTypeFont::init(void)" (?init@FreeTypeFont@@IAEXXZ) で参照されました。
>FreeTypeFont.obj : error LNK2019: 未解決の外部シンボル _FT_Load_Char が関数 "public: virtual class osgText::Glyph * __thiscall FreeTypeFont::getGlyph(struct std::pairconst &,unsigned int)" (?getGlyph@FreeTypeFont@@UAEPAVGlyph@osgText@@ABU?$pair@II@std@@I@Z) で参照されました。
>FreeTypeFont.obj : error LNK2019: 未解決の外部シンボル _FT_Outline_Get_BBox が関数 "public: virtual class osgText::Glyph3D * __thiscall FreeTypeFont::getGlyph3D(unsigned int)" (?getGlyph3D@FreeTypeFont@@UAEPAVGlyph3D@osgText@@I@Z) で参照されました。
>FreeTypeFont.obj : error LNK2019: 未解決の外部シンボル _FT_Outline_Decompose が関数 "public: virtual class osgText::Glyph3D * __thiscall FreeTypeFont::getGlyph3D(unsigned int)" (?getGlyph3D@FreeTypeFont@@UAEPAVGlyph3D@osgText@@I@Z) で参照されました。
>FreeTypeFont.obj : error LNK2019: 未解決の外部シンボル _FT_Get_Kerning が関数 "public: virtual class osg::Vec2f __thiscall FreeTypeFont::getKerning(unsigned int,unsigned int,enum osgText::KerningType)" (?getKerning@FreeTypeFont@@UAE?AVVec2f@osg@@IIW4KerningType@osgText@@@Z) で参照されました。
>FreeTypeFont.obj : error LNK2019: 未解決の外部シンボル _FT_Get_Char_Index が関数 "public: virtual class osg::Vec2f __thiscall FreeTypeFont::getKerning(unsigned int,unsigned int,enum osgText::KerningType)" (?getKerning@FreeTypeFont@@UAE?AVVec2f@osg@@IIW4KerningType@osgText@@@Z) で参照されました。
>FreeTypeLibrary.obj : error LNK2019: 未解決の外部シンボル _FT_Init_FreeType が関数 "protected: __thiscall FreeTypeLibrary::FreeTypeLibrary(void)" (??0FreeTypeLibrary@@IAE@XZ) で参照されました。
>FreeTypeLibrary.obj : error LNK2019: 未解決の外部シンボル _FT_Done_FreeType が関数 "public: virtual __thiscall FreeTypeLibrary::~FreeTypeLibrary(void)" (??1FreeTypeLibrary@@UAE@XZ) で参照されました。
>FreeTypeLibrary.obj : error LNK2019: 未解決の外部シンボル _FT_New_Face が関数 "protected: bool __thiscall FreeTypeLibrary::getFace(class std::basic_string,class std::allocator > const &,unsigned int,struct FT_FaceRec_ * &)" (?getFace@FreeTypeLibrary@@IAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAAPAUFT_FaceRec_@@@Z) で参照されました。
>FreeTypeLibrary.obj : error LNK2019: 未解決の外部シンボル _FT_Open_Face が関数 "protected: unsigned char * __thiscall FreeTypeLibrary::getFace(class std::basic_istream> &,unsigned int,struct FT_FaceRec_ * &)" (?getFace@FreeTypeLibrary@@IAEPAEAAV?$basic_istream@DU?$char_traits@D@std@@@std@@IAAPAUFT_FaceRec_@@@Z) で参照されました。
>FreeTypeLibrary.obj : error LNK2019: 未解決の外部シンボル _FT_Set_Charmap が関数 "protected: void __thiscall FreeTypeLibrary::verifyCharacterMap(struct FT_FaceRec_ *)" (?verifyCharacterMap@FreeTypeLibrary@@IAEXPAUFT_FaceRec_@@@Z) で参照されました。
>....\OpenSceneGraph-3.0.1\bin\osgPlugins-3.0.1\osgdb_freetyped.dll : fatal error LNK1120: 外部参照 12 が未解決です。