Changeset 433
- Timestamp:
- 10/14/08 22:37:22 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/uploadr/MacUploadr.app/Contents/Resources/components/flGM.vcproj
r302 r433 43 43 Name="VCCLCompilerTool" 44 44 Optimization="0" 45 AdditionalIncludeDirectories=""..\ gecko-sdk.win\include";"..\..\..\..\..\GraphicsMagick-1.1.10\Magick++\lib";"..\..\..\..\..\GraphicsMagick-1.1.10";"..\..\..\..\..\exiv2-0.15\src""45 AdditionalIncludeDirectories=""..\xulrunner-sdk\sdk\include";"..\..\..\..\..\GraphicsMagick-1.1.10\Magick++\lib";"..\..\..\..\..\GraphicsMagick-1.1.10";"..\..\..\..\..\exiv2-0.15\src"" 46 46 PreprocessorDefinitions="XP_WIN;XP_WIN32;NDEBUG;WIN32;_CONSOLE;_VISUALC_;NeedFunctionPrototypes;_MAGICKMOD_;_LIB;NEED_SOCKETS" 47 47 MinimalRebuild="true" … … 70 70 OutputFile="$(ProjectName).dll" 71 71 LinkIncremental="2" 72 AdditionalLibraryDirectories=""..\..\..\..\..\GraphicsMagick-1.1.10\VisualMagick\lib";"..\ gecko-sdk.win\lib";"..\..\..\..\..\exiv2-0.15\msvc\exiv2lib\Release""72 AdditionalLibraryDirectories=""..\..\..\..\..\GraphicsMagick-1.1.10\VisualMagick\lib";"..\xulrunner-sdk\sdk\lib";"..\..\..\..\..\exiv2-0.15\msvc\exiv2lib\Release"" 73 73 GenerateDebugInformation="true" 74 74 SubSystem="2" … … 127 127 <Tool 128 128 Name="VCCLCompilerTool" 129 AdditionalIncludeDirectories=""..\ gecko-sdk.win\include";"..\..\..\..\..\GraphicsMagick-1.1.10\Magick++\lib";"..\..\..\..\..\GraphicsMagick-1.1.10";"..\..\..\..\..\exiv2-0.16\src";c:\msys\1.0\local\include\ffmpeg;c:\msys\1.0\local\include"129 AdditionalIncludeDirectories=""..\xulrunner-sdk\sdk\include";"..\..\..\..\GraphicsMagick-1.2.5\Magick++\lib";"..\..\..\..\GraphicsMagick-1.2.5";"..\..\..\..\exiv2-0.17.1\src";C:\msys\home\jdecq\ffmpeg;c:\msys\1.0\local\include;.\" 130 130 PreprocessorDefinitions="XP_WIN;XP_WIN32;NDEBUG;WIN32;_CONSOLE;_VISUALC_;NeedFunctionPrototypes;_MAGICKMOD_;_LIB;NEED_SOCKETS;XML_STATIC" 131 131 RuntimeLibrary="2" 132 TreatWChar_tAsBuiltInType="false" 132 133 UsePrecompiledHeader="0" 133 134 WarningLevel="0" … … 148 149 Name="VCLinkerTool" 149 150 AdditionalOptions="/NODEFAULTLIB:libcmt.lib" 150 AdditionalDependencies="CORE_RL_Magick++_.lib CORE_RL_bzlib_.lib CORE_RL_coders_.lib CORE_RL_filters_.lib CORE_RL_jbig_.lib CORE_RL_jp2_.lib CORE_RL_jpeg_.lib CORE_RL_lcms_.lib CORE_RL_libxml_.lib CORE_RL_magick_.lib CORE_RL_png_.lib CORE_RL_tiff_.lib CORE_RL_ttf_.lib CORE_RL_wand_.lib CORE_RL_wmf_.lib CORE_RL_xlib_.lib CORE_RL_zlib_.lib X11.lib Xext.lib Ws2_32.lib nspr4.lib xpcom.lib xpcomglue_s.lib exiv2.lib libavutil.a libavcodec.a libavformat.a libz.a libgcc.a lib mingwex.a"151 AdditionalDependencies="CORE_RL_Magick++_.lib CORE_RL_bzlib_.lib CORE_RL_coders_.lib CORE_RL_filters_.lib CORE_RL_jbig_.lib CORE_RL_jp2_.lib CORE_RL_jpeg_.lib CORE_RL_lcms_.lib CORE_RL_libxml_.lib CORE_RL_magick_.lib CORE_RL_png_.lib CORE_RL_tiff_.lib CORE_RL_ttf_.lib CORE_RL_wand_.lib CORE_RL_wmf_.lib CORE_RL_xlib_.lib CORE_RL_zlib_.lib X11.lib Xext.lib Ws2_32.lib nspr4.lib xpcom.lib xpcomglue_s.lib exiv2.lib libavutil.a libavcodec.a libavformat.a libz.a libgcc.a libswscale.a libmingwex.a" 151 152 OutputFile="$(ProjectName).dll" 152 153 LinkIncremental="1" 153 AdditionalLibraryDirectories=""..\..\..\..\..\GraphicsMagick-1.1.10\VisualMagick\lib";"..\gecko-sdk.win\lib";"..\..\..\..\..\exiv2-0.16\msvc\exiv2lib\Release";c:\msys\1.0\local\lib;C:\msys\1.0\mingw\lib;c:\msys\1.0\mingw\lib\gcc\mingw32\3.4.5" 154 AdditionalLibraryDirectories=""..\..\..\..\..\GraphicsMagick-1.1.10\VisualMagick\lib";"..\xulrunner-sdk\sdk\lib";"..\..\..\..\exiv2-0.17.1\msvc\exiv2lib\Release";c:\msys\lib;c:\msys\1.0\local\lib;C:\msys\mingw\lib;"C:\msys\mingw\lib\gcc\mingw32\4.2.1-sjlj";C:\msys\home\jdecq\ffmpeg\libavutil;C:\msys\home\jdecq\ffmpeg\libavcodec;C:\msys\home\jdecq\ffmpeg\libavformat;C:\msys\home\jdecq\ffmpeg\libswscale;"C:\Program Files\Expat 2.0.1\Bin"" 155 ModuleDefinitionFile="" 154 156 GenerateDebugInformation="true" 155 157 SubSystem="2" … … 182 184 <Tool 183 185 Name="VCPostBuildEventTool" 186 Description="clear out cache" 187 CommandLine=""C:\Documents and Settings\jdecq\Application Data\Flickr\Flickr Uploadr\Profiles\nqdgl4yz.default\clearcache.bat"" 184 188 /> 185 189 </Configuration> trunk/uploadr/MacUploadr.app/Contents/Resources/components/flKey.vcproj
r179 r433 4 4 Version="8.00" 5 5 Name="key" 6 ProjectGUID="{ 575D254B-9B3B-4CBD-891E-22D3A870E4D9}"6 ProjectGUID="{F53783EC-1288-478F-A730-8EA3F375A026}" 7 7 RootNamespace="flKey" 8 8 Keyword="Win32Proj" … … 43 43 Name="VCCLCompilerTool" 44 44 Optimization="0" 45 AdditionalIncludeDirectories=""..\ gecko-sdk.win\include""45 AdditionalIncludeDirectories=""..\xulrunner-sdk\sdk\include"" 46 46 PreprocessorDefinitions="XP_WIN;XP_WIN32;NDEBUG;WIN32;_CONSOLE;_VISUALC_;NeedFunctionPrototypes;_MAGICKMOD_;_LIB;NEED_SOCKETS" 47 47 MinimalRebuild="true" … … 70 70 OutputFile="$(ProjectName).dll" 71 71 LinkIncremental="2" 72 AdditionalLibraryDirectories=""..\ gecko-sdk.win\lib""72 AdditionalLibraryDirectories=""..\xulrunner-sdk\sdk\lib"" 73 73 GenerateDebugInformation="true" 74 74 SubSystem="2" … … 127 127 <Tool 128 128 Name="VCCLCompilerTool" 129 AdditionalIncludeDirectories=""..\ gecko-sdk.win\include""129 AdditionalIncludeDirectories=""..\xulrunner-sdk\sdk\include"" 130 130 PreprocessorDefinitions="XP_WIN;XP_WIN32;NDEBUG;WIN32;_CONSOLE;_VISUALC_;NeedFunctionPrototypes;_MAGICKMOD_;_LIB;NEED_SOCKETS" 131 131 RuntimeLibrary="2" 132 TreatWChar_tAsBuiltInType="false" 132 133 UsePrecompiledHeader="0" 133 134 WarningLevel="3" … … 151 152 OutputFile="$(ProjectName).dll" 152 153 LinkIncremental="1" 153 AdditionalLibraryDirectories=""..\ gecko-sdk.win\lib""154 AdditionalLibraryDirectories=""..\xulrunner-sdk\sdk\lib"" 154 155 GenerateDebugInformation="true" 155 156 SubSystem="2" trunk/uploadr/README.windows
r383 r433 65 65 Follow these steps to get MSYS working with Visual Studio: 66 66 67 http:// arrozcru.no-ip.org/ffmpeg_wiki/tiki-index.php?page=Fixing+msys67 http://ffmpeg.arrozcru.com/ffmpeg_wiki/tiki-index.php?page=Fixing+msys 68 68 69 69 From the same download page, download the following packages: 70 70 71 71 From the MinGW Runtime section: 72 mingw -runtime-3.14.tar.gz72 mingwrt-3.15-mingw32-dev.tar.gz 73 73 74 74 From the GNU Binutils section: … … 76 76 77 77 From the MinGW API for MS-Windows section: 78 w32api-3.11.tar.gz 78 w32api-3.11.tar.gz (because of http://archives.free.net.ph/message/20080910.160811.a4295713.en.html, not using 3.12 yet) 79 79 80 80 From the GCC Version 4 / Technology Preview: gcc-4.2.1-sjlj-2 section: … … 90 90 gcc-sjlj.exe to gcc.exe 91 91 92 Make sure you have C:\msys\mingw\lib\crt2.o (comes from MinGW Runtime section) 93 92 94 Follow these instructions to make mingw work with msys: 93 95 94 http:// arrozcru.no-ip.org/ffmpeg_wiki/tiki-index.php?page=Integrating+MinGW+with+MSys96 http://ffmpeg.arrozcru.com/ffmpeg_wiki/tiki-index.php?page=Integrating+MinGW+with+MSys 95 97 96 98 You probably already have an SVN client, but if not, you can grab the … … 137 139 138 140 Place the SDK here: 139 UPLOADR/MacUploadr.app/Contents/Resources/ gecko-sdk.win140 141 These SDKs are from the Gecko 1. 8series and so are only safe to use141 UPLOADR/MacUploadr.app/Contents/Resources/xulrunner-sdk 142 143 These SDKs are from the Gecko 1.9 series and so are only safe to use 142 144 if the XPCOM components use only frozen interfaces. Fortunately, 143 145 Uploadr currently falls into this category. … … 148 150 149 151 Extract that and copy glib-1.2.dll and libIDL-0.6.dll from 150 wintools/buildtools/windows/bin/x86/ to your gecko-sdk.win/bin/ directory.152 wintools/buildtools/windows/bin/x86/ to your xulrunner-sdk/sdk/bin/ directory. 151 153 152 154 … … 214 216 and adding "&" to make all of the catches happen by reference. The 215 217 official builds are build with 1.1.10 and will soon move to 1.1.11. 218 build 1.2.5 builds all the CORE_* projects fine 216 219 217 220 You can verify that enough of it built correctly by checking in the … … 220 223 221 224 Add the path to your GraphicsMagick build's VisualMagick\lib directory 222 to your library path. Add the path to VisualMagick\include to your 223 include path. 225 to your library path. Add the path to VisualMagick\include (JDE --- 226 GraphicsMagick-1.2.5 does not have an include dir, but C:\Source\UPLOADR\GraphicsMagick-1.2.5\magick maybe) 227 to your include path. 224 228 225 229 The magic.mgk, modules.mgk and delegates.mgk files must be in the root of … … 286 290 --- I'm dubious that we need to install anything extra here [CAL] 287 291 --- But i need to wait until i actually get gm.dll linking 288 --- Additionally add in dependencies like zlib: 292 --- Additionally add in dependencies like zlib: (got it from zlib-1.2.3-MSYS-1.0.11-1.tar.bz2 from the MSYS supplementary tool download URL) 289 293 --- http://wiki.videolan.org/Win32CompileMSYS 290 294 … … 300 304 The lastest version of FFmpeg is kinda broken on windows and needs 301 305 to be built one library at a time,. This should do the trick: 306 --- JDE : Note = with trunk from 09/17/08, make just works 307 BUT 308 had to patch MinGW as described at http://ffmpeg.arrozcru.org/wiki/index.php?title=MSys_MinGW 309 and commented out the #include <sys/select.h> 302 310 303 311 $ cd libswscale && make && cd .. … … 325 333 UPLOADR/MacUploadr.app/Contents/Resources/components/*.vcproj 326 334 335 Modify project properties to use your paths to GraphicsMagick and exiv2-0.17.1 336 327 337 The two projects will generate gm.dll and key.dll. 328 338