Hey Martin, I had to modify the -G argument to that command to include the visual studio year. If you run "cmake /?", it will output all the available generators. My cmake looked like:
cmake -G "Visual Studio 12 2013 Win64" -DJNI=1 .. I think this is probably a change in cmake since the rocksdb doc was written ( https://cmake.org/cmake/help/v3.0/generator/Visual%20Studio%2012%202013.html ). Mathieu On Tue, Aug 16, 2016 at 5:03 AM, Martin Gainty <mgai...@hotmail.com> wrote: > havent used cmake in over 10 years so Im a bit lost.. > cmake -G "Visual Studio 12 Win64" -DGFLAGS=1 -DSNAPPY=1 -DJEMALLOC=1 > -DJNI=1 > CMake Error: Could not create named generator Visual Studio 12 Win64 > ?Please advise > Martin > ______________________________________________ > > > > > From: mathieu.fenn...@replicon.com > > Date: Mon, 15 Aug 2016 13:43:47 -0600 > > Subject: Re: DLL Hell > > To: users@kafka.apache.org > > > > Hi Martin, > > > > rocksdb does not currently distribute a Windows-compatible build of their > > rocksdbjni library. I recently wrote up some instructions on how to > > produce a local build, which you can find here: > > http://mail-archives.apache.org/mod_mbox/kafka-users/ > 201608.mbox/%3CCAHoiPjweo-xSj3TiodcDVf4wNnnJ8u6PcwWDPF7L > T5ps%2BxQ3eA%40mail.gmail.com%3E > > > > I'd also suggest tracking this issue in GitHub, which is likely to be > > updated if this ever changes: https://github.com/facebook/ > rocksdb/issues/703 > > > > Mathieu > > > > > > On Mon, Aug 15, 2016 at 1:34 PM, Martin Gainty <mgai...@hotmail.com> > wrote: > > > > > kafka-trunk\streams>gradle buildCaused by: java.lang.RuntimeException: > > > librocksdbjni-win64.dll was not found inside JAR. at > org.rocksdb. > > > NativeLibraryLoader.loadLibraryFromJarToTemp( > NativeLibraryLoader.java:106) > > > at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar( > NativeLibraryLoader.java:78) > > > at org.rocksdb.NativeLibraryLoader.loadLibrary( > NativeLibraryLoader.java:56) > > > at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:47) at > > > org.rocksdb.RocksDB.<clinit>(RocksDB.java:23) > > > any idea where I can locale librocksdbjni-win64.dll ? > > > /thanks/ > > > Martin > > > ______________________________________________ > > > > > > > >