Discussion:
[Pixil-devel] help
Chang
2004-08-23 18:38:51 UTC
Permalink
Hi,

I'm new to Pixil. Currently trying to integrate ViewML into a ucLinux embedded system.
Need help here. Can anyone point me in the right direction?

1. Reference to the newest ViewML distribution what's the latest gcc cross compiler plus bin utils that
have been known to compile fine with it and flnx and where can I download them? There wasn't much threads in the mailing list
correspondence to help me. Last read that gcc-2.9-6 works - that was the general poll.

2. From some of the threads seem like compilation is a nightmare. Can anyone give me some directions
(prob someone who had tried compiling in a similar environment) as to what to look out for and compile
this thing with the path of least resistance?

3. If pt 2 is too long for anyone to type, is there anywhere like a archive that actually talks about this?

I really need to get this up quick.
Any help will be very much appreciate!

Chang
Greg Haerr
2004-08-23 19:23:07 UTC
Permalink
The bottom line on the current open PIXIL distribution is that
it compiles up and works great with gcc 2.96. If you are trying
to use one of the new compilers, such as 3.x, there are quite
a few mods that need to be made, since the GCC guys
don't know a damn thing about backwards compatibility.

I think the for-sale version of PIXIL includes support for the newer
compilers, but nobody has contributed gcc 3.x fixes, and
Century unfortunately can't afford contributions and free support to
the project, which is why it was released completely as open source.

Regards,

Greg
----- Original Message -----
From: Chang
To: pixil-***@pixil.org
Sent: Monday, August 23, 2004 12:38 PM
Subject: [Pixil-devel] help


Hi,

I'm new to Pixil. Currently trying to integrate ViewML into a ucLinux embedded system.
Need help here. Can anyone point me in the right direction?

1. Reference to the newest ViewML distribution what's the latest gcc cross compiler plus bin utils that
have been known to compile fine with it and flnx and where can I download them? There wasn't much threads in the mailing list
correspondence to help me. Last read that gcc-2.9-6 works - that was the general poll.

2. From some of the threads seem like compilation is a nightmare. Can anyone give me some directions
(prob someone who had tried compiling in a similar environment) as to what to look out for and compile
this thing with the path of least resistance?

3. If pt 2 is too long for anyone to type, is there anywhere like a archive that actually talks about this?

I really need to get this up quick.
Any help will be very much appreciate!

Chang
Yoshio Kashiwagi
2004-08-24 01:05:14 UTC
Permalink
Hi,

I also had the same problem just last week.
Using gcc-3.2, if a source code is corrected by the following
processes, compile errors will be solved.

1. Correct difference in STL part.
(1) std:: is added to string, vector, stack, and a map base class.
Ex) src/fltk/qstring.h

-class QString : public string
+class QString : public std::string
{
protected:
bool m_bNull;
public:
QString() { m_bNull = true; }
QString(int x) { m_bNull = true; }
- QString(const string & s) { assign(s.c_str()); m_bNull = false; }
+ QString(const std::string & s) { assign(s.c_str()); m_bNull = false; }
QString(const QString & s) { assign(s.c_str()); m_bNull = false;}
QString(const char * c) { if(c) assign(c); m_bNull = false;}

(2) Implicit typename
Ex) src/fltk/qdict.h

virtual void clear()
{
- map<string,T*>::iterator pos;
+ typename std::map<std::string,T*>::iterator pos;
if(m_bAutoDelete) {
for(pos=m_Map.begin(); pos != m_Map.end(); ++pos)
delete pos->second;
}
m_Map.clear();
}

Best regards,

Yoshio
Post by Chang
Hi,
I'm new to Pixil. Currently trying to integrate ViewML into a ucLinux embedded system.
Need help here. Can anyone point me in the right direction?
1. Reference to the newest ViewML distribution what's the latest gcc
cross compiler plus bin utils that
Post by Chang
have been known to compile fine with it and flnx and where can I download
them? There wasn't much threads in the mailing list
Post by Chang
correspondence to help me. Last read that gcc-2.9-6 works - that was the general poll.
2. From some of the threads seem like compilation is a nightmare. Can
anyone give me some directions
Post by Chang
(prob someone who had tried compiling in a similar environment) as to
what to look out for and compile
Post by Chang
this thing with the path of least resistance?
3. If pt 2 is too long for anyone to type, is there anywhere like a
archive that actually talks about this?
Post by Chang
I really need to get this up quick.
Any help will be very much appreciate!
Chang
______________________________________________________________________
_______________________________________________
Pixil-devel mailing list
http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel
Joshua Low
2004-08-26 03:59:16 UTC
Permalink
Dear Yoshio,

