I've taken to my mind that I really ought to get around to learning
C++ and wxWindows(having played a little with wxPerl and wxPython).
I've not done any significant c++ programming in 8 years, and that was
just college, so... :)
So, I've been running through various tutorials, and making good
headway and such, so I thought I'd try out DialogBlocks. So far I'm
very impressed with the tool, though I've found it to be somewhat
quirky even on simple dialogs (I've not tried anything more
complicated yet)
My question is, when I compile the output from DialogBlocks (using
Dev-C++) I'm getting strange errors ::
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\briana\My
Documents\WORK\dialogs\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\briana\My
Documents\WORK\dialogs\Makefile.win" all
g++.exe -c test1.cpp -o test1.o -I"C:/Dev-Cpp/include/c++"
-I"C:/Dev-Cpp/include/c++/mingw32"
-I"C:/Dev-Cpp/include/c++/backward" -I"C:/Dev-Cpp/include"
In file included from C:/Dev-Cpp/include/wx/wxprec.h:13,
from test1.cpp:12:
C:/Dev-Cpp/include/wx/defs.h:174: redeclaration of C++ built-in type
`bool'
In file included from C:/Dev-Cpp/include/wx/memory.h:20,
from C:/Dev-Cpp/include/wx/object.h:25,
from C:/Dev-Cpp/include/wx/wx.h:16,
from test1.cpp:21:
C:/Dev-Cpp/include/wx/string.h:164:4: #error "Please define string
case-insensitive compare for your OS/compiler"
test1.cpp: In member function `void test1::CreateControls()':
test1.cpp:66: `wxXmlResource' undeclared (first use this function)
test1.cpp:66: (Each undeclared identifier is reported only once for
each
function it appears in.)
test1.cpp:66: parse error before `::' token
make.exe: *** [test1.o] Error 1
Execution terminated
I'm assuming I have set something up wrong, or perhaps the mingw
compiler can't handle the output from DialogBlocks somehow (though I
doubt the latter).
Any suggestions? I've searched google for the term 'DialogBlocks' and
turned up nothing for this newsgroup, so I guess I must be the only
one having this problem.
Also, I have cygwin installed on the machine (fully updated about 3
weeks ago), in case that matters somehow.
Thanks in advance,
Brian J. Ackermann
Should I perhaps not be using dev-C++?
It seems a great tool, but I may be depending on it too heavily. Do I
need to compile wxWindows myself? Will that take care of this issus?
Thanks,
Brian
Julian Smart wrote:
> At 13:42 06/06/2003 -0500, you wrote:
>
>>> test1.o(.text+0x25f):test1.cpp: undefined reference to
>>> `wxXmlResource::Get()'
>>> test1.o(.text+0x267):test1.cpp: undefined reference to
>>> `wxXmlResource::LoadDialog(wxDialog*, wxWindow*, wxString const&)'
>>
>
> Aha, you'll need to compile wxXRC (see contrib/src/xrc), or instead
> you could just generate plain C++ (switch off "Generate C++ for XRC").
>
> Glad you fixed most of the problems.
>
> Regards,
>
> Julian
> =========================================================================
> Julian Smart mailto:julian...@btopenworld.com
> 3 Water Street, Stamford, www.anthemion.co.uk
> Lincs, U.K., PE9 2NJ +44 (0)1780 765976
> StoryLines: story structuring www.storylinescentral.com
> HelpBlocks: HTML help authoring www.helpblocks.com
> DialogBlocks: cross-platform dialogs www.anthemion.co.uk/dialogblocks
> =========================================================================
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-u...@lists.wxwindows.org
> For additional commands, e-mail: wx-use...@lists.wxwindows.org
>
>
The new question I have is that the application does nothing. It just
terminates immediately. File size is 2,037 KB, so I assume it wants to
do something...
This is all DialogBlocks now, I think, but probably it will end up my
fault again...I'm ready for it. :)
Perfect. Now I get rid of all that flashing.
--
Thanks,
Conrad mailto:min...@mediasoft.net
Friday, June 6, 2003, 6:34:35 PM, you wrote:
VZ> On Fri, 6 Jun 2003 18:29:09 -0400 Conrad <min...@mediasoft.net> wrote:
C>> Is there a mechanism or if not, what's the best way to update selected
C>> rows in a virtual wxListControl? In MFC there's a function
C>> specifically to repaint particular rows ( RedrawItems(First,Last) ).
VZ> In wxWindows there is RefreshItems().
VZ> VZ
VZ> ---------------------------------------------------------------------
VZ> To unsubscribe, e-mail: wx-users-u...@lists.wxwindows.org
VZ> For additional commands, e-mail: wx-use...@lists.wxwindows.org