Posted By: dracula
Using the game game engine in Coode::Blocks - 08/05/08 14:15
This might seem to be in the wrong section but please read on:
I was tring to get Code::Blocks to work with acknex.dll and I was having lots of problems with windows.h The compiler kept saying there was a problem with a certain line (RECT declaration in a structure) I remembered that litec.h includes windows.h and so I removed window.h from the header in my Code::Block program and used litec.h instead, and it compiled !
1. Why did I have to remove windows.h and get it to work with litec.h
2. The program compiled but it didn't open the level. I got the E355 error message. I linked Code::Block to acknex.lib and pointed Code::Block to the sdk and include directories. I used the published acknex.dll in the debug folder alongside the wmb level file.
Did I do it correctly ?
Thank you
I was tring to get Code::Blocks to work with acknex.dll and I was having lots of problems with windows.h The compiler kept saying there was a problem with a certain line (RECT declaration in a structure) I remembered that litec.h includes windows.h and so I removed window.h from the header in my Code::Block program and used litec.h instead, and it compiled !
1. Why did I have to remove windows.h and get it to work with litec.h
2. The program compiled but it didn't open the level. I got the E355 error message. I linked Code::Block to acknex.lib and pointed Code::Block to the sdk and include directories. I used the published acknex.dll in the debug folder alongside the wmb level file.
Did I do it correctly ?
Thank you
