MSVS2008 to MSVS2003 Conversion (Google Protobuf) - visual-studio

I have to get Google Protobuf running on Visual Studio 2003, but it was built for Visual Studio 2008. Does anyone know wether that is possible and if so, how?
I did some research and found, that sometimes just renaming the projects version number in the .sln should help, but for me it didn't. I am clueless on how to continue from here. Some kind of converters would help maybe?
Thank you in advance for you help!

Apparently it is not possible to run Google Protobuf with the MSVS03 Compiler. The following error occures when trying to do so:
...\include\google\protobuf\stubs\atomicops_internals_x86_msvc.h(46) : fatal error C1189: #error : "We require at least vs2005 for MemoryBarrier
Therefore we need at least MSVS05.

Related

Visual Studio 2022 - Debug Executable Specified in the Debug Profile does not Exist

I am trying to run a HelloWorld C# .NET Core Console Application and I get this error. I have installed Microsoft VS 2022 and also installed .NET 6.0. Tried all the solutions I could find so far on the other posts regarding this error, but none of them has solved the issue. I also tried reinstalling VS 2022 and even gave VS 2019 a chance to see if things would work differently (they didn't, same error). Does anyone have a solution for this?
"ResolvePackageAssets" task failed unexpectedly. NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder...:
The debug executable does not exist:
Thanks to user9938's suggestion that pointed out the error message I was receiving (...Unable to find fallback package folder D:\New Folder\Components\Offline Packages), I solved the issue by simply creating the missing folder indicated. Thank you!

The "CudaCompile" task was not found

I am trying to get started working with CUDA.
I fresh installed the trial version of VS2010 professional and downloaded the visual studio add on on NVIDIA's website (here )
I have a correct driver version installed, and the Nsight add on automatically installs the CUDA Toolkit.
Problem is, whatever CUDA project I try to compile, I always get this error :
1> Compiling CUDA source file kernel.cu...
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.2.targets(361,9): error MSB3686: Unable to create Xaml task. Compilation failed.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.2.targets(361,9): error MSB3686: Source file 'C:\Windows\TEMP\uq13nrom.0.cs' could not be found
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.2.targets(361,9): error MSB3686: No inputs specified
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.2.targets(361,9): error MSB3686:
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.2.targets(361,9): error MSB4036: The "CudaCompile" task was not found
Even when using the solutions provided in CUDA samples
I never used Visual Studio before, and I could not find ANY resource on the web related to this error.
I spent the whole day trying to fix it. I also tried to uninstall/reinstall everything; no success.
What drives me crazy is that right after the install my projects actually did build for an hour or two. And for a reason I can't explain, everything started failing.
I'd be really, really glad for any information you could give me. I don't see any other way to solve this.
So, I woke up this morning and directly got in front of the computer, a coffee in the hand, already expecting to spend the whole day just trying to get my tools working
. . . till I realized everything was working fine.
The very same code that leads to the error at midnight compiles just perfectly this morning .
The only difference ? Updates in Visual Studio.
Here is a screenshot of all the updates that have been applied during my sleep :
I bet one of those guys solved my problem, probably the .NET framework 4 related.
Hope this can help someone ;)
It has nothing to do with configuration. There is something messed up [by me/you] in the project setting file. I am facing this problem while updating an old project from CUDA 4.4 to CUDA 5.5. I tried modifying the old project file according to one of the new project files... changing build target and other related things................
New project is compile and executing, whereas, the old updating project lead me to this page. I'll update the thread with a solution later. Definitely, it is not .NET framework or any updates in my case
EDIT: I copied the .prop and other files from CUDA installation directory to Visual Studio directory and it started working again. Perhaps, I modified these files incorrectly.

Where is exchext.h?

I am using VisualStudio .NET 2003 on Windows 7. I get the error below while compiling one of my projects.
fatal error C1083: Cannot open include file: 'EXCHEXT.H': No such file or directory
The file EXCHEXT.h is supposed to be in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include folder. I have searched everywhere but cannot find this file.
Can anyone give me a pointer to what is happening?
I know it's been a while since the questions was posted, but kind of ran into this issue myself. I checked the windows SDK and, sure enough, it wasn't there. Seems to have been dropped a while ago, even though it is highly needed, for this type of addin development. I ended finding an old checked in copy I had, but also did come across this from google code: http://code.google.com/p/outcall/source/browse/trunk/exchange/include/EXCHEXT.H?r=8.
Hope this helps.

compiling against MSVCP70.dll instead of MSVCP80.dll in Visual Studio 2005

I am building a project in Visual Studio 2005 that require some libraries that were built in Visual Studio 2003. I'm getting linker errors like
msvcprt.lib(MSVCP80.dll) : error LNK2005: class std::basic_string[...]already defined in libdiguy.lib(bdiNavMesh.obj)
I believe that my program and the libraries are both compiled dynamically instead of statically. I've also tried changing the /MD and /MDd options because that seemed to be the solution to similar errors. My best guess at the moment is that it needs to link against MSVCP70.dll instead of MSVCP80.dll to resolve these errors. Is there a way I can compile against the older dll to see if that will fix it?
Thank you!
As far as I know you have two options: either get a VS2005 version of the libraries, or keep using the VS2003 headers and libraries. The first is in my opinion the better option because you will not benefit from fixes MS made in headers and libs. But it may be difficult or even impossible. The latter can be done by changing the VS2005 directories to the corresponding VS2003 ones. I think that you also have to ignore all default libraries and explicitly specify the ones from VS2003.
Hope this helps.
Cheers,
Sebastiaan

ruby openssl.so: 14001 error

When trying to run a simple ruby program I wrote, I am getting this error. Just reinstalled everything the other day, before the code was working fine.
ruby/1.8/i386-mswin32/openssl.so: 14001: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. - C:/ruby/lib/ruby/1.8/i386-mswin32/openssl.so (LoadError)
application event log:
Activation context generation failed for "C:\ruby\bin\SSLEAY32.dll". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
Needed the visual c++ redistributable package. Thanks for the help jitter, you comment lead me to the right direction.
Same problem also for me. Installing Microsoft Visual C++ 2008 Redistributable Package (x86) resolved the problem

Resources