Re: Re: Trying to get it running with debian-unstable

Alexander Olk <[email protected]> Sun, 05 Sep 2004 18:59:41 +0200
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <1094403581.10129.9.camel@Dellkiste>
Am So, den 05.09.2004 schrieb Martin Kanich um 18:30:
> in between I checked, what make wxw really does - so I found out, that 
> libgtk2.0-dev is missing. Because of sid's unstable nature (and my 
> missing knowledge about package forcing), I had to build some libs from 
> source. So know I done everything like in manual.
> make wxw
> make wxnet
> make wxnet-install
> and tried to run those Samples - same error:

Hmm, strange. 

Does any of the normal wxWidgets samples work ???

You can build them with make wxnet-samples or directly in wxWidgets
sample directory.

Can you post your Defs.in ??

Another solution could be to completely remove your wxWidgets source dir
and extract wxWidgets (tgz, bz2, whatever) again.

Here is a Defs.in of a working wx.NET build (just change WXW_SOURCE_DIR
and WXW_INSTALL_DIR):

-------- snip --------
#####################################################################
# wx.NET build configuration for Linux. $(HOME) can be used to
# refer to your home directory (aka ~). You do not need to 
# quote any pathnames. Pathnames should not have any spaces in
# them.
#####################################################################

# Whether to include the StyledTextCtrl class, which is a
# wrapper around the Scintilla edit control. Cross-platform.
# No wx.NET sample. A screenshot of the wxWidgets sample:
# http://wxnet.sourceforge.net/screenshots/samples-wxw/linux-stc.png.
# For pointers to where the sample source/binary is located see:
# http://wxnet.sourceforge.net/manual/samples.html#wxw.
INCLUDE_STC = yes
# INCLUDE_STC = no

# Whether to include the XmlResource class, which provides a
# method of defining UI elements/layout in an XML file and then
# loading at runtime. See 
# http://www.wxwidgets.org/manuals/2.5.2/wx_xrcoverview.html for
# more information. A wx.NET port of the sample is available, named
# xrcdemo.
INCLUDE_XRC = yes
# INCLUDE_XRC = no

# The wx.Widgets top-level source folder. Only necessary if you
# plan on compiling wxWidgets using this build system. If you
# have already compiled or installed wxWidgets, you can ignore
# this setting and comment it out if you like.
WXW_SOURCE_DIR = $(HOME)/develop/wxwidgets/wxWidgets
# WXW_SOURCE_DIR = /usr/local/src/wxGTK-2.5.2

# A directory within WXW_SOURCE_DIR you want to build in. The
# default should be fine.
WXW_BUILD_SUB_DIR = wxNet-Build

# Any additional wxWidgets configure args you want to use when
# building wxWidgets. You probably don't need to use this.
WXW_EXTRA_CONFIG_ARGS = 

# Where you want wxWidgets to be installed or, if you have
# already built wxWidgets yourself, where it has been 
# installed. If you build wxWidgets, sub-directories will
# be created under this directory for include, lib, etc.
WXW_INSTALL_DIR = $(HOME)/packages/wx-widgets-2.5.3
# WXW_INSTALL_DIR = /usr/local/packages/wx-widgets-2.5.2

# Where you want wx.NET to be installed. Sub-directories will
# be created under this directory for bin and samples. THIS IS 
# OPTIONAL and will only be used if you do a "make wxnet-install"
# WXNET_INSTALL_DIR = $(HOME)/packages/wxnet
# WXNET_INSTALL_DIR = /usr/local/packages/wxnet

# What .NET package to use when compiling wx.NET and running
# it's samples? Should be one of "mono" or "pnet"
# DOTNET = pnet
DOTNET = mono

# Which type of release do you wish to make/compile against for 
# wxWidgets and wx.NET? Value should be one of Debug or Release. 
# You can have different values for each package.

WXW_CONFIG	= Release
# WXW_CONFIG	= Debug

# WXNET_CONFIG	= Release
WXNET_CONFIG	= Debug

-------- snip --------

Btw, what does make wxnet-show-config show ?

-- 
Alexander Olk



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click