#6 build problems

closed-out-of-date
nobody
None
5
2003-04-12
2002-08-09
Anonymous
No

Having build and execution problems.

When building on Solaris 8 using g++ 3.0.3 and Qt 3.0.5
I get loads of warnings:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/home/rjn/qt/include
-DQT_THREAD_SUPPORT -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -g -c
Draw.cpp
Draw.cpp: In member function `void
Draw::drawStates(Machine*, QPainter*, int,
int, double)':
Draw.cpp:111: warning: passing `double' for argument 1
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:111: warning: passing `double' for argument 2
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:111: warning: passing `double' for argument 3
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:111: warning: passing `double' for argument 4
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:113: warning: passing `double' for argument 1
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:113: warning: passing `double' for argument 2
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:113: warning: passing `double' for argument 3
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:113: warning: passing `double' for argument 4
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:118: warning: passing `double' for argument 1
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:118: warning: passing `double' for argument 2
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:118: warning: passing `double' for argument 3
of `void
QRect::setCoords(int, int, int, int)'
Draw.cpp:118: warning: passing `double' for argument 4
of `void
QRect::setCoords(int, int, int, int)'

Looks like you are trying to pass doubles to Qt methods
that take integers all over the place. It still builds
but then core dumps when you run it. First it core
dumped when it couldn't find a language file in .qfsm.
I don't know how that file is supposed to get there
but it doesn't. When I create a blank language file
things still core dump.

There appear to be a lot of problems with this package
but I would really like to use it.

Jim Nusbaum
rjn@predict.com

Discussion

  • Stefan Duffner

    Stefan Duffner - 2002-08-14
    • status: open --> open-accepted
     
  • Chris Pringle

    Chris Pringle - 2002-11-09

    Logged In: YES
    user_id=140957

    I've also had this problem. After altering about 10 or so
    bits and pieces just to get it to compile.

    Looks like a nice project...just want it to work on my box !! :)

     
  • Stefan Duffner

    Stefan Duffner - 2003-04-12
    • status: open-accepted --> closed-out-of-date
     

Log in to post a comment.