This page gives instructions for building Virtuoso Open-Source Edition on Windows 32- or 64-bit platforms.
Note: The build process on Windows is rather more complex than on other platforms, so we make pre-built Windows packages available in the SourceForge Project. We recommend you use the latest build available for your platform. As of 2018-02-01, the latest available VOS binaries for Windows are 64-bit (x86_64) version 7.2.4.2 (built 2016-04-25) and 32-bit (x86) version 6.1.8 (built 2013-12-11).
You must have the following development tools and software installed:
Optionally, you may want to also install:
The OpenSSL library must be built as a static library using Visual Studio.
 Detailed instructions for this build can be found in the INSTALL.W32 document in the OpenSSL source distribution.
<OpenSSL dir</util/pl/VC-32.pl and change the "cflags" to use the "/MT" and "/MTd" compiler switches instead of "/MD" and "/MDd".Finally, the libeay32.lib and ssleay32.lib from <OpenSSL dir>/out32 and files from <OpenSSL dir>/inc32/openssl must be copied to <Virtuoso Open Source dir>/win32/openssl/.
For Visual Studio to find the Cygwin developer tools (gawk, bison, flex), the path to the Cygwin programs (e.g., c:\cygwin\bin) must be added to standard settings.
To do this, execute the following steps:
<WIN>/system32, so VS will use cygwin's "find" command sql3.c and turtle_p.c in <Virtuoso Open Source dir>/libsrc/Wi) and remove the ';' after the start of the 'yyparse' function: 
... #else int yyparse () ; <-- remove this #endif #endif ...
virtuoso_t - the Virtuoso Server isql, isqlo - SQL command line tools virtoledb - Virtuoso OLEDB provider wi, wic, dk1t, dksrv, threads, threadw, xml, zlib, tidy, util - library modulestpcc, blobs, scroll, burstoff, cutter, cursor - test suite programs libvirtuoso_t - the Virtuoso server shared object, needed for hosting servers virtodbc - Virtuoso ODBC Driver virtuoso_clr_t - .NET CLR-hosting server (requires .NET Framework SDK v1.1) virtuoso_javavm_t - Java hosting server (requires Java SDK) virtuoso_php_t - PHP4 hosting server (requires PHP4 library) virtuoso_sample_t - sample of the Virtuoso server with extensions hosting_perl - Perl hosting plugin (requires Active Perl) hosting_python - Python hosting plugin (requires Active Python) wikiv - Virtuoso Wiki plugin im - ImageMagick? plugin (requires ImageMagick? library)
<Virtuoso Open Source dir>/win32/virtuoso-opensource.sln.
<Virtuoso Open Source dir>/win64/virtuoso-opensource.sln.
The following directories with the header files from the PHP4 source tree need to be placed under <Virtuoso Open Source dir>/win32/php4/:
ext/ main/ regex/ TSRM/ win32/ Zend/To the same directory (<Virtuoso Open Source dir>/win32/php4/), you should also copy the following:
php4ts.dll php4ts.lib php_version.h
JDK_PATH with value of JDK installation directory (e.g., c:\jdk1.5).
virtuoso_javavm_t target in the solution.
virtuoso_javavm_t target.<Virtuoso Open Source dir>/win32.
perl mkperlenv.pl'; this should produce output like: 
PERL_CFLAGS=... PERL_LDFLAGS=...
PERL_CFLAGS and PERL_LDFLAGS in the environment with values printed from the step above.
hosting_perl target in the solution.
hosting_perl plugin.
<Virtuoso Open Source dir>/win32.
python mkpythonenv.py'; this should produce output like: 
PYTHON_CFLAGS=... PYTHON_LDFLAGS=...
PYTHON_CFLAGS and PYTHON_LDFLAGS in the environment with values printed from the step above hosting_python target in the solution.
hosting_python pluginIM_PATH in the environment with a value of ImageMagick installation directory im target in the solution 
<Virtuoso Open Source dir>/win32/[Release|Debug]: virtuoso-t.exe isql.exe blobs.exe ins.exe scroll.exe <Virtuoso Open Source dir>/ 
export HOME=`pwd` export PATH=$HOME/win32/Release:$PATH export BLOBS=blobs.exe export INS=ins.exe export ISQL=isql.exe export PORT=5555 export ENABLE_MTS_TEST=0 export SCROLL=scroll.exe export GETDATA=getdata.exe
<Virtuoso Open Source dir>/binsrc/tests/suite 
./test_server virtuoso-t
Perform the following steps to register the ODBC Driver for Virtuoso:
virtodbc.dll (Virtuoso Open Source ODBC Driver) is built.
regsvr32 virtodbc.dll
c:\dbs\virtuoso.
demo.db) and default demo.ini file to the new directory.
cd c:
cd \dbs\virtuoso
copy <Virtuoso Open Source dir>\binsrc\samples\demo\demo.db
copy <Virtuoso Open Source dir>\binsrc\samples\demo\demo.ini
SET PATH=%PATH%;<irtuoso Open Source dir>\win32\Release virtuoso-t -c demo -I Demo -S create virtuoso-t -c demo -I Demo -S start
isql 1112 dba dba
SQL> prompt.To switch to the demo database, containing the Microsoft Northwind sample tables, type:
SQL> use Demo;
The help command in iSQL can give further instructions.
To use a web admin interface, point the browser to http://localhost:8890/conductor .
To read the online documentation: http://localhost:8890/doc/html
To experiment with online tutorials, http://localhost:8890/tutorial
For VAD Packages, read the README file for Linux.
In order to run the .NET CLR hosting server (virtuoso-clr-t),
c:\dbs\virtuoso demo.db) and default demo.ini file to the new directory.
cd c:
cd \dbs\virtuoso
copy <Virtuoso Open Source dir>\binsrc\samples\demo\demo.db
copy <Virtuoso Open Source dir>\binsrc\samples\demo\demo.ini
virt_http.dll in the GAC: 
gacutil /i <Virtuoso Open Source dir>\win32\Release\virt_http.dll
virtclr.dll and virtuoso-clr-t are in the search path.
Point.dll and tax.dllmust be copied from <Virtuoso Open Source dir>\binsrc\tutorial\hosting\ho_s_2 to <Virtuoso Open Source dir>\win32\Release\: 
SET PATH=%PATH%;<Virtuoso Open Source dir>\win32\Release virtuoso-clr-t -c demo -I Demo -S create virtuoso-clr-t -c demo -I Demo -S start
In order to run the Java hosting server (virtuoso-javavm-t),
c:\dbs\virtuoso demo.db) and default demo.ini file to the new directory.
cd c:
cd \dbs\virtuoso
copy <Virtuoso Open Source dir>\binsrc\samples\demo\demo.db
copy <Virtuoso Open Source dir>\binsrc\samples\demo\demo.ini
CLASSPATH to the place where Java classes are.
virtuoso-javavm-t is in the search path 
set CLASSPATH=<Virtuoso Open Source dir>\binsrc\tutorial\hosting\ho_s_1;%CLASSPATH% SET PATH=%PATH%;<Virtuoso Open Source dir>\win32\Release virtuoso-javavm-t -c demo -I Demo -S create virtuoso-javavm-t -c demo -I Demo -S start