Thanks for the tip. Right now however, I am facing the other end of the
problem. I am currently using gcc-2.95.3, doing cross compiling to the
arm-elf platform. However, I get stuck with the following error message:

Fluid_Image.cxx: In method `pixmap_image::pixmap_image(const char *, FILE
*)':
Fluid_Image.cxx:159: internal error--unrecognizable insn:
(insn 1242 1239 1227 (set (reg:QI 4 r4)
(mem:QI (plus:SI (reg:SI 2 r2)
(const_int -2256 [0xfffff730])) 0)) -1 (nil)
(nil))
make[1]: *** [Fluid_Image.o] Error 1
make[1]: Leaving directory `/work/flnx/fluid'

Has anyone encountered this error? I do not see any illegitimate code in
this file in flnx-0.18.

Also, I cannot seem to find a gcc for arm-elf that is version 2.96. This is
probably because of the fact that 2.96 was never meant to be a formal GCC
release as stated in http://gcc.gnu.org/gcc-2.96.html.

So can anyone help?

Regards,
Joshua Low

-----Original Message-----
From: pixil-devel-***@pixil.org
[mailto:pixil-devel-***@pixil.org]On Behalf Of Yoshio Kashiwagi
Sent: 24 August 2004 09:05
To: Chang
Cc: pixil-***@pixil.org
Subject: Re: [Pixil-devel] help


Hi,

I also had the same problem just last week.
Using gcc-3.2, if a source code is corrected by the following
processes, compile errors will be solved.

1. Correct difference in STL part.
(1) std:: is added to string, vector, stack, and a map base class.
Ex) src/fltk/qstring.h

-class QString : public string
+class QString : public std::string
{
protected:
bool m_bNull;
public:
QString() { m_bNull = true; }
QString(int x) { m_bNull = true; }
- QString(const string & s) { assign(s.c_str()); m_bNull = false; }
+ QString(const std::string & s) { assign(s.c_str()); m_bNull = false; }
QString(const QString & s) { assign(s.c_str()); m_bNull = false;}
QString(const char * c) { if(c) assign(c); m_bNull = false;}

(2) Implicit typename
Ex) src/fltk/qdict.h

virtual void clear()
{
- map<string,T*>::iterator pos;
+ typename std::map<std::string,T*>::iterator pos;
if(m_bAutoDelete) {
for(pos=m_Map.begin(); pos != m_Map.end(); ++pos)
delete pos->second;
}
m_Map.clear();
}

Best regards,

Yoshio
Post by Chang
Hi,
I'm new to Pixil. Currently trying to integrate ViewML into a ucLinux embedded system.
Need help here. Can anyone point me in the right direction?
1. Reference to the newest ViewML distribution what's the latest gcc
cross compiler plus bin utils that
Post by Chang
have been known to compile fine with it and flnx and where can I download
them? There wasn't much threads in the mailing list
Post by Chang
correspondence to help me. Last read that gcc-2.9-6 works - that was the general poll.
2. From some of the threads seem like compilation is a nightmare. Can
anyone give me some directions
Post by Chang
(prob someone who had tried compiling in a similar environment) as to
what to look out for and compile
Post by Chang
this thing with the path of least resistance?
3. If pt 2 is too long for anyone to type, is there anywhere like a
archive that actually talks about this?
Post by Chang
I really need to get this up quick.
Any help will be very much appreciate!
Chang
______________________________________________________________________
_______________________________________________
Pixil-devel mailing list
http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel
Yoshio Kashiwagi
2004-08-27 04:03:15 UTC
Permalink
Joshua-san,

Though regrettable, I do not have solution to the following problems.
It seems to be the problem of the "unrecognizable insn" bug of a
compiler.

Best regards,

