Re: Owlboxer suggestions

45 views
Skip to first unread message

రాకేశ్వర రావు

unread,
Mar 14, 2010, 3:53:30 PM3/14/10
to w...@it-logistics.ru, Aleksey Sytchev, indi...@googlegroups.com
Hi Aleksey,

I have been trying to modify your OwlBoxer again. I successfully did it.
But what happened is that I am still unable to load the tiff plugin from plugins\imageformats.

Can you answer these questions for me.
Did you compile Owlboxer on Windows XP?
If you did so,
How did you configure Qt?
Did you configure Qt to build with -static?
You used MingW and not MSVC?

configure -platform win32-g++ -static qt-libtiff -qt-zlib

Will this work?

I have tried a thousand ways, to build Qt so that I can load the TIFF plugin . Please help me with just this.
As I told you I made Owlboxer take strings and not characters for each box. Which means I am not that bad, and can understand stuff. I am attaching my  modifications to Owlboxer. Can you see if this compiles on your machine with the Tiff Plugin.

I am getting these errors with these settings in the .pro file.
with QTPLUGIN += qtiff
and with LIBS += -L"C:/Qt/qt/plugins/imageformats" -lqtiff
c:/qt/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lqtiffd

collect2: ld returned 1 exit status


with LIBS += -L"C:/Qt/qt/plugins/imageformats" -lqtiffd4
undefined reference to `qt_plugin_instance_qtiff()'

Thanks a lot,
Rakesh

2009/9/26 Алексей Сычёв <194...@gmail.com>
There was line
#LIBS += -Lc:/Qt/2009.02/qt/plugins/imageformats/ -lqtiff
In your case it should be
LIBS += -Lc:/rakesh/qt/qt/plugins/imageformats/ -lqtiff #path to the tiff plugin
Try it.
--
Алексей Сычев

2009/9/26 Rakesh Achanta <rake...@gmail.com>:
> Hi Aleksey,
>
> Sorry to hear that you are busy. I have downloaded Qt SDk and have started
> working on owlboxer myself.
> But when I try to compile and build the project I get the following error
> with reference to QTPLUGIN += qtiff
>
> I am Using Windows XP. C:/rakesh/qt/ is where my qt is installed.
> I have tried all I can but I could not succeed.
>
> Running build steps for project OwlBoxer...
>
> Starting: C:/rakesh/qt/qt/bin/qmake.exe
> C:/rakesh/tesseract/owlboxer/OwlBoxer.pro -spec win32-g++ -r
>
> Exited with code 0.
>
> Starting: C:/rakesh/qt/mingw/bin/mingw32-make.exe -w
>
> mingw32-make: Entering directory `C:/rakesh/tesseract/owlboxer'
>
> C:/rakesh/qt/mingw/bin/mingw32-make -f Makefile.Debug
>
> mingw32-make[1]: Entering directory `C:/rakesh/tesseract/owlboxer'
>
> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o
> debug\OwlBoxer.exe object_script.OwlBoxer.Debug -L"c:\rakesh\qt\qt\lib"
> -lmingw32 -lqtmaind -lqtiffd -lQtGuid4 -lQtCored4
>
> mingw32-make[1]: Leaving directory `C:/rakesh/tesseract/owlboxer'
>
> mingw32-make: Leaving directory `C:/rakesh/tesseract/owlboxer'
>
> C:\rakesh\qt\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
> cannot find -lqtiffd
>
> collect2: ld returned 1 exit status
>
> mingw32-make[1]: *** [debug\OwlBoxer.exe] Error 1
>
> mingw32-make: *** [debug] Error 2
>
> Exited with code 2.
>
> Error while building project OwlBoxer
>
> When executing build step 'Make'
>
> This is the .pro file I have.
> # -------------------------------------------------
>
> # Project created by QtCreator 2009-04-23T08:57:36
>
> # -------------------------------------------------
>
> TARGET = OwlBoxer
>
> TEMPLATE = app
>
> #LIBS += -Lc:/rakesh/qt/qt/plugins/imageformats/ -lqtiff
>
> SOURCES += main.cpp \
>
> mainwindow.cpp \
>
> owlboxer.cpp \
>
> boxlist.cpp \
>
> owlscrollarea.cpp \
>
> hexmodule.cpp
>
> HEADERS += mainwindow.h \
>
> owlboxer.h \
>
> boxlist.h \
>
> owlscrollarea.h \
>
> hexmodule.h
>
> QTPLUGIN += qtiff
>
> RESOURCES = owlboxer.qrc
>
> Could you please tell me where I am going wrong?
>
> Once I can compile and Build this, I can make the required change to
> associate a string with a box as opposed to a character.
>
> Thanks a lot for this help.
> Rakesh

owlboxer.zip

74yrs old

unread,
Mar 14, 2010, 11:55:47 PM3/14/10
to indi...@googlegroups.com, Алексей Сычёв
Dear Rakesh, /Aleksey

I am really happy to note that you still trying to improve Owlboxer with help of Aleksey. I noticed you are re-compiling in MingW.whereas Aleksey's Owlboxer.exe was developed in winXP and run satisfactorily eventhough I have not installed MingW.
As such I think you should have built in Visual Studio. But I am not Programmer nor developer - only using logic. In case if you succeeded to rebuilt in VS then well and good.
Now I wanted to download your zip file for testing. Before downloading I wanted to make sure whether it will work in WinXP in which MingW have not installed - please confirm?
Have you tried tesseract r319( i.e. version 3.0)and have you succeeded to generate Telugu data files?

I hope Aleksey  will guide you

With Choicest Blessings,
-sriranga(77yrsold)
---------------------------------------------------------------------------------translated in Russian----------------------------------
Дорогой Rakesh,/Aleksey

Я действительно счастлив отметить что Вы все еще пробующий улучшить Owlboxer с помощью Aleksey. Я заметил, что Вы повторно собираете в Owlboxer.exe Мингв.вэриса Алексей, был развит в winXP и бежал удовлетворительно eventhough, я не установил MingW.
Также я думаю, что Вы должны были строить в Визуальной Студии. Но я не Программист, ни разработчик - только использование логики. В случае, если, если Вы преуспели к восстановленному в ПРОТИВ тогда хорошо и хороший.
Теперь я хотел загрузить ваш файл почтового индекса для испытания. Перед разгрузкой я хотел удостовериться, будет ли это работать в WinXP, в котором MingW не установили - пожалуйста подтвердите?
Вы пробовали tesseract r319 (то есть версия 3.0), и Вы преуспели, чтобы произвести Телугу картотеки данных?

Я надеюсь, что Алексей будет вести Вас

С Благословениями Choicest,
-sriranga (77yrsold)
-----------------------------------------------------------------------------------------------------------------------------------------
2010/3/15 రాకేశ్వర రావు <rake...@gmail.com>
Reply all
Reply to author
Forward
0 new messages