Login
User Name:

Password:



Register
Forgot your password?
LOP 1.39r1
Author: Remcon
Submitted by: Remcon
Yaeger areas
Author: Yaeger
Submitted by: Cyberthrope
The City of Anon
Author: Yaeger
Submitted by: Cyberthrope
The Walls of Anon - Smaug
Author: Yaeger
Submitted by: Cyberthrope
LOP 1.39
Author: Remcon
Submitted by: Remcon
CommonCrawl, Yahoo!, Bing, Yandex, Baiduspider

Members: 0
Guests: 3
Stats
Files
Topics
Posts
Members
Newest Member
375
3,323
16,512
561
Aurin
Affiliates
Smaug Building Institute Arthmoor
» SmaugMuds.org » Codebases » SmaugFUSS » Smaugfuss1.9 Compiling error ...
Forum Rules | Mark all | Recent Posts

Smaugfuss1.9 Compiling error with Cygwin
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Oct 14, 2009, 10:17 pm
Go to the bottom of the page Go to the top of the page
Derreko
Fledgling
GroupMembers
Posts7
JoinedOct 14, 2009

This is what I get everytime after typing make clean then make:

Compiling o/imc.o....
make[1]: g++: Command not found
make[1]: *** [o.imc.o] Error 127
make: *** [all] Error 2

I have uninstalled and reinstalled Cygwin multiple times making sure to follow all the tutorials recommended in these forums to add the right packages (gcc, g++, make, etc.). I got the file extracted and everything it is just a matter of compiling. I also went into the Makefile using Dev-c++ to uncomment the line suggested for compiling with Cygwin. Do I need to somehow open this file in Cygwin to edit it? If so, what commands do u type to access/edit the Makefile in Cygwin. Any help would be greatly appreciated, I have spent many hours trying to figure this out without bothering you guys.

Thanks!
       
Post is unread #2 Oct 14, 2009, 10:25 pm
Go to the bottom of the page Go to the top of the page


Samson
Scaly but Handsome
GroupAdministrators
Posts3,434
JoinedJan 1, 2002
WWW

http://www.smaugmuds.org/index.php?a=topic&t=1844 .........................
PDNS-Admin | Sandbox | Arthmoor MUD Hosting Services | The Truth About Medievia: A Saga of Code Theft.

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
       
Post is unread #3 Oct 15, 2009, 7:36 am
Go to the bottom of the page Go to the top of the page
Derreko
Fledgling
GroupMembers
Posts7
JoinedOct 14, 2009

Any chance there could be something else that might cause this? I have seen that part of the forum and browsed it religiously attempting to find solutions. I also reinstalled cygwin 3 or 4 times now making sure I have all of those packages included.
       
Post is unread #4 Oct 15, 2009, 8:01 am
Go to the bottom of the page Go to the top of the page


Kayle
Nibelungen
GroupAdministrators
Posts1,040
JoinedMar 21, 2006
WWW

make[1]: g++: Command not found


That's Cygwin telling you that g++ isn't installed. .........................
Owner/Coder -- Malevolent Whispers -- Development Phase - Not accepting players
Coder -- Star Wars: The Sith Wars -- Open Alpha - Players Welcome - Full System Re-writes Imminent.

I3 Contact: Kayle@SithWars
       
Post is unread #5 Oct 15, 2009, 8:20 am
Go to the bottom of the page Go to the top of the page


Hanaisse
Magician
GroupMembers
Posts196
JoinedNov 25, 2007
WWW

There's a good step-by-step Cygwin install instructions at the end of this thread;

http://www.smaugmuds.org/index.php?a=topic&t=4149

There's also really no need to 'make clean' before 'make' unless you've changed any of the .c files, which, if this is your first time compiling the MUD you probably shouldn't change anything yet.
Do all the other files compile and it just stops at the imc file? Maybe you should show your complete make results. .........................
******************************
aka Hana Owner in Training: Fury of the Gods (in development)
laugh. dance. cure.
       
