Re: [Dev-C++] First experience with Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Kevin W. <ke...@me...> - 2002-01-21 14:17:28
|
Have you followed the instructions in the file Mingw and Cygwin.txt ?
Kev.
---------------------------------------------------------------------------
----- Original Message -----
From: Jilani Khaldi <ji...@ti...>
To: <dev...@li...>
Sent: Sunday, January 20, 2002 11:27 AM
Subject: [Dev-C++] First experience with Dev-C++
> Hi All,
> I have downloaded MingW, installed it and it works fine from command
> line.
> I have already installed Dev-C++ (compiled from source) and it seems to
> work fine too.
> I have created a new project (myproject.dev) with this single unit:
> // b.cpp
> #include <stdio.h>
>
> int main(int argc, char *argv[])
> {
> printf("Hello Dev-C++");
> return 0;
> }
> //
> Well; from command line: g++ b.cpp it compiles and create a.exe
> correctly. But from Dev-C++ I have just this list of errors:
>
> c:\mingw\bin\ld.exe: warning: cannot find entry symbol _mainCRTStartup;
> defaulting to 00401000
> c:\a2\b.o(.text+0x17)://c/a2/b.cpp: undefined reference to `__main'
> c:\a2\b.o(.text+0x24)://c/a2/b.cpp: undefined reference to `printf'
>
> What am I missing?
>
> - I have installed MingW at c:\mingw
> - Dev-C++ is configuraed this way:
> - bin directory: c:\mingw\bin\
> - C include files c:\mingw\include\
> - C++ include files c:\mingw\include\
> - Libraries directory c:\mingw\lib\
>
> - OS: W2k
>
> Thanks a lot!
>
> --
> Jilani Khaldi
> http://space.tin.it/scuola/jkhaldi
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|