Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Internet source code question (edit - question on torque)

This topic is 5151 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I have found a few projects that look interesting on source forge, I download them but i never know what I am meant to do! whenever i write a program i simply run it, save the source, open source, edit, thats about it, i have never publicaly released anything. I have just downloaded the source code to a few things, and in the folder there are a few files that description is "visual studio workspace" or similar. When i run and try to compile, it usualyl comes up with build errors. What am i doing wrong? Thanks [edited by - wilhil on April 12, 2004 9:54:49 PM]

Share this post


Link to post
Share on other sites
Advertisement
You''re probably missing libraries or some setup, usually there are readme files, or directions somewhere. Are there any projects in particular you have questions about, that may be easier for people to help with that just asking about using things off of SF in general.

Share this post


Link to post
Share on other sites
going back to this post i made...

I think i said somewhere in another post I am not a very experianced c++ programmer. I love programming but i am not the best! I mainly just specialise on visual basic and vbscript on asp, but i really want to move to c++

I really want to start programming games instead of just boring web pages! and following loads of advice i purchased the cheapest version of the torque engine. my last job paid off really well and I have a little bit of money to waiste so i thoguth what have i got to loose!

anyway, all I have is loads of diffrent files, source code and everything... I was wondering if there is anyone else here who has bought the torque engine can help me out?


basically i have no clue to as what i am doing! all i tried is opening the workspace files and click build... nothing happend had errors!


I have got the torque files. I have got Microsoft visual studio .net 2003 Enterprise Archtiect, and thats it! no sdks yet or anything installed. I was wondering is there any torque fan sites to help new users, or is there anyone here that can giveme a step by step guide as to make the most simplestof projects?


c++ isso much harder than i thought it would be to learn! for vb all i did was downloaded complied programs, change little bits and learn... I learnt how to do loads in avery little time, but c++ seems so much harder! I do exactly the same thing, download source codes, but when i open and build, i have no idea how to use it.


Sorry if i keep repeating points and stuff, it is 2:51am here, and i am tired!

see you later.

Wil


Share this post


Link to post
Share on other sites
No, dude, don''t do that...

You''ll waste your money getting an engine if you don''t even know the basics of C/C++ first.

Start by the cheap and easy stuff. Hello world, for one, is a good example. Learn Win32 API. Then move on to the GDI; make a Tetris clone. Then get SDL and write your own basic engine.

Until you''re somewhat comfortable with C/C++, don''t move on to game programming. Until you''re somewhat comfortable with game programming, don''t move on to using engines you don''t understand.

Share this post


Link to post
Share on other sites
What did you expect of the source code you downloaded? When you say "nothing happened" - and that can''t be true; at the very least you should get an error notification or a build error - what were you expecting, and what exactly happened?

Since you don''t know C++ at all, do you really think that dealing with complex 3D graphics technology is appropriate for you?

Calm down. C++ is a complex, difficult language that takes time to learn and has a steep learning curve. You need to understand the language, the build process and the tools you''re using before you can be productive. Visual Basic has only one set of tools (with C++ there are as many as there are vendors), so everything works a lot more seamlessly.

I''d recommend starting from the top.

Share this post


Link to post
Share on other sites
honestly i know this was a big step, but i am fed up of getting flamed all the time for people saying buy this,get that e.t.c.

I just got paid for the last job, and as i said i am extremly happy, it was loads and i bought loads of things that i have been wanting for years such as a msdn universal sub, the torque engine and if there is anything else i dont mind getting it, I am a fast learner with nothing to do, and I thoguht ratherthan tip toeing around, I could get a propour 3d engine that is good and successfull and learn from that.

any way,I had no ideawhat i was doing, i just clicked on a file that said visual studio workspace, clicked build and it said build errors,so i have just left it,I will learn it a bit later. I was just wondering ifyou cantruin the files directly, what am i meant to do with it,how do i make a game! (i know that is jumping a little!)

anywa,y going to bed now, see you all later

Share this post


Link to post
Share on other sites
quote:
Original post by wilhil
honestly i know this was a big step, but i am fed up of getting flamed all the time for people saying buy this,get that e.t.c.
So?

