The standard package for processing XSLT in Cygwin in xsltproc. The problem is that it supports only xslt 1.0. Are there some packages that also support xslt 2.0 in cygwin and how to install them?
Related
Which version of msbuild supports multitargetting?
Is it the version 2.0 supported can i use it
Need details of version to use multi targetting
Following this post, where I have used these instructions to install NVIDIA's OpenCL SDK. The clinfo tool detects a 1.2 OpenCL version correctly. However, The below CMakeLists.txt file:
cmake_minimum_required(VERSION 3.1)
project(OpenCL_Example)
find_package(OpenCL REQUIRED)
include_directories(${OpenCL_INCLUDE_DIRS})
link_directories(${OpenCL_LIBRARY})
add_executable(main main.c)
target_include_directories(main PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(main ${OpenCL_LIBRARY})
copied from here, detects the wrong version of OpenCL 1.1 :
-- Looking for CL_VERSION_1_1 - found
-- Found OpenCL: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v3.2/lib/Win32/OpenCL.lib (found version "1.1")
I would appreciate it if you could help me know what is the problem and how I can resolve it.
P.S.1. you may use the below dummy main.c C code just for testing
#include <CL/cl.h>
#include <stdio.h>
int main() {
printf("Hello, World! \n");
return 0;
}
P.S.2. Following this Tweet, I ran the cmake .. --debug-find command and got this log. But still not sure what is the problem.
P.S.3. Following this Tweet, it turns out that I had installed a very outdated CUDA toolkit. Uninstalling that, now I get
-- Found OpenCL: C:/Program Files (x86)/IntelSWTools/system_studio_2020/OpenCL/sdk/lib/x86/OpenCL.lib (found version "2.2")
which is Intel's SDK. It was basically the second result on Google search " NVIDIA OpenCL SDK download", firstly being completely confusing. So I had to uninstall it and install the latest version from here. NVIDIA could at least mention that one has to install CUDA toolkit to get the OpenCL SDK!
NVidia Cuda v3.2 was released according to this on Nov 2010 and OpenCL 1.2 spec was released one year later on November 15, 2011. So I suspect cmake is detecting OpenCL 1.1 correctly.
If you have another SDK installed and you want cmake to detect OpenCL 1.2 despite having another SDKs supporting older version you need to specify that information in cmake. Otherwise it will find the first OpenCL on the search path and stop. So it should be specified find_package(OpenCL 1.2 REQUIRED) or as #squareskittles pointed find_package(OpenCL 1.2 EXACT REQUIRED) if you want exact version.
However you may need to add other SDKs paths to PATH or specify them in cmake so that it has a chance to examine other OpenCL versions. If you have a look at find cmake macros content they contain some typical search paths specified and if you have SDK installed in other not standard path you have to tell that cmake yourself. That is especially the case on Windows where you don't have standard more specific install paths for includes or libraries like for example on Linux. On Windows there is really Program Files but that is too generic and cmake would have to search through it recursively and I'm not sure if that is even supported.
I suspect you may have nvidia cuda 3.2 toolkit path added to PATH only or you specified that path in cmake only. So here would the problem lie. Adding other SDKs paths may resolve the issue.
Also I think clinfo checks runtime OpenCL installations meaning it can be any vendor OpenCL.dll which supports OpenCL 1.2 on your NVidia GPU and cmake checks in SDK's header which OpenCL version your installed SDK supports. So here can be the discrepancy. In this case you may need to install newer cuda toolkit.
I want to know that how to build Npgsql binaries through Npsql-3.0.3 sources on linux. I don't want to use nuget mechanism to set up Npgsql on linux. Earlier i can see Npgsql.dll with Npgsql-2.2.4.3 sources for MS .net20/35/40/45 versions. So I can use mono to compile/execute my C# code to connect the database with support of Npgsql.dll as like below steps.
$opt/mono/bin/mcs npgsqltest.cs -r:/opt/mono/lib/mono/4.5/System.Data.dll -r:/opt/PostgreSQL/Npgsql/ms.net45/Npgsql.dll
$ /opt/mono/bin/mono npgsqltest.exe
Now I don't see any Npgsql.dll with new 3.0.3 sources, so how can I build binaries through sources on linux.
Please guild me for this if any docs or references available.
I'm trying to find cassandra instalation guide and all I've found is installing guide of apache-cassandra-0.6.6 version, I have the latest apache cassandra 2.0.2 version binary files and doesn't include some of the included config files which previous version had. so please can you tell me how to install apache cassandra 2.0.2?
I would recommend you to install DataStax Community edition. Currently DataStax distributes and supports Cassandra. You can find all Cassandra documentation Here
To install DataStax Community edition on various platform (such as - RHEL, Debian, Ubuntu, CentOS, Mac X, Windows, any Linux distribution etc.), use THIS link.
In debian recently change de default version of python from 2.5 to 2.6 but i need 2.5, how i can configure apache and/or wsgi script to say it use pythons2.5 and not python default?
You must install mod_wsgi package binary compiled against Python 2.5, or compile mod_wsgi from source code yourself against the Python 2.5 version. See notes about --with-python option in:
http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide#Configuring_The_Source_Code
You'll need to recompile mod_wsgi against the appropriate version of Python.