chai-3d SDK に付属する device.cpp というサンプル プログラムを実行しようとしています。次のヘッダーファイルを含めました....
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/glut.h>
#include <chai3d.h>
問題はヘッダー ファイルmath/CVector3d.h
にありmath/CMatrix3d.h
、ヘッダー ファイル chai3d.h に含まれています。以下は、コンパイル中に受け取るエラーです
include\math/CVector3d.h(831) : error C3861: 'CHAI_DEBUG_PRINT': identifier not found
include\math/CMatrix3d.h(869) : error C3861: 'CHAI_DEBUG_PRINT': identifier not found
初めてプログラムを実行したとき、146個のエラーが発生し#include <GL/glut.h>
、エラーを含めると2個に減りました.sensableのphantom omniを使用しています. 現在、open-haptics SDK を使用していますが、chai-3d も試してみたいと思っています。サポートを提供してください。