UpdaterBuildingFromSource

From SfzWiki
(Redirected from UpdaterBuilldingFromSource)
Jump to: navigation, search

A small updater based on subversion. the sourcecode is available from

 svn co svn://zwischenwelt.org/sfz/updater
The gui was designed using wxFormBuilder3 [ http://wxformbuilder.org/ ]

== dependencies ==
*wxWidget [ http://www.wxwidgets.org/ ]
	http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.8.4-Setup.exe
*subversion [ http://subversion.tigris.org/ ] and its dependencies
	http://subversion.tigris.org/project_packages.html
	svn-win32-1.4.4_dev.zip
	svn-1.4.4-setup.exe
*SvnCpp C++ API see subdirectory svncpp
	see http://rapidsvn.tigris.org/svncpp.html
	downloadable with (username=guest,empty password) : svn co http://rapidsvn.tigris.org/svn/rapidsvn/trunk/src/svncpp
	this is already included in the subdir updater/svncpp/
*Apache Portable Runtime (APR) http://apr.apache.org/  (already included in svn-win32-1.4.4_dev.zip)


additional libs : 
	intl3_svn.lib
		README.txt in svn-win32-1.4.4_dev.zip : The patched libintl is at
		http://subversion.tigris.org/files/documents/15/20739/svn-win32-libintl.zip
	libdb44.lib  
		some berkeley db thing,
		http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=688
		 db-4.4.20-win32.zip
	ws2_32.lib   (probably winsock2 lib of the win32 api)

== building from source ==

you'll probably have to compile wxWidgets :
	open C:\wxWidgets-2.8.4\build\msw\wx.dsw
	and choose buildmenu / rebuild everything
	and probably the same with 
	open C:\wxWidgets-2.8.4\build\msw\wx_dll.dsw
	select the files tab in the left list
	choose "release" config from build menu for the active(bold) project
	select all projects
	rightclick - build  (be sure to get them all, or you'll get missing .libs later)

	
in visual studio open  extra/options/projects/vc++folders
choose "includes" from the dropdown on the topright corner
add the following lines : 
C:\wxWidgets-2.8.4\include
C:\wxWidgets-2.8.4\include\msvc
C:\svn-win32-1.4.4\include
C:\svn-win32-libintl\inc
C:\svn-win32-1.4.4\include\apr
C:\svn-win32-1.4.4\include\apr-util
C:\svn-win32-1.4.4\include\apr-iconv
$(SolutionDir)

choose "libs" from the dropdown on the topright corner
add the following lines : 
C:\wxWidgets-2.8.4\lib\vc_lib
C:\svn-win32-1.4.4\lib
C:\svn-win32-1.4.4\lib\neon
C:\svn-win32-1.4.4\lib\apr
C:\svn-win32-1.4.4\lib\apr-util
C:\svn-win32-1.4.4\lib\apr-iconv
C:\svn-win32-libintl\lib
C:\db4-win32-4.4.20\lib

make a RELEASE compile, debug won't work

if wxmsw28d_html.lib,wxbase28d_net.lib or similar are not found : 
	open C:\wxWidgets-2.8.4\build\msw\wx.dsw  and be sure to BUILD ALL PROJECTS, not just the first one
	build this : C:\wxWidgets-2.8.4\samples\html\virtual  
	if it still doesn't help :
	you might have to compile the C:\wxWidgets-2.8.4\contrib\build  stuff
	C:\wxWidgets-2.8.4\utils

libdb44.lib not found : 
	http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=688
	 db-4.4.20-win32.zip

if you get this error : 
	MSVCRTD.lib(cinitexe.obj) : warning LNK4098: Standardbibliothek "msvcrt.lib" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.
	CVTRES : fatal error CVT1100: Doppelte Ressource. type:MANIFEST, name:1, language:0x0409.
	you've made a debug compile, 
	use release instead.