Author |
Message |
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Thu Mar 26, 2009 12:05 am Post subject: compiler issues |
|
|
|
|
so anyways, i was experimenting with microsoft's directx in dev-c++...
it was going well, got a win32/directx hookup going,
until i tried to use the camera/matrix functions, when devcpp coughed and died.
apparently it didnt have the proper libraries.
devcpp uses a libstdlib.a (lib*.a) format, while windows compilers use stdlib.lib (*.lib) format.
so i tried to find the directx libraries i needed.
apparently microsoft sued bloodshed to remove their directx libraries from whatever because apparently its illegal to make copies of their stuff...
i never used visual studio because theres a lot of extra crap i dont want to deal with, but i ended up installing the Visual C++ 2008 Express Edition the other day.
its fine, lets me change my colors around too, got a debugger too (which i have no idea how to use)
however, i have a few problems with it:
its a bitch.
hassles me about the stupidest shit that devcpp didnt give a fuck about.
lots of extra hoops to jump through to get something to compile, which i really dont need.
(such as warning C4018: '<' : signed/unsigned mismatch)
(or bitching at me that my strings arent LPWSTRs)
i cant figure out how to tell the linker how to add my fucking libraries.
adding folders for it to look for libraries and headers in is absolutely useless, because its like it doesnt look there anyways.
also, i tried to do this:
{
unsigned int WIDTH;
WIDTH=wtemp;
short s_Indices[(WIDTH-1)*(HEIGHT-1)*6];
}
and it gives me this shit:
error C2057: expected constant expression
error C2466: cannot allocate an array of constant size 0
error C2133: 's_Indices' : unknown size
someone help me out with this.
anyone use a microsoft compiler?
also, does anyone know of a VS --> DC++ library converter thingy? _________________ SSC Distension Owner
SSCU Trench Wars Developer |
|
Back to top |
|
|
Doc Flabby Server Help Squatter
Joined: Feb 26 2006 Posts: 636 Offline
|
Posted: Thu Mar 26, 2009 7:44 am Post subject: |
|
|
|
|
Have you installed the platform SDK ?
You need to install this and get it working before trying to get directX to work. _________________ Rediscover online gaming. Get Subspace | STF The future...prehaps |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Thu Mar 26, 2009 11:18 am Post subject: |
|
|
|
|
had it already installed, and then installed it again after in case.
then dumped the headers and libraries into the VSC folders when it didnt work.
i think i got the linker to work, because i got symbol find errors instead of file find errors.
it seems the funcs in D3dx9math.h arent working. |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Fri Mar 27, 2009 4:24 pm Post subject: |
|
|
|
|
the internet did not help me on this one :(
i ended up installing a brand new sdk, deleting the other 2, then randomly inserting libs and folder paths, but that didnt work, so i managed to get the sdk examples to auto-install themselves, then pirated their changes, and now everything works :)
devcpp is about on par with VC++E, and despite being a bitch about every little detail, its starting to grow on me...
although the lack of a build+run function sucks... |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Sun Mar 29, 2009 11:21 pm Post subject: |
|
|
|
|
so to anyone that cares,
im starting to get really deep into this, and im really enjoying playing around with directx.
its very satisfying.
been messing around with direct3d so far, then i think im going to move on to audio..... |
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Tue Mar 31, 2009 8:43 pm Post subject: |
|
|
|
|
Cheese wrote: | im starting to get really deep into this, and im really enjoying playing around with directx. |
Try looking at OpenGL, SDL, and OpenAL then. It is worth looking at both sides of the major libraries to see how they work, as they are very powerful but very different. |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Wed Apr 01, 2009 2:12 am Post subject: |
|
|
|
|
was reading up on opengl, then decided to start with directx...
i like to try to learn everything ill ever need, then move on to something new...
so far ive made a windows program that opens a window, and in a box in the window it draws a landscape which you can zoom around in, which gets its height and color from a variable dimension bitmap file, ive also been playing around with lighting.
pretty soon im going be be drawing starfields and messing around with ss-style sprites that take 40 rotate wb images, and make a moving thingy.
im tossing around the idea of making meshes of the ss ships, and might make different subspace screensavers... =) |
|
Back to top |
|
|
Farhan Newbie
Age:32 Gender: Joined: Nov 19 2014 Posts: 1 Location: London Offline
|
Posted: Wed Nov 19, 2014 2:50 am Post subject: |
|
|
|
|
This is very nice post thanks! _________________ Sign up with CV0-001 for getting exam ready. |
|
Back to top |
|
|
|