Skip to main content



      Home
Home » Newcomers » Newcomers » Cannot build CDT project
Cannot build CDT project [message #268189] Wed, 28 January 2009 15:07 Go to next message
Eclipse UserFriend
Originally posted by: jamescobban.sympatico.ca

I just migrated to eclipse-cpp-ganymede-SR1-win32 and attempted to
reconfigure to use MinGW GCC for the compiler using the procedure
described by Fred Lackey's wiki. When I try to build an existing
project I get the following output:

make all
Building file: ../Address.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Address.d"
-MT"Address.d" -o"Address.o" "../Address.cpp"

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
make: *** [Address.o] Error 3


The Project Properties specify PATH="C:\msys\1.0\bin;C:/MinGW/bin;
C:/Program Files/Java/jre1.6.0_07/bin/client;
C:/Program Files/Java/jre1.6.0_07/bin;
C:\Program Files\Apache Software Foundation\Apache2.2\PHP\;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\MinGW\bin;C:\Cygwin\bin;
C:\Program Files\MySQL\MySQL Server 5.0\bin;
C:\Program Files\QuickTime\QTSystem\;
C:\Program Files\CA\PPRT\bin"

The Windows environment variables specify
Path="C:\Program Files\Apache Software Foundation\Apache2.2\PHP\;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
C:\msys\1.0\bin;C:\MinGW\bin;
C:\Cygwin\bin;
C:\Program Files\MySQL\MySQL Server 5.0\bin;
C:\Program Files\QuickTime\QTSystem\;
C:\Program Files\CA\PPRT\bin"

If I invoke make directly from msys it appears to work in that the
output is different:

make
Building file: ../Address.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Address.d"
-MT"Address.d" -o"Address.o" "../Address.cpp"
In file included from ../Address.h:17,
from ../Address.cpp:14:
.../Tag.h:751: error: 'time_t' in namespace 'std' does not name a type
.../Tag.h:752: error: 'tm' in namespace 'std' does not name a type
.../Tag.h:753: error: 'time_t' in namespace 'std' does not name a type
.../Tag.h:788: error: function definition does not declare parameters
.../Tag.h:799: error: function definition does not declare parameters
make: *** [Address.o] Error 1

Any ideas of what I can do to get this to work?
Re: Cannot build CDT project [message #268199 is a reply to message #268189] Thu, 29 January 2009 03:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

It appears that the compiler is probably crashing. Have you tried do the
same thing from the command line?

James Cobban wrote:
> I just migrated to eclipse-cpp-ganymede-SR1-win32 and attempted to
> reconfigure to use MinGW GCC for the compiler using the procedure
> described by Fred Lackey's wiki. When I try to build an existing
> project I get the following output:
>
> make all
> Building file: ../Address.cpp
> Invoking: GCC C++ Compiler
> g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Address.d"
> -MT"Address.d" -o"Address.o" "../Address.cpp"
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
> make: *** [Address.o] Error 3
>
>
> The Project Properties specify PATH="C:\msys\1.0\bin;C:/MinGW/bin;
> C:/Program Files/Java/jre1.6.0_07/bin/client;
> C:/Program Files/Java/jre1.6.0_07/bin;
> C:\Program Files\Apache Software Foundation\Apache2.2\PHP\;
> C:\WINDOWS\system32;
> C:\WINDOWS;
> C:\WINDOWS\System32\Wbem;
> C:\MinGW\bin;C:\Cygwin\bin;
> C:\Program Files\MySQL\MySQL Server 5.0\bin;
> C:\Program Files\QuickTime\QTSystem\;
> C:\Program Files\CA\PPRT\bin"
>
> The Windows environment variables specify
> Path="C:\Program Files\Apache Software Foundation\Apache2.2\PHP\;
> %SystemRoot%\system32;
> %SystemRoot%;
> %SystemRoot%\System32\Wbem;
> C:\msys\1.0\bin;C:\MinGW\bin;
> C:\Cygwin\bin;
> C:\Program Files\MySQL\MySQL Server 5.0\bin;
> C:\Program Files\QuickTime\QTSystem\;
> C:\Program Files\CA\PPRT\bin"
>
> If I invoke make directly from msys it appears to work in that the
> output is different:
>
> make
> Building file: ../Address.cpp
> Invoking: GCC C++ Compiler
> g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Address.d"
> -MT"Address.d" -o"Address.o" "../Address.cpp"
> In file included from ../Address.h:17,
> from ../Address.cpp:14:
> ../Tag.h:751: error: 'time_t' in namespace 'std' does not name a type
> ../Tag.h:752: error: 'tm' in namespace 'std' does not name a type
> ../Tag.h:753: error: 'time_t' in namespace 'std' does not name a type
> ../Tag.h:788: error: function definition does not declare parameters
> ../Tag.h:799: error: function definition does not declare parameters
> make: *** [Address.o] Error 1
>
> Any ideas of what I can do to get this to work?
>


--
Derek
Re: Cannot build CDT project [message #268205 is a reply to message #268199] Thu, 29 January 2009 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jamescobban.sympatico.ca

Derek wrote:
> It appears that the compiler is probably crashing. Have you tried do the
> same thing from the command line?
I showed the output from the command line in the original posting:

>
> James Cobban wrote:
....
>>
>> If I invoke make directly from msys it appears to work in that the
>> output is different:
>>
>> make
>> Building file: ../Address.cpp
>> Invoking: GCC C++ Compiler
>> g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Address.d"
>> -MT"Address.d" -o"Address.o" "../Address.cpp"
>> In file included from ../Address.h:17,
>> from ../Address.cpp:14:
>> ../Tag.h:751: error: 'time_t' in namespace 'std' does not name a type
>> ../Tag.h:752: error: 'tm' in namespace 'std' does not name a type
>> ../Tag.h:753: error: 'time_t' in namespace 'std' does not name a type
>> ../Tag.h:788: error: function definition does not declare parameters
>> ../Tag.h:799: error: function definition does not declare parameters
>> make: *** [Address.o] Error 1
>>
>> Any ideas of what I can do to get this to work?
>>
>
>
Re: Cannot build CDT project [message #268209 is a reply to message #268205] Thu, 29 January 2009 14:16 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

You might get more response posting this to the eclipse.tools.cdt newsgroup.

Eric


On 1/29/2009 10:14 AM, James Cobban wrote:
> Derek wrote:
>> It appears that the compiler is probably crashing. Have you tried do
>> the same thing from the command line?
> I showed the output from the command line in the original posting:
>
>>
>> James Cobban wrote:
> ...
>>>
>>> If I invoke make directly from msys it appears to work in that the
>>> output is different:
>>>
>>> make
>>> Building file: ../Address.cpp
>>> Invoking: GCC C++ Compiler
>>> g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Address.d"
>>> -MT"Address.d" -o"Address.o" "../Address.cpp"
>>> In file included from ../Address.h:17,
>>> from ../Address.cpp:14:
>>> ../Tag.h:751: error: 'time_t' in namespace 'std' does not name a type
>>> ../Tag.h:752: error: 'tm' in namespace 'std' does not name a type
>>> ../Tag.h:753: error: 'time_t' in namespace 'std' does not name a type
>>> ../Tag.h:788: error: function definition does not declare parameters
>>> ../Tag.h:799: error: function definition does not declare parameters
>>> make: *** [Address.o] Error 1
>>>
>>> Any ideas of what I can do to get this to work?
>>>
>>
>>
Previous Topic:C/C++ Perspective missing ...
Next Topic:Creating "VIEWS" in Eclipse
Goto Forum:
  


Current Time: Thu Jul 17 22:24:04 EDT 2025

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

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

Back to the top