Quantcast
Viewing all articles
Browse latest Browse all 40524

Unable to compile PG generated project in VS 2015 on Windows 10

Here's the compilation error

1>------ Build started: Project: openframeworksLib, Configuration: Debug Win32 ------
1>  ofSerial.cpp
1>C:\Dev\of_v0.8.4_vs_release\libs\openFrameworks\types\ofTypes.h(188): error C2061: syntax error: identifier '_Dynamic_tag'
1>  C:\Dev\of_v0.8.4_vs_release\libs\openFrameworks\types\ofTypes.h(203): note: see reference to class template instantiation 'ofPtr<T>' being compiled
1>C:\Dev\of_v0.8.4_vs_release\libs\openFrameworks\types\ofTypes.h(188): error C2535: 'ofPtr<T>::ofPtr(const ofPtr<Tp1> &)': member function already defined or declared
1>  C:\Dev\of_v0.8.4_vs_release\libs\openFrameworks\types\ofTypes.h(166): note: see declaration of 'ofPtr<T>::ofPtr'
1>  ofArduino.cpp
1>C:\Dev\of_v0.8.4_vs_release\libs\openFrameworks\types\ofTypes.h(188): error C2061: syntax error: identifier '_Dynamic_tag'
1>  C:\Dev\of_v0.8.4_vs_release\libs\openFrameworks\types\ofTypes.h(203): note: see reference to class template instantiation 'ofPtr<T>' being compiled
1>C:\Dev\of_v0.8.4_vs_release\libs\openFrameworks\types\ofTypes.h(188): error C2535: 'ofPtr<T>::ofPtr(const ofPtr<Tp1> &)': member function already defined or declared
1>  C:\Dev\of_v0.8.4_vs_release\libs\openFrameworks\types\ofTypes.h(166): note: see declaration of 'ofPtr<T>::ofPtr'
1>  ofVideoPlayer.cpp
1>c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\ofTypes.h(188): error C2061: syntax error: identifier '_Dynamic_tag'
1>  c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\ofTypes.h(203): note: see reference to class template instantiation 'ofPtr<T>' being compiled
1>c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\ofTypes.h(188): error C2535: 'ofPtr<T>::ofPtr(const ofPtr<Tp1> &)': member function already defined or declared
1>  c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\ofTypes.h(166): note: see declaration of 'ofPtr<T>::ofPtr'
1>c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\ofTypes.h(188): error C2535: 'ofPtr<ofBaseVideoPlayer>::ofPtr(const ofPtr<Tp1> &)': member function already defined or declared
1>  c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\ofTypes.h(166): note: see declaration of 'ofPtr<ofBaseVideoPlayer>::ofPtr'
1>c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\ofTypes.h(188): fatal error C1903: unable to recover from previous error(s); stopping compilation
1>  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe'
1>      Please choose the Technical Support command on the Visual C++
1>      Help menu, or open the Technical Support help file for more information
2>------ Build started: Project: emptyExample, Configuration: Debug Win32 ------
2>  ofApp.cpp
2>c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\oftypes.h(188): error C2061: syntax error: identifier '_Dynamic_tag'
2>  c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\oftypes.h(203): note: see reference to class template instantiation 'ofPtr<T>' being compiled
2>c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\oftypes.h(188): error C2535: 'ofPtr<T>::ofPtr(const ofPtr<Tp1> &)': member function already defined or declared
2>  c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\oftypes.h(166): note: see declaration of 'ofPtr<T>::ofPtr'
2>c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\oftypes.h(188): error C2535: 'ofPtr<ofMesh>::ofPtr(const ofPtr<Tp1> &)': member function already defined or declared
2>  c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\oftypes.h(166): note: see declaration of 'ofPtr<ofMesh>::ofPtr'
2>c:\dev\of_v0.8.4_vs_release\libs\openframeworks\types\oftypes.h(188): fatal error C1903: unable to recover from previous error(s); stopping compilation
2>  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe'
2>      Please choose the Technical Support command on the Visual C++
2>      Help menu, or open the Technical Support help file for more information
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

Most of the topics I found on this forum mention VS 2012, so I'm not really sure if this is a compatibility issue with 2015?


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>