Thread: RE: [Dev-C++] Dev-cpp 4.9.6.4 with last mingw 2.0.0.3 distributio n errors
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Santiago P. C. <San...@yd...> - 2002-10-21 12:07:14
|
Hi Roberto, Are you sure you are not compiling 'C++' code but 'C' code ?=20 (Your statement "Im working in c just not c++." confuses me =3D8-O) I know that 'curiosity killed the cat', but (coz I'm not a cat ;oD)...=20 =09Why do you need to use namespaces? =09Are you including '<iostream>' or '<stdio.h>'? Regards, Santy :o? -----Original Message----- From: Roberto Ricardi [mailto:rob...@ar...]=20 Sent: lunes, 21 de octubre de 2002 3:36 To: Dev...@li... Subject: Re: [Dev-C++] Dev-cpp 4.9.6.4 with last mingw 2.0.0.3 distributi= on errors Hi Horst, Nope, have not ' using namespace std;' in my code. Regards h.r...@gm... wrote: >>Hi all, >> >>I=B4ve tried to use dev-cpp with new mingw 2.0.0.3, I read here some >>about make name changes, so I rename and copy min...-make.exe in=20 >>make.exe (tryed with both) , I changed all the directories references, = >>but some looks wrong. Im working in c just not c++. >> >>This is the dump compiler / linker results (help linker tell me some >>about generic error in your source) of course all work well with the=20 >>distribution from dev-cpp. >> >>=BFAny ideas? >>=20 >>[Linker error] undefined reference to `std::ios_base::Init::Init()'=20 >>[Linker error] undefined reference to `std::ios_base::Init::~Init()'=20 >>[Linker error] undefined reference to `__gxx_personality_v0' =20 >>C:\Dev-Cpp\c\Makefile.win [Build Error] make.exe: *** [Myprog.exe]=20 >>Error 1 >> >>Thanks in advance >> >>Roberto >> >> =20 >> >Hi, > >i use mingw 2.0.0.3 too and all works fine. >You have included:=20 >using namespace std;=20 >in your code ? > >Horst > > =20 > ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users -------------------------------------------------------------------------= ------------- This message and any files transmitted with it are confidential and inten= ded solely=20 for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 or privilege is waived or lost by any wrong transmission.=20 If you have received this message in error, please immediately destroy it= =20and kindly=20 notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 part of this message if you are not the intended recipient. Opinions, con= clusions and=20 other information in this message that do not relate to the official busi= ness of=20 Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |
|
From: Roberto R. <rob...@ar...> - 2002-10-22 01:19:54
|
HI Santiago, Ok, I can compile it like c o c++, but almost 99% of code is ansi c or near, not c++. Im not a c++ programer. My includes #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <conio.h> #include <dos.h> #include <math.h> A member group, Mr. Jason Hardman who send me a nice convert from my old gotoxy dos style called gotoxy.cpp, it works great. Code includes used: #include <windows.h> #include <cstdlib> #include <iostream> I have not idea about namespaces mean. There is not in my code. More than this: I have my dev-cpp in C:\Dev-cpp and the new mingw in C:\mingw so: I traslated all Dev-cpp path to c:\mingw path (some maybe put both, for testing) binaries C:\Dev-cpp\bin\ C:\Dev-cpp\lib\gcc-lib\mingw32\3.2 library C:\Dev-cpp\lib includes C:\Dev-cpp\include C:\Dev-cpp\c includes c++ C:\Dev-cpp\include C:\Dev-cpp\include\c++ All ' programs' pointing to c:\mingw\bin I put another copy here 'make.exe' from mingw32-make.exe without changes. ¿Maybe some wrong path here? That´s all folk Thanks a lot for your attention Roberto. Santiago Palmier Campos wrote: >Hi Roberto, > >Are you sure you are not compiling 'C++' code but 'C' code ? >(Your statement "Im working in c just not c++." confuses me =8-O) > >I know that 'curiosity killed the cat', but (coz I'm not a cat ;oD)... > Why do you need to use namespaces? > Are you including '<iostream>' or '<stdio.h>'? > >Regards, >Santy :o? > >-----Original Message----- >From: Roberto Ricardi [mailto:rob...@ar...] >Sent: lunes, 21 de octubre de 2002 3:36 >To: Dev...@li... >Subject: Re: [Dev-C++] Dev-cpp 4.9.6.4 with last mingw 2.0.0.3 distribution >errors > > >Hi Horst, > >Nope, have not ' using namespace std;' in my code. > >Regards > >h.r...@gm... wrote: > > > >>>Hi all, >>> >>>I´ve tried to use dev-cpp with new mingw 2.0.0.3, I read here some >>>about make name changes, so I rename and copy min...-make.exe in >>>make.exe (tryed with both) , I changed all the directories references, >>>but some looks wrong. Im working in c just not c++. >>> >>>This is the dump compiler / linker results (help linker tell me some >>>about generic error in your source) of course all work well with the >>>distribution from dev-cpp. >>> >>>¿Any ideas? >>> >>>[Linker error] undefined reference to `std::ios_base::Init::Init()' >>>[Linker error] undefined reference to `std::ios_base::Init::~Init()' >>>[Linker error] undefined reference to `__gxx_personality_v0' >>>C:\Dev-Cpp\c\Makefile.win [Build Error] make.exe: *** [Myprog.exe] >>>Error 1 >>> >>>Thanks in advance >>> >>>Roberto >>> >>> >>> >>> >>> >>Hi, >> >>i use mingw 2.0.0.3 too and all works fine. >>You have included: >>using namespace std; >>in your code ? >> >>Horst >> >> >> >> >> > > > > > >------------------------------------------------------- >This sf.net email is sponsored by: >Access Your PC Securely with GoToMyPC. Try Free Now >https://www.gotomypc.com/s/OSND/DD >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >-------------------------------------------------------------------------------------- >This message and any files transmitted with it are confidential and intended solely >for the use of the individual or entity to whom they are addressed. No confidentiality >or privilege is waived or lost by any wrong transmission. >If you have received this message in error, please immediately destroy it and kindly >notify the sender by reply email. >You must not, directly or indirectly, use, disclose, distribute, print, or copy any >part of this message if you are not the intended recipient. Opinions, conclusions and >other information in this message that do not relate to the official business of >Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it. >-------------------------------------------------------------------------------------- > > > |