Re: Maemomm
- From: "Md. Golam Sarower" <golam sarower bjitgroup com>
- To: Paul Davis <pjdavis engineering uiowa edu>
- Cc: gtkmm-list gnome org
- Subject: Re: Maemomm
- Date: Mon, 25 Jun 2007 10:19:47 +0600
Dear paul,
I am very glad to get your mail. Now I am able to work in c++. but some
problem is creating there. Suppose I want to use the GDK/gc, pixmap etc.
but it shows some errors, like:
Gdk::Pixmap *pixmap;
Gdk::GC *gc;
Declare in constructor. It does not show error. but when i am going to
use the functions in the .cc files it shows error like:
Line 37 here:
gc = get_style()->get_fg_gc(get_state());
win.draw_pixmap(gc ,
pixmap,
event->area.x, event->area.y,
event->area.x, event->area.y,
event->area.width, event->area.height);
ScribbleDrawingArea.cc:37: error: cannot convert `Glib::RefPtr<Gdk::GC>'
to `Gdk::GC*' in assignment
ScribbleDrawingArea.cc:38: error: 'class Glib::RefPtr<Gdk::Window>' has
no member named 'draw_pixmap'
ScribbleDrawingArea.cc:40: error: invalid use of member (did you forget
the `&' ?)
ScribbleDrawingArea.cc:40: error: base operand of `->' is not a pointer
ScribbleDrawingArea.cc:40: error: invalid use of member (did you forget
the `&' ?)
ScribbleDrawingArea.cc:40: error: base operand of `->' is not a pointer
ScribbleDrawingArea.cc:41: error: invalid use of member (did you forget
the `&' ?)
ScribbleDrawingArea.cc:41: error: base operand of `->' is not a pointer
ScribbleDrawingArea.cc:41: error: invalid use of member (did you forget
the `&' ?)
ScribbleDrawingArea.cc:41: error: base operand of `->' is not a pointer
ScribbleDrawingArea.cc:42: error: invalid use of member (did you forget
the `&' ?)
ScribbleDrawingArea.cc:42: error: base operand of `->' is not a pointer
ScribbleDrawingArea.cc:42: error: invalid use of member (did you forget
the `&' ?)
ScribbleDrawingArea.cc:42: error: base operand of `->' is not a pointer
If you have any suggestion then please response ASAP.
Thanking you
Sarower
Paul Davis wrote:
On 6/6/07, Md. Golam Sarower <golam sarower bjitgroup com> wrote:
Hi,
I have been working on maemo for 2 months. I am very new in this
platform. I used to use the C language. Now i want to use C++ as the
programming language. Is it now possible to do it in full flexibility
than C?? If so then now what I have to do to set up the development
environment? I want to keep the previous set up use for C. I would be
very great full to you, if you assist me to this task.
Thanking
Sarower
Bangladesh
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
There appears to be a maemomm project. You'll probably get a good
start by reading the docs and examples about that.
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]