Hi,
I am trying to compile api_demos
I add to apply some patches to get most of the codes compiling with gcc
4.6 (see the attached patch). But I still have a problem with
mainGlut.cpp. Where do the Camera class comes from?
Thanks for any hints
Best
C
Index: mainElasticity.cpp
===================================================================
--- mainElasticity.cpp (revision 11516)
+++ mainElasticity.cpp (working copy)
@@ -2,6 +2,7 @@
#include "elasticitySolver.h"
#include "PView.h"
#include "PViewData.h"
+#include <cstring>
void Info (int i, char* c){
printf("%d %s\n",i,c);
Index: mainAntTweakBar.cpp
===================================================================
--- mainAntTweakBar.cpp (revision 11516)
+++ mainAntTweakBar.cpp (working copy)
@@ -13,6 +13,7 @@
#include "GModel.h"
#include "MElement.h"
#include "drawContext.h"
+#include <cstring>
static drawContext *ctx = 0;
static mousePosition clickPos, prevPos;
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh