My thesis professor asked my to install and run some code so I can get thermodynamic properties. I need to run thermopack to get the quantum properties of hydrogen.
I followed the instructions in the link, installed Microsoft Visual Studio Community 2022, with Python development, C++ development, and data science analysis F#. Also installed Intel OneAPI base and the toolkit for Fortran. I followed https://icl.utk.edu/lapack-for-windows/lapack/ tutorial for libraries installation, but so far I can only open the document and whenever I try to compile I get two errors "The CompatibiltyToolPackage did not load correctly" and "Visual Studio cannot debug because a debug target has not been specified". Can anyone please help me?
Related
Is there any way I can use Nintendo TWL or Nitro SDK on Visual Studio, along with their IS-NITRO-DEBUGGER? I know there're some workaround, since I heard people using Visual Studio to work on DS/DSi games. I don't want to use CodeWarrior for this.
PS: I have Visual Studio 2010 and 2012 express edition.
It should be pretty easy, I wrote a little wizard that creates projects for use on the devkitPro toolchain (supports the DS among others) that could probably be modified for use with the official devkit. VS 10 is a bit more friendly with this sort of setup but it works on VS12 as well.
http://pern.drunkencoders.com/
The wizard is here and you will have to install it then open and edit the javascript files...no access to the official devkit so can't comment on how much of an undertaking this might be.
You may simply be able to edit the libnds template makefiles to point at the official toolchain and the wizard will just work as is (other than having to create a debug association).
There are also some good debugging tools if the toolchain that is based on gcc that will let you debug directly in visual studio with memory watches and custom viewers.
I am planning to write a Windows(XP, Vista and 7) Virtual printer driver using C/C++. So I wanted to know which is the best IDE out there which I can use for this. From what I have read Windows Driver Kit 8(WDK-8) is much more integrated with the new Visual Studio 2012 but drivers for windows XP are not supported with WDK-8. So I was hoping if somebody could suggest me about which version would work out best for me.
Since Visual Studio is pretty expensive, so I don't want to buy it unless it has some advantages over using Eclipse in my case.
Also, if I need to use Visual Studio, then which version of visual studio would suffice for a single developer like me: Professional, Premium or Ultimate ?
before VS 2012, the Visual Studio has no advantages than Eclipse. Almost all driver is built in command line mode, and use the windbg as debugger, so the VS is just an editor.
in the VS 2012, it build a template to WDF driver, it is easy to create a driver from template. But I don't think it is a reason to by the expensive VS.
Take a look at DDKBuild.
http://www.hollistech.com/Resources/ddkbuild/ddkbuild.htm
I use Visual Studio 2012 in combination with DDKBuild to compile drivers - when errors show up I can see them in the Error List window and can get taken straight to the right line in the driver source...saves a bunch of time!
I've set up various SolutionConfigurations for different driver options that I want e.g. running a PreFast pass, compiling as 32bit, 64bit, for different OS targets, etc - makes it super easy to switch between Release and Debug, or the static analysis tools.
Basically you create a new Visual Studio Makefile Project in Visual studio, then set the NMAKE|Build Command Line to something like this:
ddkbuild -WIN7 -prefast checked . -cZ
or
ddkbuild -WIN7XP checked . -cZ
or
ddkbuild -WIN7XP free . -cZ
etc
I haven't used it myself, but for a more powerful way to leverage Visual Studio to do driver development, take a look at VisualDDK
http://visualddk.sysprogs.org/
Visual Studio 2013 Community Edition is free and can be used as an IDE for the drivers
I'm trying to compile WebKit on Windows XP. I've followed to the letter the installation instructions for all the recommended development tools. The WebKit project suggests debugging using Visual-Studio 2005.
Whenever I open the WebKit project in VS2005 (express), however, VS always crashes shortly afterward. This is before I try to run any of the WebKit code, so I think the problem is with VS2005, and not with WebKit.
The error log says this:
Faulting application vcexpress.exe, version 8.0.50727.762, faulting
module msvcr80.dll, version 8.0.50727.6195, fault address 0x00008aa0.
So it looks like the problem is with msvcr80.dll.
I'm not very experienced with windows. Does anyone know how to investigate the cause of this crash and fix it?
Many, many thanks,
D
* UPDATE *
In the end I couldn't get VS2005 to stop crashing, so I switched to Visual Studio 2008 Express. WebKit.org doesn't give instructions for building with VS2008, but I found some on this blog. These mostly worked, though I had to make two small changes.
Currently, if no standard editions Visual Studio can be found (not 'Express'), the build scripts are hard-coded to use VS Express 2005. To use VS Express 2008 instead, I changed line 1419 of /Tools/Scripts/webkitdirs.pm from this:
$vsInstallDir = File::Spec->catdir($programFilesPath, "Microsoft Visual Studio 8");
to this:
$vsInstallDir = File::Spec->catdir($programFilesPath, "Microsoft Visual Studio 9.0");
(Carefully not to confuse the years of release --2005, 2008-- with the versions -- 8,9.0)
I also had to work around a bug related to error logging. In line 60 of /Tools/Scripts/print-vse-error-logs I changed "scm.find_checkout_root()" to the path to my source directory "C:/cygwin//Webkit/Source".
I hope this helps someone!
Do you have the lastest service pack installed on both XP and Visual Studio 2005? if not (How to obtain the latest Visual Studio 2005 service pack). If that doesn't fix it, trying doing the same thing with Visual Studio 2010 (SP1), for it may have been fixed since then and you could be running into known issues which have since been resolved.
HTH
The purpose is to have a USB flash to have a developer seat everywhere. The idea is to use application virtualization to package Visual Studio.
However, AFAIK, there are big problems.
Have anyone succeeded in packaging Visual Studio (2010, 2008) using ThinApp, App-V, ...
P.S. I'm aware of google.
This is not possible. There's nothing "thin" about Visual Studio, it has an enormous mass of files in many different directories and a very large number of critical registry entries. Including many COM components. That it works as well as it does is one of the modern day's Seven World Wonders of software engineering.
Your license allows you to install VS on more than one machine as long as only one user uses it. I recommend you take advantage of it.
It is possible to install Visual Studio 2013 in App-V, it takes a lot of time to load and takes about 3Gb in .dat file. Compiling and debugging in C++ tested and works but really slow. No errors or popups for missing components so far. After experimenting I made a final virtualization script that works. p.m me.
It is possible to make Visual Studio portable version using VMWare Thinapp. No installation will be needed for Visual Studio, .net Framework or any other dependency. It works with Visual Studio Express edition 2008 as I have experimented but for version 2010, it say "Invalid Licence Data. Reinstall...". If you find a way, please tell me!
Working with Visual Studio 2008 Pro, with Intel Fortran compiler v11, on Windows 7 x64.
I have an Intel Visual Fortran project set up with all the fortran source files. I wish to gradually replace all these subroutines with C/C++ (actually cuda -- bonus points). Simply right clicking on source files in the solution explorer and "add existing item" will put a .cpp or .c or cuda file in the list... but it never gets compiled. Thus any INTERFACE to C code written into the fortran code always fails on the link step.
How does one get a mixed-language project like this? Google has failed me, and all I find are descriptions of the actual interface code, with no instructions on how to implement the visual studio build system.
Thanks in advance.
A Visual Studio project can only contain code elements from a single language. To mix C++, CUDA and Fortran, you must set up a Visual Studio Solution. Then you are free to integrate multiple languages.
A useful guide to setting up a CUDA multi-language VS 2010 Solution can be found here.
[This answer has been assembled from comments and added as a community wiki to get this question off the unanswered list for the CUDA tag].