I am just beginning DirectX programming on Visual Studio Express 2013.
I searched online how to begin with it.
I found a resource here
I downloaded the zip and when I ran the VSIX file I got the following error:
This extension is not installable on any currently installed products.
And following is the Install log:
13-06-2015 14:04:12 - Microsoft VSIX Installer
13-06-2015 14:04:12 - -------------------------------------------
13-06-2015 14:04:13 - Initializing Install...
13-06-2015 14:04:14 - Extension Details...
13-06-2015 14:04:14 - Identifier : WDCGameTemplates..c3488525-c3e7-49c4-9619-e082f4a95772
13-06-2015 14:04:14 - Name : WDC Game Templates
13-06-2015 14:04:14 - Author : Microsoft Windows SDK
13-06-2015 14:04:14 - Version : 1.0
13-06-2015 14:04:14 - Description : Create realtime, graphics-intensive Windows Store games using DirectX and native code. Includes template code for graphics, sound effects, background music, and input.
13-06-2015 14:04:14 - Locale : en-US
13-06-2015 14:04:14 - MoreInfoURL :
13-06-2015 14:04:14 - InstalledByMSI : False
13-06-2015 14:04:14 - SupportedFrameworkVersionRange : [0.0,2147483647.2147483647]
13-06-2015 14:04:14 -
13-06-2015 14:04:14 - Supported Products :
13-06-2015 14:04:14 - Microsoft.VisualStudio.Pro
13-06-2015 14:04:14 - Version : [12.0,13.0)
13-06-2015 14:04:14 - Microsoft.VisualStudio.Premium
13-06-2015 14:04:14 - Version : [12.0,13.0)
13-06-2015 14:04:14 - Microsoft.VisualStudio.Ultimate
13-06-2015 14:04:14 - Version : [12.0,13.0)
13-06-2015 14:04:14 - Microsoft.VisualStudio.IntegratedShell
13-06-2015 14:04:14 - Version : [12.0,13.0)
13-06-2015 14:04:14 - Microsoft.VisualStudio.VSWinExpress
13-06-2015 14:04:14 - Version : [12.0,13.0)
13-06-2015 14:04:14 -
13-06-2015 14:04:14 - References :
13-06-2015 14:04:14 - -------------------------------------------------------
13-06-2015 14:04:14 - Identifier : Microsoft.Windows.DevelopmentKit.WindowsStore
13-06-2015 14:04:14 - Name : Windows Software Development Kit for Windows Store Apps
13-06-2015 14:04:14 - Version : [8.1,9.0)
13-06-2015 14:04:14 - MoreInfoURL :
13-06-2015 14:04:14 - Nested : No
13-06-2015 14:04:14 -
13-06-2015 14:04:14 -
13-06-2015 14:04:14 - Searching for applicable products...
13-06-2015 14:04:15 - Found installed product - Microsoft Visual Studio Express 2012 for Web
13-06-2015 14:04:15 - Found installed product - Microsoft Visual Studio Express 2013 for Windows Desktop
13-06-2015 14:04:15 - Found installed product - Global Location
13-06-2015 14:04:15 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
I also refered to the this thread
and followed the instruction provided in each and every answer. Still I am getting the same error.
Please tell me what else I need to do to fix this.
I am totally new to DirectX.
Fixed it.
Downloaded Visual Studio Community 2013 with Update 4.
And it worked fine.
Related
First I installed fluentd with Ruby 2.6.3.
$ rbenv versions
* system (set by /Users/jing/.rbenv/version)
2.7.5
$ gem
gem env
RubyGems Environment:
- RUBYGEMS VERSION: 3.0.3
- RUBY VERSION: 2.6.3 (2019-04-16 patchlevel 62) [universal.x86_64-darwin19]
- INSTALLATION DIRECTORY: /Users/jing/.gem
- USER INSTALLATION DIRECTORY: /Users/jing/.gem/ruby/2.6.0
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
- GIT EXECUTABLE: /usr/bin/git
- EXECUTABLE DIRECTORY: /Users/jing/.gem/bin
- SPEC CACHE DIRECTORY: /Users/jing/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /Library/Ruby/Site
- RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-19
- GEM PATHS:
- /Users/jing/.gem
- /Users/jing/.gem/ruby/2.6.0
- /Library/Ruby/Gems/2.6.0
- /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /usr/local/Cellar/rbenv/1.2.0/libexec
- /Users/jing/.rbenv/shims
- /Users/jing/.tiup/bin
- /Users/jing/opt/anaconda3/condabin
- /usr/local/sbin
- /Users/jing/code/github/zk-code/scripts
- /Users/jing/tools/apache-zookeeper-3.5.5-bin/bin
- /Users/jing/code/github/trace/sky/skywalking-cli/bin
- /Users/jing/tools/apache-skywalking-apm-bin-es7/bin
- /usr/local/opt/ruby/bin
- /Users/jing/tools/apache-maven-3.6.3/bin
- /Users/jing/.gem/bin
- /Users/jing/.cargo/bin
- /Users/jing/code/github/rtc/depot_tools
- /Users/jing/.gem/ruby/2.3.0/bin
- /usr/local/opt/coreutils/libexec/gnubin
- /Users/jing/tools/apache-skywalking-apm-bin-es7/bin
- /Users/jing/tools/confluent-6.1.0/bin
- /usr/local/opt/findutils/libexec/gnubin
- /usr/local/opt/gnu-sed/libexec/gnubin
- /Users/jing/tools/mongodb-osx-x86_64-4.0.2/bin
- /usr/local/opt/mysql#5.7/bin
- /Users/jing/tools/spark-2.2.0-bin-hadoop2.7/bin
- /Users/jing/bin
- /usr/local/bin
- /usr/local/bin
- /usr/bin
- /bin
- /usr/sbin
- /sbin
- /Library/TeX/texbin
- /Library/Apple/usr/bin
- /Applications/Wireshark.app/Contents/MacOS
- /Users/jing/go/bin
- /Users/jing/.pub-cache/bin
- /Applications/Visual Studio Code.app/Contents/Resources/app/bin
- /usr/local/opt/fzf/bin
$ gem install fluentd
Successfully installed fluentd-1.14.3
Parsing documentation for fluentd-1.14.3
Done installing documentation for fluentd after 3 seconds
1 gem installed
$ ls ~/.gem/gems -lrt | tail -n1
drwxr-xr-x 28 jing staff 896 Dec 7 10:33 fluentd-1.14.3
$ head -n1 ~/.gem/bin/fluentd
#!/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Then I chose Ruby 2.7.5 with rbenv and installed fluentd again.
$ rbenv shell 2.7.5
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 3.1.6
- RUBY VERSION: 2.7.5 (2021-11-24 patchlevel 203) [x86_64-darwin19]
- INSTALLATION DIRECTORY: /Users/jing/.gem
- USER INSTALLATION DIRECTORY: /Users/jing/.gem/ruby/2.7.0
- RUBY EXECUTABLE: /Users/jing/.rbenv/versions/2.7.5/bin/ruby
- GIT EXECUTABLE: /usr/bin/git
- EXECUTABLE DIRECTORY: /Users/jing/.gem/bin
- SPEC CACHE DIRECTORY: /Users/jing/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /Users/jing/.rbenv/versions/2.7.5/etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-darwin-19
- GEM PATHS:
- /Users/jing/.gem
- /Users/jing/.gem/ruby/2.7.0
- /Users/jing/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /Users/jing/.rbenv/versions/2.7.5/bin
- /usr/local/Cellar/rbenv/1.2.0/libexec
- /Users/jing/.rbenv/shims
- /Users/jing/.tiup/bin
- /Users/jing/opt/anaconda3/condabin
- /usr/local/sbin
- /Users/jing/code/github/zk-code/scripts
- /Users/jing/tools/apache-zookeeper-3.5.5-bin/bin
- /Users/jing/code/github/trace/sky/skywalking-cli/bin
- /Users/jing/tools/apache-skywalking-apm-bin-es7/bin
- /usr/local/opt/ruby/bin
- /Users/jing/tools/apache-maven-3.6.3/bin
- /Users/jing/.gem/bin
- /Users/jing/.cargo/bin
- /Users/jing/code/github/rtc/depot_tools
- /Users/jing/.gem/ruby/2.3.0/bin
- /usr/local/opt/coreutils/libexec/gnubin
- /Users/jing/tools/apache-skywalking-apm-bin-es7/bin
- /Users/jing/tools/confluent-6.1.0/bin
- /usr/local/opt/findutils/libexec/gnubin
- /usr/local/opt/gnu-sed/libexec/gnubin
- /Users/jing/tools/mongodb-osx-x86_64-4.0.2/bin
- /usr/local/opt/mysql#5.7/bin
- /Users/jing/tools/spark-2.2.0-bin-hadoop2.7/bin
- /Users/jing/bin
- /usr/local/bin
- /usr/local/bin
- /usr/bin
- /bin
- /usr/sbin
- /sbin
- /Library/TeX/texbin
- /Library/Apple/usr/bin
- /Applications/Wireshark.app/Contents/MacOS
- /Users/jing/go/bin
- /Users/jing/.pub-cache/bin
- /Applications/Visual Studio Code.app/Contents/Resources/app/bin
- /usr/local/opt/fzf/binio Code.app/Contents/Resources/app/bin
- /usr/local/opt/fzf/bin
$ gem install fluentd
Successfully installed fluentd-1.14.3
Parsing documentation for fluentd-1.14.3
Done installing documentation for fluentd after 3 seconds
1 gem installed
$ ls ~/.gem/gems -lrt | tail -n1
drwxr-xr-x 28 jing staff 896 Dec 7 10:37 fluentd-1.14.3
$ head -n1 ~/.gem/bin/fluentd
#!/Users/jing/.rbenv/versions/2.7.5/bin/ruby
From the above console session, I knew that fluent is re-installed at the same location.
I don't want to have gems from one Ruby version overwrite gems from the other ruby version. Is there a way to keep one gem for one Ruby version separately?
OS: macOS 10.15.5
rbenv: 1.2.0
By design, you can't. The project considers this a feature:
One thing well. rbenv is concerned solely with switching Ruby versions.
Buuuuut, you can use a plugin to create Gemsets, which you can switch on a per-application basis.
I've not used it, but it appears the rbenv-gemset plugin would give you what you're after: https://github.com/jf/rbenv-gemset.
Once installed, you can create a default gemset in your project's root directory:
$rbenv gemset init
Been scratching my heads for hours over this.
All of a sudden I am unable to run the commands bundle update and bundle install on my projects.
I receive the following errors:
There was an error while trying to write to
C:/Users/REMOTE~1/AppData/Local/Temp/bundler-compact-index-20181216-9268-sd4t9f/versions.
It is likely that you need to grant write permissions for that path.
1.) That path and user do not exist
2.) I have looked at env variables and they all point to my user
3.) This has nothing to do with my project as even if I try to create a new rails project, part of the rails new command runs 'bundle install' and so that fails too.
4.) I am an administrator so I don't understand why I wouldn't have full read/write access.
Extra Information:
Bundler Env:
## Environment
```
Bundler 1.17.2
Platforms ruby, x86-mingw32
Ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]
Full Path C:/RailsInstaller/Ruby2.3.3/bin/ruby.exe
Config Dir C:/ProgramData
RubyGems 2.5.2
Gem Home C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0
Gem Path C:/Users/correctuser/.gem/ruby/2.3.0;C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0
User Path C:/Users/correctuser/.gem/ruby/2.3.0
Bin Dir C:/RailsInstaller/Ruby2.3.3/bin
Tools
Git 2.19.1.windows.1
RVM not installed
rbenv not installed
chruby not installed
```
## Bundler Build Metadata
```
Built At 2018-12-11
Git SHA 43e950846
Released Version true
```
Gem Environment:
RubyGems Environment:
- RUBYGEMS VERSION: 2.5.2
- RUBY VERSION: 2.3.3 (2016-11-21 patchlevel 222) [i386-mingw32]
- INSTALLATION DIRECTORY: C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0
- USER INSTALLATION DIRECTORY: C:/Users/correctuser/.gem/ruby/2.3.0
- RUBY EXECUTABLE: C:/RailsInstaller/Ruby2.3.3/bin/ruby.exe
- EXECUTABLE DIRECTORY: C:/RailsInstaller/Ruby2.3.3/bin
- SPEC CACHE DIRECTORY: C:/Users/correctuser/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: C:/ProgramData
- RUBYGEMS PLATFORMS:
- ruby
- x86-mingw32
- GEM PATHS:
- C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0
- C:/Users/correctuser/.gem/ruby/2.3.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- C:\Program Files\ConEmu\ConEmu\Scripts
- C:\Program Files\ConEmu
- C:\Program Files\ConEmu\ConEmu
- C:\Program Files (x86)\Common Files\Oracle\Java\javapath
- C:\windows\system32
- C:\windows
- C:\windows\System32\Wbem
- C:\windows\System32\WindowsPowerShell\v1.0\
- C:\windows\System32\OpenSSH\
- C:\Program Files\Git\cmd
- C:\Program Files\PuTTY\
- C:\Program Files\nodejs\
- C:\Program Files (x86)\QuickTime\QTSystem\
- C:\RailsInstaller\Git\cmd
- C:\RailsInstaller\Ruby2.3.3\bin
- C:\Users\correctuser\AppData\Local\Microsoft\WindowsApps
- C:\Users\correctuser\AppData\Roaming\npm
- C:\Program Files\heroku\bin
- C:\Program Files\JetBrains\RubyMine 2018.3\bin
After 3 days of tinkering and trying to find a solution I came up with the following.
1.) As #anothermh mentioned, it is probably best to install Ruby on Windows Subsystem for Linux Installing Ruby on WSL (Windows Subsystem for Linux) to avoid these kind of situations.
2.) For people who still want to continue using Ruby on their windows systems.
This error occurs when your bundler rubygems copy is corrupted and gets cached into your system.
I solved this by deleted the folder .bundle in C:/users/my_user/.bundle
Re-install bundler and this error goes away and your gems compile and install as usual.
I'm troubled with installing a native gem on windows
Error Could not Create Makefile due to some reason, probably lack of necessary
I guess it's a version issue, because I've installed the dev kit for windows to use with ruby 2.0
my gem env is :
RUBYGEMS VERSION: 2.0.14
RUBY VERSION : 2.0.0 [x64-mingw32]
INSTALLATION DIR: C:/Ruby200-x64/bin
RUBYGEMS platforms:
- ruby
- x64-mingw32
I would like to use traditional Ruby libraries (1.8.6) with Ironruby. I'm having problems. For instance, "require 'thread'" doesn't seem to work in an Ironruby script. Do I need to put the ruby libraries in the Ironruby lib folder?
IronRuby use igem, you can use igem ENV to inspect where are the gems, and install the missing one using igem install.
C:\devkit\home\demo>igem ENV
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i386-mswin32]
- INSTALLATION DIRECTORY: C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/gems/1.
9.1
- RUBY EXECUTABLE: "C:/Program Files (x86)/IronRuby 1.1/bin/ir.exe"
- EXECUTABLE DIRECTORY: C:/Program Files (x86)/IronRuby 1.1/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-dotnet-4.0
- GEM PATHS:
- C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/gems/1.9.1
- C:/Users/Ronda/.gem/ironruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
C:\devkit\home\demo>ir
IronRuby 1.1.3.0 on .NET 4.0.30319.239
Copyright (c) Microsoft Corporation. All rights reserved.
>>> require 'thread'
=> true
I have a clean installation of Windows XP (Professional, Version 2002, Service Pack 3) in VMware Fusion virtual machine (3.1.2 332101). (Host machine is MacBook Pro, Mac OS 10.6.7.) XP installation has 512 MB RAM and is fully updated, except I left Internet Explorer at version 6.
I have installed Ruby and RubyGems:
C:\Documents and Settings\zeljko>gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.6.2
- RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
- INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8
- RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe
- EXECUTABLE DIRECTORY: C:/Ruby187/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mingw32
- GEM PATHS:
- C:/Ruby187/lib/ruby/gems/1.8
- C:/Documents and Settings/zeljko/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
When I try to install watir-webdriver gem, I get this error message:
C:\Documents and Settings\zeljko>gem install watir-webdriver
ERROR: While executing gem ... (ArgumentError)
marshal data too short
I am searching around, but did not find the solution yet.
jarib suggested I should delete .gem folder (C:\Documents and Settings\zeljko\.gem) and it fixed the problem.
If the problem remains
Reinstall all the gems:
sudo gem list | cut -d" " -f1 > gem_list.txt
cat gem_list.txt | xargs sudo gem uninstall -aIx
cat gem_list.txt | xargs sudo gem instal
Delete .gem folder in directory which is hidden..