GlPortal/glportal-vs

Name: glportal-vs

Owner: Radix Team

Description: Environment to build glportal in Visual Studio

Created: 2017-11-16 18:07:42.0

Updated: 2018-01-12 16:22:55.0

Pushed: 2018-01-14 08:12:41.0

Homepage:

Size: 33

Language: C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

GlPortal for Visual Studio 2017

Are you on another platform or do you want to use mingw for building then have a look at how to build GlPortal on Mac or Linux.

To see these instructions in action look at the video guide.

Make sure to set each VS solution to Debug/x64 before compiling

This is a first draft. But it's quite easy to build, just somewhat annoying to use cmake-gui for nearly every dependency and to have to drag and drop it into Visual Studio to build it, then copy the dlls, fix the /MTT setting for the 3 Bullet projects.

I have little CMake experience, probably it can be simplified and configured with a CMake script, so nearly no user interaction is needed anymore.

Since every dependency is build in “Debug” mode, the game can barely reach 20 fps so far. Didn't configure it for Release yet.

Just as reminder, if you are about to regenerate the solution by hand: Since Visual Studio doesn't support same file names in subfolders, we have to fix it manually in the solution:

The CMake generated Bullet solution is by default Multithreaded-Debug, but it needs to be Multithreaded-Debug-DLL, for these three projects: BulletCollision, BulletDynamics, LinearMath

Not automatic yet: once everything is built, copy these dlls into VS2017\GlPortal\x64\Debug:

assimp\build\code\Debug\assimp-vc140-mt.dll
FreeImage\x64\Debug\FreeImaged.dll
SDL2\build\Debug\SDL2d.dll
SDL2_mixer\VisualC\external\lib\x64\libFLAC-8.dll
SDL2_mixer\VisualC\external\lib\x64\libmodplug-1.dll
SDL2_mixer\VisualC\external\lib\x64\libmpg123-0.dll
SDL2_mixer\VisualC\external\lib\x64\libogg-0.dll
SDL2_mixer\VisualC\external\lib\x64\libvorbis-0.dll
SDL2_mixer\VisualC\external\lib\x64\libvorbisfile-3.dll
SDL2_mixer\VisualC\x64\Debug\SDL2_mixer.dll
tinyxml2\build\Debug\tinyxml2d.dll

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.