[Plib-devel] MSVC
Brought to you by:
sjbaker
From: <Va...@t-...> - 2000-07-22 16:07:49
|
Hi, I wanted to compile PLIB with MSVC (using my own workspace) and got some problems. - in os/DynLib.cpp MSVC couldn't find a "Pch.h" or a "Os.h". So I uncommented them. - after changing "__WIN32__" to "_WIN32" I could finally compile DynLib.cpp - pu.h made some problems as I had to define GLUT_IS_PRESENT. Couldn't we make it the default by changing the top of pu.h from: #ifndef PU_NOT_USING_GLUT # ifdef FREEGLUT_IS_PRESENT # include <GL/freeglut.h> # else # ifdef GLUT_IS_PRESENT # include <GL/glut.h> # else /* No GLUT?!? */ # endif # endif #endif to: #ifndef PU_NOT_USING_GLUT # ifdef FREEGLUT_IS_PRESENT # include <GL/freeglut.h> # else # include <GL/glut.h> # endif #endif - sl/slhack.cxx has a few functions that don't return a value although they have to. This happens in the lines 690, 704, 765 and 789. This also breakes MSVC. CU, Christian |