Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / utter new comer to linux

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. utter new comer to linux
#4187
Posted by: wxdebruce 2004-05-19 23:21:28
I am trying to get going with wx on mandrake 9.2.  I have been using it on windows and now want to try porting my code.

I have downloaded and unzipped the wxGTK-2.4.2.tar.gz
so that I now have wxGTK-2.4.2 directory sitting there doing nothing.
Basically I don't know what to do next.

One thing I tried to get something going was "make poem" from inside demos/poem/
Of course "#include <wx/wxprec.h>" doesn't work as it doesn't know where it is.  And all the nested includes are wrong aswell.

Is there an environment variable for include paths?

What ide do you recommend for getting this all nice and convenient?

THanks in advance,

Bruce
Message2. Re: utter new comer to linux
#4200
Posted by: upCASE 2004-05-21 15:00:15
Hi!
Well, first of all it sounds like you untared the archive and then... well, nothing :)
On Linux you will have to compile the libraries yourself, there is no precompiled "pack" or archive, at least none that I heard of. Check the INSTALL file located somewhere in your wx directory, this contains the needed info. Normally this should be an easy task like:
(in wx dir)
./configure --with-GTK (add other stuff here, call "configure --help" for all args)
(let configure run, this may take a while)
make
(let make do the job)
su
(type admin password)
make install

Once finished check if "wx-config" is found and if you can compile the samples.
For the IDE I'd suggest Anjuta, a very nice IDE with support for wxWidgets project templates. KDevelop seems to be famous too, but I never tried it.
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: utter new comer to linux
#4281
Posted by: yeohhs 2004-05-29 11:19:48

MinGWStudio (both Windows and Linux versions) also has support for wxWidgets projects.

The URL is:
http://www.parinya.ca/

Best Regards,
Yeoh
--
http://www.yeohhs.com
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2024-12-11  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0