]> git.sur5r.net Git - bacula/bacula/commitdiff
Update VC++ 8.0 project files.
authorNicolas Boichat <nicolas@boichat.ch>
Sat, 27 Aug 2005 19:11:42 +0000 (19:11 +0000)
committerNicolas Boichat <nicolas@boichat.ch>
Sat, 27 Aug 2005 19:11:42 +0000 (19:11 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2360 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/win32/README.vc8
bacula/src/win32/baculafd/baculafd.vcproj
bacula/src/win32/wx-console/wx-console.vcproj

index 33a9ed3608a2fa6a8d9364e952b9f1d9730e203a..5382346f17b7ce628cf93ad303707d8b7990557e 100644 (file)
@@ -1,3 +1,65 @@
-Instructions to build Bacula with Microsoft Visual C++ 2005 Express Edition (free).
+Instructions to build Bacula with Microsoft Visual C++ 2005 Express Edition (free version).
 ---
 
+What you need to download:
+- Visual C++ Express Edition Beta 2 (2MB + 66MB)
+  http://lab.msdn.microsoft.com/express/visualc/default.aspx
+
+- Windows® Server 2003 SP1 Platform SDK Full Download (385MB)
+  http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
+  NOTE: choose "Full Download" version on the bottom of that page.
+
+- wxWidgets for Win32 (17MB) (exe file)
+  http://www.wxwidgets.org/dl_msw2.htm#stable
+
+- Bacula source files:
+  + deppkgs-win32 from SF download page (extracted in <dev dir>/deppkgs-win32)
+  + latest source from the CVS (maybe you want to use mingw-msys to checkout them) (in <dev dir>/bacula)
+
+Installation instructions:
+ - Visual C++ Express Edition Beta 2:
+   + Run vcsetup.exe.
+   + When asked for Installation Options, only check "Graphical IDE" (MSDN Library is NOT needed).
+   + Remember where you install it (e.g. E:\Microsoft Visual Studio 8\)
+
+ - Windows® Server 2003 SP1 Platform SDK Full Download
+   + Run psdk-full.exe, type the directory where you downloaded the cab files.
+   + In a command prompt, run "PSDK-full.bat <temp directory>" (e.g. "PSDK-full.bat E:\temp")
+   + Run <temp directory>\setup.exe
+   + When asked for the installation directory, choose <vc++ install dir>\VC\PlatformSDK
+     (e.g. E:\Microsoft Visual Studio 8\VC\PlatformSDK\)
+   + When asked for components, you can safely remove documentation, samples, and all 64-bit tools and libs.
+
+ - wxWidgets for Win32
+   + delete <dev dir>/deppkgs-win32/wx directory
+   + run wxMSW-2.6.1-Setup.exe, and install it to <dev dir>/deppkgs-win32/wx
+
+Build instructions:
+ - deppkgs:
+   + Start VC++ 2005 command prompt (in the start menu)
+   + cd <dev dir>/deppkgs-win32/zlib
+   + run "nmake -f win32\Makefile.msc" (don't worry about the warnings)
+   + cd <dev dir>/deppkgs-win32/pthreads
+   + run "nmake clean VCE" (again, don't worry about the warnings)
+   + (note pthreadVCE.dll has been created in this directory)
+ - wxWidgets:
+   + Open <dev dir>\depkgs-win32\wx\build\msw\wx.dsw in VC++ 2005
+   + Click on "Yes to all"
+   + In the solution explorer, open core/Setup Headers/setup.h and add, at the end of the file (before the last #endif):
+#if (_MSC_VER >= 1400) // VC8+
+#pragma warning(disable : 4996) // Either disable all deprecation warnings,
+// #define _CRT_SECURE_NO_DEPRECATE // Or just turn off warnings about the newly deprecated CRT functions.
+#endif // VC8+
+     This is not absolutely necessary, but this will remove annoying warnings.
+
+   + Launch Build->Configuration Manager, then select "Unicode Release"
+     (when you do this VC++ is busy and inactive for a little moment, don't worry about it .-))
+     and close this window. Then run Build->Build Solution.
+   + Repeat the operation for the "Unicode Debug" configuration if needed.
+
+ - Bacula:
+   + Open <dev dir>/bacula/src/win32/bacula.sln
+   + Launch Build->Configuration Manager, then select your configuration.
+   + Then run Build->Build Solution (this will build wx-console, bconsole and bacula-fd).
+   + Don't forget to copy pthreadVCE.dll from <dev dir>/deppkgs-win32/pthreads to
+     the Release and Debug directories in src/win32/baculafd and src/win32/wx-console
\ No newline at end of file
index 0ea0595dadc5891f06d5dd747e27f68e6fd895c3..e96227d0fc771fcbabbc92e9ffd71aef7e0a9a62 100644 (file)
@@ -5,6 +5,7 @@
        Name="baculafd"
        ProjectGUID="{6A435DBB-4D3D-4DAE-8CB3-E0AF169A240B}"
        Keyword="MFCProj"
+       SignManifests="true"
        >
        <Platforms>
                <Platform
                        />
                        <Tool
                                Name="VCLinkerTool"
-                               AdditionalDependencies="wsock32.lib pthreadVCE.lib zlib.lib"
+                               AdditionalDependencies="wsock32.lib pthreadVCE.lib zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"
                                OutputFile="Debug/bacula-fd.exe"
                                LinkIncremental="2"
                                SuppressStartupBanner="true"
index f07609aaa7b1bf1fbb1dc668f994e0129238499b..40cb5836a7f327eb9da455b199ebe09f6ea75155 100644 (file)
@@ -5,7 +5,6 @@
        Name="wx-console"\r
        ProjectGUID="{9BA8E10D-0D82-4B25-8543-DE34641FBC10}"\r
        Keyword="Win32Proj"\r
-       SignManifests="true"\r
        >\r
        <Platforms>\r
                <Platform\r
@@ -60,7 +59,7 @@
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="wxbase26ud.lib wxbase26ud_net.lib wxbase26ud_odbc.lib wxbase26ud_xml.lib wxexpatd.lib wxjpegd.lib wxmsw26ud_adv.lib wxmsw26ud_core.lib wxmsw26ud_dbgrid.lib wxmsw26ud_gl.lib wxmsw26ud_html.lib wxmsw26ud_media.lib wxmsw26ud_qa.lib wxmsw26ud_xrc.lib wxpngd.lib wxregexud.lib wxtiffd.lib wxzlibd.lib pthreadVCE.lib zlib.lib wsock32.lib comctl32.lib rpcrt4.lib"\r
+                               AdditionalDependencies="wxbase26ud.lib wxbase26ud_net.lib wxbase26ud_odbc.lib wxbase26ud_xml.lib wxexpatd.lib wxjpegd.lib wxmsw26ud_adv.lib wxmsw26ud_core.lib wxmsw26ud_dbgrid.lib wxmsw26ud_gl.lib wxmsw26ud_html.lib wxmsw26ud_media.lib wxmsw26ud_qa.lib wxmsw26ud_xrc.lib wxpngd.lib wxregexud.lib wxtiffd.lib wxzlibd.lib pthreadVCE.lib zlib.lib wsock32.lib comctl32.lib rpcrt4.lib gdi32.lib user32.lib ole32.lib ComDlg32.Lib shell32.lib AdvAPI32.Lib"\r
                                LinkIncremental="2"\r
                                AdditionalLibraryDirectories="../../../../depkgs-win32/wx/lib/vc_lib;../../../../depkgs-win32/pthreads;../../../../depkgs-win32/zlib"\r
                                GenerateDebugInformation="true"\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalDependencies="wxbase26u.lib wxbase26u_net.lib wxbase26u_odbc.lib wxbase26u_xml.lib wxexpat.lib wxjpeg.lib wxmsw26u_adv.lib wxmsw26u_core.lib wxmsw26u_dbgrid.lib wxmsw26u_gl.lib wxmsw26u_html.lib wxmsw26u_media.lib wxmsw26u_qa.lib wxmsw26u_xrc.lib wxpng.lib wxregexu.lib wxtiff.lib wxzlib.lib pthreadVCE.lib zlib.lib wsock32.lib comctl32.lib rpcrt4.lib"\r
+                               AdditionalDependencies="wxbase26u.lib wxbase26u_net.lib wxbase26u_odbc.lib wxbase26u_xml.lib wxexpat.lib wxjpeg.lib wxmsw26u_adv.lib wxmsw26u_core.lib wxmsw26u_dbgrid.lib wxmsw26u_gl.lib wxmsw26u_html.lib wxmsw26u_media.lib wxmsw26u_qa.lib wxmsw26u_xrc.lib wxpng.lib wxregexu.lib wxtiff.lib wxzlib.lib pthreadVCE.lib zlib.lib wsock32.lib comctl32.lib rpcrt4.lib gdi32.lib user32.lib ole32.lib ComDlg32.Lib shell32.lib AdvAPI32.Lib"\r
                                LinkIncremental="2"\r
                                AdditionalLibraryDirectories="../../../../depkgs-win32/wx/lib/vc_lib;../../../../depkgs-win32/pthreads;../../../../depkgs-win32/zlib"\r
                                GenerateDebugInformation="true"\r