Farabi wrote:
Hi, sorry for the newbie question, can you tell me how to set the include folder on codeblock? I got this error when compiling the skel.c.
Quote:
D:\ProgrammersTool\raydium_win32_sdk_748\raydium\raydium\common.h|67|GL/glew.h: No such file or directory|
After a few hours googling and found nothing, I think I need a step by step instruction on how to set up the code blocks and an instruction on how to compile.
Sorry for the trouble, this is my first time using code blocks.
Hello, after adding your code to skel.c in Code Blocks:
Code:
if (raydium_key_last==1000+' '){
int a;
char name[RAYDIUM_MAX_NAME_LEN];
a=raydium_ode_object_find("GLOBAL");
raydium_ode_name_auto("box",name);
raydium_ode_object_box_add(name,a,0.1,RAYDIUM_ODE_AUTODETECT,0,0,RAYDIUM_ODE_STANDARD,0,"crate.tri");
raydium_ode_element_move_name_3f(name,raydium_random_neg_pos_1(),raydium_random_neg_pos_1(),2);
}
You can run compile_all.bat, which is found in the windows SDK directory. (D:\ProgrammersTool\raydium_win32_sdk_748\ for you.)
That will compile everything in SDK raydium directory.
Have a nice day.