Hi Hixx, sorry to say, unfortunately the Visual Studio integration that Emscripten has only worked with Visual Studio 2010, and even with that, there were quite a few problems, and the development was ceased, because it ended up not being as flexible as one would have hoped.
What I currently recommend people to do if they want to use Visual Studio with Emscripten is to start using CMake as their project build configurator system. Emscripten has a strong well maintained support for CMake, and it allows you to generate Visual Studio projects (which build natively to Windows), as well as Emscripten build Makefiles to be built with e.g. MinGW Make or NMake. This way you can utilize Visual Studio as an IDE, and build with Emscripten on the command line at the same time. 2016-11-29 15:48 GMT+02:00 Hixx <[email protected]>: > Hi. > > > So i have been trying to set up Emscripten for many years *cough* weeks > and i keep getting the same issues, despite going from Visual Studio 2013 > to 2010 then back and forth, aswell as reinstalling the SDK numerous of > times. I use Windows and im currently using Visual Studio 2013. Ive set up > the solution configuration and included the include files of Emscripten > into the include directories. I hope that was all i needed to do? > > The first issue is that when i try and build the test file > 'openal_buffers.c' within Visual Studio, i get 104 errors, most of which > are syntax and IntelliSense errors which seem to be situated within > 'emscripten.h'. Like.... > > Error 1 error C2143: syntax error : missing ')' before '(' C:\Program > Files\Emscripten\emscripten\1.35.0\system\include\emscripten\emscripten.h > 34 1 Test1 > Error 2 error C2091: function returns function C:\Program Files\Emscripten > \emscripten\1.35.0\system\include\emscripten\emscripten.h 34 1 Test1 > > > > This is sometimes the case with some test files but some of them can > compile. This one cant though. > > Another issue is that as it states in the great bible of Emscripten...... > > "First make sure that the Emscripten platform configuration is active, > right-click on a project, and then choose Properties to open the Project > properties dialog. > The Project Properties should contain two tree nodes: Clang C/C++ and Emcc > Linker. These allow you to specify the desired compilation options." > > > I however cant see these nodes, even when the Emscripten configuration is > active. > > Im a complete newb with Visual Studio and Emscripten so maybe there is > something obvious that i missed out? Would i have to manually build > Emscripten from source? > > > Thanks for your help in advance. > > > > > > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
