Can't compile moto4lin
As per the directions at http://moto4lin.sourceforge.net/wiki/SVN_Installation, I am trying to compile moto4lin with QT3.3 (it mentions that 3.3.6 works well, but not required; it merely says QT3.3 or newer but older then QT4), but when I try to compile, I get the following error:
Code:
$ cd moto4lin Code:
$ /usr/lib/qt3/bin/qmake -v |
make[1]: Entering directory `/home/arklinux/moto4lin/moto_ui'
/usr/lib/qt4/bin/uic form1_base.ui -o ui/ui_form1_base.h Not sure fully what the problem is, but I do notice in the MAKE command being issued above, that the build process is looking for /usr/lib/qt4/bin/uic despite the fact that the instructions specify qt3. Have you tried adding the qt3 directory on your machine, to the beginning of your path, as per the instructions? Never know, it may help.. Something like: # export PATH="/path/to/qt3/dir/here:$PATH" should work. Do that before running the make process. Of course, substitute in the real path to your qt-3.3 directory. Good luck! |
Thanks, the 'export PATH' got it most of the way compiled. I'm not sure if anybody can help with this next problem (since it's probably related mainly to moto4lin itself and not to make), but it wouldn't hurt to at least try:
Code:
from moto_ui/form1.cpp:41: |
The error seems to actually be pointing at the header file p2kproc.h on line 151.
Check there and see if that looks odd.. The cpp file you looked in included the header file, though it may not use everything in it. I'm not any sort of C expert (far from it-- maybe some day) but do tell if this leads anywhere. |
I wasn't even paying attention to what was below the error I was looking at :/
Here's line 115: Code:
devlst[0].product=0x00; Here's the section that starts on line 151: Code:
{ |
Oops! I did not notice either, that TWO different line numbers were referred to in the errors you posted.
How about posting the areas around the lines in question, say something like 100 - 125 and 140 - 160 from that header file. The stuff in there may be beyond my own ability to decipher the problem, but if someone is to be able to help, it would be best to see in context, the whole areas in question. Sasha |
Lines 100-125:
Code:
myDev; Code:
void setATconfig (unsigned int vendor, unsigned int product); |
All times are GMT -5. The time now is 07:26 PM. |