Thanks, I have read that. But I should say what I have tried now
(my 100th try):
- Downloaded the Box2D
2.0.1 version (with Nintendo DS support)
- Start a makefile project in Visual Studio 2008
- In Visual Studio under VC++ directorys I added "C:\DEV\Box2D\Include" and "C:\DEV\Box2D\Library"
- Using the following code for my hello_world program
(copied and edited from the original hello_world of Box2D):
Code:
#define TARGET_IS_NDS
#define TARGET_FLOAT32_IS_FIXED
#include <nds.h>
#include "Box2D.h"
#include <stdio.h>
//---------------------------------------------------------------------------------
int main(int argc, char** argv)
{
//A big hello_world tekst
return 0;
}
And get the following error:
Quote:
1>------ Build started: Project: Box2D_project, Configuration: Debug Win32 ------
1>Performing Makefile project actions
1>(cd Contrib/freeglut; make)
1>make[1]: Entering directory `/c/DEV/Box2D_project/Box2D_project/Contrib/freeglut'
1>make[1]: *** No rule to make target `freeglut_callbacks.o', needed by `libglut.a'. Stop.
1>make[1]: Leaving directory `/c/DEV/Box2D_project/Box2D_project/Contrib/freeglut'
1>make: *** [all] Error 2
1>Build log was saved at "file://c:\DEV\Box2D_project\Box2D_project\Debug\BuildLog.htm"
1>Box2D_project - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
I think I really need the help of an expert who have already done such NDS project.
Thanks in advance!