Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

Art n Peace

Member Since 26 Jan 2011
Offline Last Active Dec 26 2012 07:39 PM
-----

Topics I've Started

Help: How to Set-up Trac

25 December 2012 - 11:39 AM

Hey Gamedevers,

 

I'm having some trouble configuring Trac. Are there any resident mentors or experts who could assist with this?

 

Specifically, I don't know how to use Python or any other program for that matter, to administrate Trac. At this point I can only browse the repository with it. I didn't know it would be this complicated and the documentation literally assumes the person configuring it knows far more than I do.

 

Thanks in advance for any help. You can PM me or just keep the discussion in this thread. I really appreciate all your help :)


Beginner C++ Programming - Please Help with Errors

18 February 2012 - 12:19 PM

I'm using an old book that teaches programming and I keep getting an error that I don't understand. The book is:

Beginning C++ Game Programming by Michael Dawson

I've tried running the code in Dev-C++ and Netbeans IDE. No luck. I'm wondering if the lesson code within is dated (the book is old, 2004)? Here's the program I'm trying to run:

#include <iostream>
using namespace std;
/*
*
*/
int main()
{
	cout << "Game Over!" << endl;
	return 0;
}

Here's the error I'm getting:

build/Debug/Cygwin-Windows/main.o: In function `main':
/cygdrive/c/Users/User2/Documents/NetBeansProjects/cppLessons/main.cpp:15: multiple definition of `_main'
build/Debug/Cygwin-Windows/gameover2.o:/cygdrive/c/Users/User2/Documents/NetBeansProjects/cppLessons/gameover2.cpp:16: first defined here
collect2: ld returned 1 exit status
make[2]: *** [dist/Debug/Cygwin-Windows/cpplessons.exe] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 3s)


What does this mean and how do I fix it? Thank you for your help.

PARTNERS