visual studio 2013 build openframeworks error - visual-studio-2013

I have just installed visual studio 2013 and I tried to build openframeworks.
But the build failed, and there is
"Error 1 error C2440: '=' : cannot convert from 'ofPtr' to 'bool' C:\Users\Salamander\Downloads\of_v0.8.2_vs_release\of_v0.8.2_vs_release\libs\openFrameworks\gl\ofVbo.cpp 330 1 openframeworksLib
"
in the error list.
I do not know where the problem is. Any help will be appreciated.

For future googlers, I just ran into the same issue. Found the answer here:
http://forum.openframeworks.cc/t/cannot-open-file-openframeworkslibdebug-lib/17270/3
If you click on the error it will take you to the line in the file where the problem lies. Change that line to this:
supportVAOs = ofIsGLProgrammableRenderer( );

Related

Installing AzerothCore Build Errors: ace.vcxproj, authserver.vcxproj, worldserver.vcxproj; Builds Skipped: clean_cotire, INSTALL

I am trying to install azerothcore for the first time, but I am getting stuck building the solution in Visual Studio 2019. As far as I can tell, everything else is working fine. I can post CMake logs if necessary, but that step seems to go smoothly.
When I try to build the solution, 5 things go wrong: 3 projects fail to build, and two skip.
Failures:
ace.vcxproj
Output:
3>C:\Users\myname\azerothcore\deps\acelite\ace\Process_Manager.cpp(142,1): fatal error C1001: Internal compiler error.
3>(compiler file 'msc1.cpp', line 1532)
3> To work around this problem, try simplifying or changing the program near the locations listed above.
3>If possible please provide a repro here: https://developercommunity.visualstudio.com
3>Please choose the Technical Support command on the Visual C++
3> Help menu, or open the Technical Support help file for more information
3>INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX64\x64\CL.exe'
3> Please choose the Technical Support command on the Visual C++
3> Help menu, or open the Technical Support help file for more information
authserver.vcxproj
Output:
15>LINK : fatal error LNK1104: cannot open file '..\..\..\deps\acelite\ace\Debug\ace.lib'
Notably, in this case, it cannot open the file because there is no file to open. If I navigate to that location, there is no ace.lib. The same error occcurs in
worldserver.vcxproj
Output:
16>LINK : fatal error LNK1104: cannot open file '..\..\..\deps\acelite\ace\Debug\ace.lib'
Finally, there are the two skips. I am not sure what is going on here (really, I am not sure about what is going on anywhere).
clean_cotire
As regards this error, it just says that it was not selected to build. Is this a problem from CMake?
INSTALL
Again, it says that it was not selected to build for this configuration.
So that is where I am. I tried finding similar errors on this board, but to no avail. Is there anything I can do about these errors?
You encountered a bug in the latest Visual Studio 2019 release. This has been reported to Microsoft, see this ACE issue for the link. Please install an older release, see https://learn.microsoft.com/en-us/visualstudio/releases/2019/history for the download links.
On May 18th 2020 a fix for this ICE has been merged into ACE.

VisualStudio crash on startup - Error:"streamjsonrps.remoteinvocationException: could not load file or Assembly System.Linq"

I'm getting error message when start Visual Studio 2017 Community version.
At crash with below error message:
Could not start visual studio due to an error.StreamJsonRpc.RemotelnvocationException
Could not load file or assembly System.Linq, Version=4.O,O.O,
Culture= neutral, PublicKeyToken= bO3f5f7f1 1 d5Oa3a or one
of its dependencies. The module was expected to contain an
assembly manifest.
I re-install visual studio, but still getting same error message.
Any help will be appreciate.
I had a similar issue workaround. try this command in the in run window "devenv /ResetSettings"
Please follow the following
1- Stope any antivirus
2- Open Developer Command Prompt for VS 2017
2- run "devenv /nosplash"
I hope this can fix the issue

Error when building a project in Visual Studio CS106 Unexpected character ' File: .NETFramework,Version4.5.2.AssemblyAttributes.cs

When building a project in Visual Studio 2015 I get the following error: CS106 Unexpected character ' File: .NETFramework,Version4.5.2.AssemblyAttributes.cs
Anyone know how to fix this?
Thanks
David

error : Element <DebugInformationFormat> has an invalid value of "None"

I am building C++ projects in solution of Sphinxbase, on compiling through visual studio 2010 following error appears
Error 1 error : Element has an invalid value of "None". C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets 153 6 sphinxbase
I am able to settle other issues but solution to this error could not found on the internet.
I am not sure which sphinxbase version are you trying to compile but you need to use latest version which you can checkout from github
http://github.com/cmusphinx/sphinxbase

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

I am building a c++ project (using point cloud library(PCL)) with CMake GUI & while configuring, I am getting the above error. This problem was posted in this forum before, but the problem arose after installing VS2012 version. But I have only VS2010 version in my machine.
Previously I had run successfully using CMake, but I guess somehow any file has been corrupted (may be after windows update?). Any suggestions?
We encountered this problem also after installing a new version of the .NET Framework - 4.5 if I remember well. We solved it by installing Visual Studio 2010 SP1 which made the problem disappear.
See
LNK1123 error when bulding VC++ 2010 project after installing Visual Studio 2012 or .NET Framework 4.5.
See also Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview on stackoverflow.

Resources