microsoftarchive / openFrameworks

OpenFrameworks is a cross platform open source toolkit for creative coding in C++.
http://openframeworks.cc
Other
39 stars 24 forks source link

Project Generator for WinRT crashes #68

Open MinaSamy opened 9 years ago

MinaSamy commented 9 years ago

Hello, I cloned the WinRT branch,

when running the projectGeneratorSimple_winrt.exe and clicking the "Addons" button, it crashes. When creating a new project without addones, the project does not compile, there are lots of errors such as

Error 2 error C2668: 'TlsAlloc' : ambiguous call to overloaded function (......\openFrameworks\app\ofAppWinRTWindow.cpp) d:\projects\audio_disrupt\winrt_branch\openframeworks\libs\poco\include\poco\thread_win32.h 131 1 openFrameworksLib_winrt

Error 33 error C2668: 'Sleep' : ambiguous call to overloaded function d:\projects\audio_disrupt\winrt_branch\openframeworks\libs\openframeworks\events\ofevents.cpp 132 1 openFrameworksLib_winrt

I followed the same instructions as in the videos on Microsoft Virtual Academy by Eric Mittlette but still can't get this to work I'm running Visual Studio 2013 with Update 4 on Windows 8.1

pmelendez commented 9 years ago

The project generator in the "Universal" branch ( https://github.com/MSOpenTech/openFrameworks/tree/universal) worked for on both Visual 2013 and 2015. I just notice (and I believe I read) that addons are not supported on the project generator just yet.

On Mon, May 4, 2015 at 10:29 AM, MinaSamy notifications@github.com wrote:

Hello, I cloned the WinRT branch,

when running the projectGeneratorSimple_winrt.exe and clicking the "Addons" button, it crashes. When creating a new project without addones, the project does not compile, there are lots of errors such as

Error 2 error C2668: 'TlsAlloc' : ambiguous call to overloaded function (......\openFrameworks\app\ofAppWinRTWindow.cpp) d:\projects\audio_disrupt\winrt_branch\openframeworks\libs\poco\include\poco\thread_win32.h 131 1 openFrameworksLib_winrt

Error 33 error C2668: 'Sleep' : ambiguous call to overloaded function d:\projects\audio_disrupt\winrt_branch\openframeworks\libs\openframeworks\events\ofevents.cpp 132 1 openFrameworksLib_winrt

I followed the same instructions as in the videos on Microsoft Virtual Academy by Eric Mittlette but still can't get this to work I'm running Visual Studio 2013 with Update 4 on Windows 8.1

— Reply to this email directly or view it on GitHub https://github.com/MSOpenTech/openFrameworks/issues/68.

T: +1 (416) - 357.5356 Skype ID: pmelendezu

MinaSamy commented 9 years ago

Thanks, Is there anyway to add an AddOn manually?

pmelendez commented 9 years ago

Depending on the addon it could be just as simple as drop it in your project. For other ones you would have to include the dependencies manually.