can't figure out project compilation

Discussion in 'Software' started by ShockTroop, Nov 16, 2006.

  1. ShockTroop

    ShockTroop Specialist

    My group for C++ decided to make an OpenGL game based off a game someone else made called Thrust, off the Gamedev site. So far we've basically ripped apart the code and tried making it object-oriented (as opposed to mostly structure-based before and almost everything shoved into a couple files). We turned it from an Asteroids game to a partial vertical scroller.
    Now we're to the point where we can't figure out how to correct the errors the compiler is giving. I'm sure it has something to do with the pointers (which we might not need as pointer, just instantiations), but I'm not that great at them so I don't know how to fix it. Actually, my group spent a few hours last night just trying to get the thing to compile. We got most of it working, it's just the pointers that's giving us trouble. It says something like a hundred errors, but only about three or four are causing the rest.

    You can download the zipped project here (hehe, don't mind the frustrating comments). I just picked a random site to upload it to, and hopefully it's easily downloadable. Don't mind the messiness of our code, we'll clean it up as soon as it feels like compiling. After that we're going to add more of our own code to make additional levels, pickups, bosses, etc (and renaming it, of course, and at the end we'll give credit to the original creator for the models and such). This is why there are a couple file pairs that are empty. We started work on the Actor class, but we wanted to get that part working before moving on.

    Can anyone figure out how to fix the errors and make it compile? We'd be really happy to see a "build succeeded". :p We're using Visual Studio 2005.
     
  2. ShockTroop

    ShockTroop Specialist

    I also noticed that there are some dumb errors (functions that aren't in classes, using . instead of -> or vice versa, wrong names, that kind of thing), but the real problems are in a couple of the header files where classes can't be found.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds