|
Re: make fail on a hello world opengl app [message #142154 is a reply to message #142143] |
Wed, 30 March 2005 20:46 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02825 seconds