Yoshio
Post by Joshua Low
Dear Yoshio,
Thanks for the tip. Right now however, I am facing the other end of the
problem. I am currently using gcc-2.95.3, doing cross compiling to the
Fluid_Image.cxx: In method `pixmap_image::pixmap_image(const char *, FILE
(insn 1242 1239 1227 (set (reg:QI 4 r4)
(mem:QI (plus:SI (reg:SI 2 r2)
(const_int -2256 [0xfffff730])) 0)) -1 (nil)
(nil))
make[1]: *** [Fluid_Image.o] Error 1
make[1]: Leaving directory `/work/flnx/fluid'
Has anyone encountered this error? I do not see any illegitimate code in
this file in flnx-0.18.
Also, I cannot seem to find a gcc for arm-elf that is version 2.96. This is
probably because of the fact that 2.96 was never meant to be a formal GCC
release as stated in http://gcc.gnu.org/gcc-2.96.html.
So can anyone help?
Regards,
Joshua Low
-----Original Message-----
Sent: 24 August 2004 09:05
To: Chang
Subject: Re: [Pixil-devel] help
Hi,
I also had the same problem just last week.
Using gcc-3.2, if a source code is corrected by the following
processes, compile errors will be solved.
1. Correct difference in STL part.
(1) std:: is added to string, vector, stack, and a map base class.
Ex) src/fltk/qstring.h
-class QString : public string
+class QString : public std::string
{
bool m_bNull;
QString() { m_bNull = true; }
QString(int x) { m_bNull = true; }
- QString(const string & s) { assign(s.c_str()); m_bNull = false; }
+ QString(const std::string & s) { assign(s.c_str()); m_bNull = false; }
QString(const QString & s) { assign(s.c_str()); m_bNull = false;}
QString(const char * c) { if(c) assign(c); m_bNull = false;}
(2) Implicit typename
Ex) src/fltk/qdict.h
virtual void clear()
{
- map<string,T*>::iterator pos;
+ typename std::map<std::string,T*>::iterator pos;
if(m_bAutoDelete) {
for(pos=m_Map.begin(); pos != m_Map.end(); ++pos)
delete pos->second;
}
m_Map.clear();
}
Best regards,
Yoshio
Post by Chang
Hi,
I'm new to Pixil. Currently trying to integrate ViewML into a ucLinux
embedded system.
Post by Chang
Need help here. Can anyone point me in the right direction?
1. Reference to the newest ViewML distribution what's the latest gcc
cross compiler plus bin utils that
Post by Chang
have been known to compile fine with it and flnx and where can I download
them? There wasn't much threads in the mailing list
Post by Chang
correspondence to help me. Last read that gcc-2.9-6 works - that was the
general poll.
Post by Chang
2. From some of the threads seem like compilation is a nightmare. Can
anyone give me some directions
Post by Chang
(prob someone who had tried compiling in a similar environment) as to
what to look out for and compile
Post by Chang
this thing with the path of least resistance?
3. If pt 2 is too long for anyone to type, is there anywhere like a
archive that actually talks about this?
Post by Chang
I really need to get this up quick.
Any help will be very much appreciate!
Chang
______________________________________________________________________
_______________________________________________
Pixil-devel mailing list
http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel
_______________________________________________
Pixil-devel mailing list
http://www.pixil.org/cgi-bin/mailman/listinfo/pixil-devel
Joshua Low
2004-08-30 11:26:02 UTC
Permalink
Dear all,

I noticed that there were earlier users who had this problem, but nobody
seemed to have provided a satisfactory answer...

I am cross-compiling viewml using a cross-compiler based on GCC-2.95.3. I am
using Microwindows 0.90, FLNX 0.18, and ViewML 0.23. I got an error message
that says:

In file included from fltk/nxscrollbar.h:4,
from fltk/qscrollbar.h:6,
from htmlview.h:30,
from html.h:55,
from html.cpp:42:
fltk/nxslider.h:8: par.h: No such file or directory

I do not seem to have this file, and it doesn't seem to be part of any
standard library. Where should I get this file from?

Regards,
Joshua Low
Greg Haerr
2004-09-12 22:47:27 UTC
Permalink
: fltk/nxslider.h:8: par.h: No such file or directory

The par.h file is part of the the PIXIL source tree, which
is available at www.pixil.org. Unfortunately, the standalone
version of ViewML seems to require this file. This is because
we added a fancier slider bar to the ViewML UI. Check
pixil/include, it should be in there.

Regards,

Greg

Loading...