Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
compiler issues

 
Post new topic   Reply to topic Printable version
 View previous topic  Catid's Biller + MingW - methods was n... Post :: Post Subscape Alpha  View next topic  
Author Message
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Thu Mar 26, 2009 12:05 am    Post subject: compiler issues Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Doc Flabby
Server Help Squatter


Joined: Feb 26 2006
Posts: 636
Offline

PostPosted: Thu Mar 26, 2009 7:44 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Thu Mar 26, 2009 11:18 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Fri Mar 27, 2009 4:24 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Sun Mar 29, 2009 11:21 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Tue Mar 31, 2009 8:43 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Wed Apr 01, 2009 2:12 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Farhan
Newbie


Age:32
Gender:Gender:Male
Joined: Nov 19 2014
Posts: 1
Location: London
Offline

PostPosted: Wed Nov 19, 2014 2:50 am    Post subject: Reply to topic Reply with quote

This is very nice post thanks! icon_cool.gif
_________________
Sign up with CV0-001 for getting exam ready.
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Non-Subspace Related Coding All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 75 page(s) served in previous 5 minutes.

phpBB Created this page in 0.425686 seconds : 33 queries executed (86.4%): GZIP compression disabled