Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-13-2002, 02:21 AM   PM User | #1
Shawn Curry
New Coder

 
Join Date: Oct 2002
Location: middle of nowhere
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Shawn Curry is an unknown quantity at this point
Help compiling my first C++ program under Linux

I'm used to using MSVC++ and Borland C++ Builder under Windows.... I've recently migrated to Linux (Red Hat 8) and I'm trying to compile my first QT project. I made the one straight off the tutorial - the clipboard manager - MultiClip.

I've never really had any experience using a command line compiler... The tutorial said to run
qmake -o Makefile multiclip.pro
and then to run make normally. Anyway, the first time I did it there were a couple missing semicolons and I fixed that but now I dont know what this message means:
Code:
]
[root@localhost multiclip]# make
g++  -o multiclip .obj/multiclipform.o .obj/moc_multiclipform.o   -L/usr/lib/qt3-gcc3.2/lib  -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [multiclip] Error 1
and I dont know what it means. I uploaded it to my website
here
Shawn Curry is offline   Reply With Quote
Old 12-14-2002, 02:00 PM   PM User | #2
Bosko
Regular Coder

 
Join Date: Jun 2002
Location: The Netherlands
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Bosko is an unknown quantity at this point
"This file is hosted by Tripod, a Lycos®Network Site, and is not available for download. "
Bosko is offline   Reply With Quote
Old 12-14-2002, 02:14 PM   PM User | #3
maes
Regular Coder

 
Join Date: Jul 2002
Location: Belgium
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
maes is an unknown quantity at this point
Tripod doesn't allow hotlinks (or whatever you call it) to files on their servers. copy and past the link below in your adress bar

http://shawnsanswerpage.tripod.com/multclip.tar.gz

groetjes

Maes
maes is offline   Reply With Quote
Old 12-15-2002, 05:57 AM   PM User | #4
Shawn Curry
New Coder

 
Join Date: Oct 2002
Location: middle of nowhere
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Shawn Curry is an unknown quantity at this point
I figured it out. I had made a main.cpp for it, but I didnt add it to the project.
Shawn Curry is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:52 PM.


Advertisement
Log in to turn off these ads.