DirectX in DevCPP
DirectX in DevCPP
Hi
I was wondering if any1 can help me with directx on devcpp.
i already installed the devpack but it still wont work.
So now, wot do i do?
Thanks
I was wondering if any1 can help me with directx on devcpp.
i already installed the devpack but it still wont work.
So now, wot do i do?
Thanks
See this topic on how to setup the DEV-C++ to compile Irrlicht engine and to use the DirectX version:
http://irrlicht.sourceforge.net/phpBB2/ ... torder=asc
I suggest you read all post in that topic, because some parameters in the first tutorial has changed.
http://www.gprogs.com/gg.Irrlicht/IrrDX_v1_1.zip
http://irrlicht.sourceforge.net/phpBB2/ ... torder=asc
I suggest you read all post in that topic, because some parameters in the first tutorial has changed.
here is the link, posted on the last message of the previous mentioned topicAmt0571 wrote:I downloaded a few days ago an Irrlicht 1.1 DX Dll for DevCPP. It works ok for me.
I don't know where I downloaded it, but if you give me an email adress, I'll send it to you.
http://www.gprogs.com/gg.Irrlicht/IrrDX_v1_1.zip
HEY...DevCpp and DirectX ? I think I have a dejavu...
I think this problem was posted onc. Or twice .. or ... 1000000 *** times
UNLEASH THE POWER OF SEARCH BUTTON
Here u have FEW examples provided by help function:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=14713
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8896
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=6454
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5471
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=4801
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=3115
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2143
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=10450
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=4497
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5075
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1632
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1447
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1426
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1348
http://irrlicht.sourceforge.net/phpBB2/ ... c.php?t=61
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=11532
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=10165
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8577
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1700
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=7105
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2245
http://irrlicht.sourceforge.net/phpBB2/ ... .php?t=370
I think this problem was posted onc. Or twice .. or ... 1000000 *** times
UNLEASH THE POWER OF SEARCH BUTTON
Here u have FEW examples provided by help function:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=14713
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8896
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=6454
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5471
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=4801
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=3115
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2143
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=10450
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=4497
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5075
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1632
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1447
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1426
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1348
http://irrlicht.sourceforge.net/phpBB2/ ... c.php?t=61
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=11532
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=10165
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8577
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1700
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=7105
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2245
http://irrlicht.sourceforge.net/phpBB2/ ... .php?t=370
As your ship is going down
ll stand by and watch you drown
ll stand by and watch you drown
good work on the search bobos
to the other guys:
you dont need directx dev packages, you can use the original microsoft directx sdk, follow these steps:
1. download the dx sdk
2. download the mingw compiler + tools (you already have that if you have installed devc++)
3. set your PATH in the windows-evironment-variables to include the path to your mingw folder (if you have devc++ installed this is already done for you)
4. now install/uncompress the directx sdk
5. browse to the directxsdk/lib folder where the libraries are located (maybe directx/lib/x86/ )
6. copy the two tools dlltool.exe and reimp.exe (from mingw/bin or devcpp/mingw/bin) over to the previous directx lib folder
7. open up a terminal, browse to the directx library folder, and type this for each .lib file in the folder:
example:
now that you have done that for all library files, type this into the terminal:
to delete all .lib files, so you just have the .a files.
now create a directxsdk folder somewhere on your harddisk. create the subfolders directxsdk/lib and directxsdk/include.
now do this:
1. copy the files in the original directx sdk´s include folder (directx/include) to your new directx sdk`s include folder.
2. repeat that step for the libs (copy from old directxsdk/lib to the new directxsdk/lib)
OPTIONAL:
also create folders for the examples/documentation/samples and tools/utilities and copy those files over to your new directx sdk folder, so you can maybe look into that files for learning dx stuff.
OPTIONAL:
compress the whole folder as directxsdk-[sdk version]-mingw
example:
with an archiver of your choice.
post-steps:
1. open up your dev-c++
2. go the the global compiler settings
3. add the directxsdk/lib of your new directxsdk to the lib path
4. add the directxsdk/include of your new directxsdk to the include path
done!
now you never have to bother with that stuff again
and you can also upload the file so other users wont have to go through that hassle again.
i already have done this, so if you want to have the files i can upload them (the problem is, i have made myself a nice mingw package with the latest mingw and many converted libs such as glew/glut/sdl/sdl_*/directx/nvidiacg and a few others, and i dont know which exactly files belong to which lib (even if i could sort it out).
that means, if you want that package you have to download about 30-40 mb :/
if you have any questions, feel free to ask me or join #irrlicht at irc.freenode.net
see you!
ps: i hope i didnt do any typing mistakes or so because im kinda in a hurry, im cooking noodle stuff right now
EDIT:
the advantage of this method is that you dont need to use the directx dlls (include them with the rest of your application) like you have to do with the dev-package (at least i didnt have to as i coded a little directx app) thats a plus
also i want to point out that this method works with any other .lib stuff in general (except maybe some static .lib because you can already use those with mingw)
to the other guys:
you dont need directx dev packages, you can use the original microsoft directx sdk, follow these steps:
1. download the dx sdk
2. download the mingw compiler + tools (you already have that if you have installed devc++)
3. set your PATH in the windows-evironment-variables to include the path to your mingw folder (if you have devc++ installed this is already done for you)
4. now install/uncompress the directx sdk
5. browse to the directxsdk/lib folder where the libraries are located (maybe directx/lib/x86/ )
6. copy the two tools dlltool.exe and reimp.exe (from mingw/bin or devcpp/mingw/bin) over to the previous directx lib folder
7. open up a terminal, browse to the directx library folder, and type this for each .lib file in the folder:
Code: Select all
reimp -c filename.lib
Code: Select all
reimp -c d3dx9.lib
Code: Select all
del *.lib
now create a directxsdk folder somewhere on your harddisk. create the subfolders directxsdk/lib and directxsdk/include.
now do this:
1. copy the files in the original directx sdk´s include folder (directx/include) to your new directx sdk`s include folder.
2. repeat that step for the libs (copy from old directxsdk/lib to the new directxsdk/lib)
OPTIONAL:
also create folders for the examples/documentation/samples and tools/utilities and copy those files over to your new directx sdk folder, so you can maybe look into that files for learning dx stuff.
OPTIONAL:
compress the whole folder as directxsdk-[sdk version]-mingw
example:
Code: Select all
directxsdk-jul2006-mingw.tar.bz2
post-steps:
1. open up your dev-c++
2. go the the global compiler settings
3. add the directxsdk/lib of your new directxsdk to the lib path
4. add the directxsdk/include of your new directxsdk to the include path
done!
now you never have to bother with that stuff again
and you can also upload the file so other users wont have to go through that hassle again.
i already have done this, so if you want to have the files i can upload them (the problem is, i have made myself a nice mingw package with the latest mingw and many converted libs such as glew/glut/sdl/sdl_*/directx/nvidiacg and a few others, and i dont know which exactly files belong to which lib (even if i could sort it out).
that means, if you want that package you have to download about 30-40 mb :/
if you have any questions, feel free to ask me or join #irrlicht at irc.freenode.net
see you!
ps: i hope i didnt do any typing mistakes or so because im kinda in a hurry, im cooking noodle stuff right now
EDIT:
the advantage of this method is that you dont need to use the directx dlls (include them with the rest of your application) like you have to do with the dev-package (at least i didnt have to as i coded a little directx app) thats a plus
also i want to point out that this method works with any other .lib stuff in general (except maybe some static .lib because you can already use those with mingw)
sorry to bump this really old thread but i just need a little help with REIMP.
when i use it on smaller .lib files, it works fine.
But when i use it with larger .lib files, the produced file is not a .a file but millions of .000, .001, .002 etc, files. Anyone know why?
Btw, i dont need these .a files badly because i already use the ones from the DevPack, but it's nice to know how to do it.
when i use it on smaller .lib files, it works fine.
But when i use it with larger .lib files, the produced file is not a .a file but millions of .000, .001, .002 etc, files. Anyone know why?
Btw, i dont need these .a files badly because i already use the ones from the DevPack, but it's nice to know how to do it.
Simply use my IrrExensions !!!
You don't need to add any of my extensions if you don't want to, but it sets up the project files for Dev, CodeBlocks and MSVC for recompiling the engine...
You don't need to add any of my extensions if you don't want to, but it sets up the project files for Dev, CodeBlocks and MSVC for recompiling the engine...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java