Post is unread #6 Oct 15, 2009, 8:23 am
Go to the bottom of the page Go to the top of the page
Remcon
Wizard
GroupLoP Team
Posts1,325
JoinedJul 26, 2005

Imc is normally the first file it compiles :)

I'd have to say Kayle has that one pegged with g++ isn't installed. .........................
Remcon
Lands of Pabulum
       
Post is unread #7 Oct 15, 2009, 9:06 am
Go to the bottom of the page Go to the top of the page
Derreko
Fledgling
GroupMembers
Posts7
JoinedOct 14, 2009

I guess I can just try to reinstall it again...when I go into my cygwin install file everytime that includes gcc or g++ I have made sure to install. I guess maybe my computer isn't compatible, unless ther is something I have to do to install g++ after I have Cygwin include it in the download/install file.

Thanks though guys.
       
Post is unread #8 Oct 15, 2009, 9:33 am
Go to the bottom of the page Go to the top of the page


David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007
WWW

When you run the Cygwin setup program, you need to make sure that g++ is explicitly selected for installation.
Note that you can rerun the same setup program, and it should add packages intelligently, i.e. without redownloading everything. .........................
David Haley
Head Coder, Legends of the Darkstone
BabbleMUD Project
http://david.the-haleys.org
       
Post is unread #9 Oct 15, 2009, 9:41 am
Go to the bottom of the page Go to the top of the page
Derreko
Fledgling
GroupMembers
Posts7
JoinedOct 14, 2009

Yeah I have done that a few times now and when I reload the setup program it shows everything with gcc or g++ in it as Kept not skipped so that means it's installed right?
       
Post is unread #10 Oct 15, 2009, 10:29 am
Go to the bottom of the page Go to the top of the page


David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007
WWW

If g++ is marked as 'kept' then it should already be installed. If, from the command line, you type just:
g++ --version

what happens? .........................
David Haley
Head Coder, Legends of the Darkstone
BabbleMUD Project
http://david.the-haleys.org
       
Post is unread #11 Oct 15, 2009, 5:36 pm
Go to the bottom of the page Go to the top of the page
Derreko
Fledgling
GroupMembers
Posts7
JoinedOct 14, 2009

It says g++-4: no input files found.
       
Post is unread #12 Oct 15, 2009, 7:16 pm
Go to the bottom of the page Go to the top of the page


Zeno
Sorcerer
GroupMembers
Posts640
JoinedMar 5, 2005
WWW AIM Yahoo MSN Skype

It says g++-4? Not g++? .........................
-Zeno McDohl,
Owner of Bleached InuYasha Galaxy (BIYG)
Project CR: coming soon
Want to learn Smaug building? Smaug Institute
       
Post is unread #13 Oct 15, 2009, 7:27 pm
Go to the bottom of the page Go to the top of the page
Derreko
Fledgling
GroupMembers
Posts7
JoinedOct 14, 2009

Oh I thought by --version that meant to put in the version number which in this case was 4. If I type in g++ --version it returns with: g++: command not found.
       
Post is unread #14 Oct 15, 2009, 7:34 pm
Go to the bottom of the page Go to the top of the page


Zeno
Sorcerer
GroupMembers
Posts640
JoinedMar 5, 2005
WWW AIM Yahoo MSN Skype

Try these:

whereis g++
whereis g++-4

It sounds like you need to change the g++ reference in the Makefile to g++-4 .........................
-Zeno McDohl,
Owner of Bleached InuYasha Galaxy (BIYG)
Project CR: coming soon
Want to learn Smaug building? Smaug Institute
       
Post is unread #15 Oct 15, 2009, 7:55 pm
Go to the bottom of the page Go to the top of the page
Derreko
Fledgling
GroupMembers
Posts7
JoinedOct 14, 2009

You are absolutely right lol. Thanks guys. Feeling a bit stupid for not thinking of that myself, but nonetheless appreciate your help!
       
Pages:<< prev 1 next >>

 
Contact Us