You can be fed up all you want. You did a stupid thing: You jumped in with no clue. Just because you "know" you "need" C++ to make top-quality games (not true), and you "know" you "need" Microsoft Visual Studio/C++ to build them (not true) doesn''t mean that you should get right to it now. If you wanted to build a tree house, would you just run to Home Depot (or whatever you have in the UK) and get planks of wood, a couple of Craftsman tools and hop in the backyard?

One of the ironic tragedies of software development is that anybody can get the tools, and that they don''t come with warnings. We don''t give blowtorches to neophyte welders; why do we put compilers, assemblers, debuggers and disassemblers in the hands of newbies?

Read a book, wilhil! Suffer! Endure! This knowledge doesn''t come cheap, and it doesn''t come without experience, and, above all, it doesn''t care how you feel. You bought MSDN Universal Subscription; have you read the terabytes of documentation it gives you access to? Does it overwhelm you? Does the thought cross your mind that maybe this wasn''t such a good idea?

If you''ve never programmed a game (your previous experience was in web pages/applications and VB form applications), you can''t just jump into it. Read the link I gave you; there''s a section there for people who''ve programmed before. If you''re not willing to put in the work, to take the time to learn properly, well, you''ll have to get used to being "flamed" (btw nobody flamed you, as far as I can tell).

Games are complex pieces of software, and C++ is a complex language. Trying to learn how to program games in C++, all at once, is an exponentially more complex task.

quote:
any way,I had no ideawhat i was doing, i just clicked on a file that said visual studio workspace, clicked build and it said build errors...
What were the build errors? What were the error numbers (eg C1066, LNK2001, etc)? If you want an answer to your question, you have to ask a good question!

quote:
I was just wondering if you can''t run the files directly, what am i meant to do with it...?
You never run source code. You build it into the target, which can be of various types. If it''s an executable, then you can run it; if it''s a static library, then it must be combined with other code in specific ways to yield an executable; if it''s a dynamic link library, it must be invoked by executing code in specific ways at specific times to yield runtime effects; if it''s a "control", it''s basically the same as a dynamic link library, but the nature of the runtime effect is more narrowly defined. And so on.

There''s a reason people recommend starting at the beginning: there are many foundational issues which you must understand to be able to not only program effectively, but also learn to program (more) effectively.

Share this post


Link to post
Share on other sites
I have to agree with Oluseyi: you''re jumping into this WAY too fast.

This is going to sound very negative, but with your current attitude, you''ll probably never code a game. Slow down, take it step by step.

Share this post


Link to post
Share on other sites
I just wanted to remind you that as a Torque Engine license holder, you now have access to more online documentation and several extra forums at GarageGames.

I don''t use Visual Studio myself, but I have seen several threads about it there. Browsing through them to find posts containing similar error messages to those you''re getting should help (assuming someone answered the question of course).

Share this post


Link to post
Share on other sites
Hi

Ok, I have made the hello world example, I have done a couple of little things. I want to move on now, And I have bought a couple of books.

Ok fine, I did jump the gun purchasing torque, but as i said, I dont really care if i have to buy loads of things i dont use, if it means I get to learn c++ it will be a bargain!

I have been looking up direct x sdk, but there are so many diffrent versions, and from msdn, there are so many updates, diffrent sdk''s "extras"... I have no idea what I should get!

I was wondering if someone could tell me what ones should i download?

also if anyone can tell me of any other sdks i should get.

not needed but - I remember ages ago downloading a sdk that allowed me to build images of pocket and handheld pcs, such as microsoft smart phoes, ip phones, tv boxes, and so many other things. It was called the microsoft windows ce emulation edition or sometihng like that. I have been looking onine for ages andfound somethingsimilar, but I can not find the exact thing and was wondering if anyone knew what i am talking about, could they give me a link?

and finally i was wondering how does the offline msdn library thati am using compare with the online one? I thought the offline one was meant to be as good, but when i was trying to look up direct x, it looks ike there is tons more stuff online.


I appreciate all the help i have been getting and thank you even if they are bad replys saying i am going to fast, I like critosisms rather than flames that just serve no purpose other than to annoy people!

Thank you for your help

William

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!