Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » make fail on a hello world opengl app
make fail on a hello world opengl app [message #142143] Wed, 30 March 2005 19:12 Go to next message
Jack Chi is currently offline Jack ChiFriend
Messages: 52
Registered: July 2009
Member
Does any one can give me a hand on this one? Or give me some pointers to
some tutorials on how to configure C/C++ projects. I am editing an
OPENGL HelloWorld app but it fails to compile. See below.


*** Incremental build of configuration Debug for project opengl ****

make -k all
Building target: opengl.exe
gcc -o opengl.exe test.o
test.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [opengl.exe] Error 1
make: Target `all' not remade because of errors.
Build complete for project opengl



Thanks

Jack
Re: make fail on a hello world opengl app [message #142154 is a reply to message #142143] Wed, 30 March 2005 20:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexfarberov.[nospam]hotmail.com

Does running make via command line work?
If it does, make sure that the path to your gcc is the same in command
line and in the CDT Builder.

(Hi to a UofW student. I'm formerly from UofT :)

Jack Chi wrote:
> Does any one can give me a hand on this one? Or give me some pointers to
> some tutorials on how to configure C/C++ projects. I am editing an
> OPENGL HelloWorld app but it fails to compile. See below.
>
>
> *** Incremental build of configuration Debug for project opengl ****
>
> make -k all
> Building target: opengl.exe
> gcc -o opengl.exe test.o
> test.o: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
> make: *** [opengl.exe] Error 1
> make: Target `all' not remade because of errors.
> Build complete for project opengl
>
>
>
> Thanks
>
> Jack
Re: make fail on a hello world opengl app [message #142264 is a reply to message #142143] Thu, 31 March 2005 21:28 Go to previous message
Eclipse UserFriend
Originally posted by: dschaefe.ca.ibm.com

Risking pointing out the obvious, for some reason the source for test.o is
missing. Looks like managed make which should handle this correctly.
Possibly this is a bug.

Doug

"Jack Chi" <jsychi@uwaterloo.ca> wrote in message
news:d2etke$vgc$1@news.eclipse.org...
> Does any one can give me a hand on this one? Or give me some pointers to
> some tutorials on how to configure C/C++ projects. I am editing an OPENGL
> HelloWorld app but it fails to compile. See below.
>
>
> *** Incremental build of configuration Debug for project opengl ****
>
> make -k all
> Building target: opengl.exe
> gcc -o opengl.exe test.o
> test.o: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
> make: *** [opengl.exe] Error 1
> make: Target `all' not remade because of errors.
> Build complete for project opengl
>
>
>
> Thanks
>
> Jack
Previous Topic:More help on code templates
Next Topic:macros brake code completion
Goto Forum:
  


Current Time: Fri Apr 26 01:01:31 GMT 2024

Powered by FUDForum. Page generated in 0.02825 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top