From: John <john@rmts.donpac.ru> To: Mandrake <mandrake-russian@altlinux.ru> Subject: [mdk-re] wxWindow - помогите начинающему Date: Thu Jan 3 14:05:15 2002 Message-ID: <3C343C32.3070808@rmts.donpac.ru> (raw) Здравствуйте! Создал файл hello.cpp, в него написал #include <wx/wx.h> class HelloApp : public wxApp { virtual bool OnInit(); }; bool HelloApp::OnInit() { wxMessageBox("Text","Caption",wxOK|wxICON_INFORMATION, NULL); return true; } При компиляции получаю следующее [john@john wx]$ g++ hello.cpp `wx-config --libs` `wx-config --cflags` -o hello /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../crt1.o: In function `_start': /usr/lib/gcc-lib/i586-alt-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status Что делать? С уважением, Прокопьев Евгений
next reply other threads:[~2002-01-03 14:05 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-01-03 14:05 John [this message] 2002-01-03 18:21 ` Serge Skorokhodov 2002-01-04 8:15 ` John 2002-01-03 18:26 ` Kachalov Anton
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3C343C32.3070808@rmts.donpac.ru \ --to=john@rmts.donpac.ru \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git