[Developers] Re: compiling opendtect on windows

sami jan sami.jan at gmail.com
Fri Feb 1 23:48:05 CET 2008


After putting in the path for QTDIR (and checking for correct paths in
make.od.Dirs, running make gives me the following (fails to build
uiBase.lib/dll)

<snip>

"make[1]: [/home/Administrator/ODWork/lib/win/G/uiBase.lib(i_q4listbox.moc.o)]
Er
ror 1 (ignored)
make[1]: [/home/Administrator/ODWork/lib/win/G/uiBase.lib(i_q4listbox.moc.o)] Er
ror 1 (ignored)
Ranlib on uiBase.lib ...
ranlib: '/home/Administrator/ODWork/lib/win/G/uiBase.lib': No such file
make[1]: [/home/Administrator/ODWork/lib/win/G/uiBase.lib] Error 1 (ignored)
Creating /home/Administrator/ODWork/lib/win/G/uiBase.dll ...
make[1]: [/home/Administrator/ODWork/lib/win/G/uiBase.dll] Error 1 (ignored)
  Done !
make[1]: Leaving directory `/home/Administrator/ODWork/src/uiBase'
        Making uiTools ....
make[1]: Entering directory `/home/Administrator/ODWork/src/uiTools'
  Making uiTools / win (Feb  2 03:39:55) DEBUG=yes.
make[1]: *** No rule to make target `/home/Administrator/ODWork/lib/win/G/uiBase
.dll', needed by `/home/Administrator/ODWork/bin/win/G/HtmlViewer'.  Stop.
make[1]: Leaving directory `/home/Administrator/ODWork/src/uiTools'
make: *** [uiTools.src] Error 2"



On 2/2/08, sami jan <sami.jan at gmail.com> wrote:
> > 1. Are the " .... (uisplashscreen.o)] Error 1 (ignored)" messages fatal?
> > 2. Why does the attempt at "moc-ing" fail?
>
> not sure about 1. but figured out 2. - you need to set OD_QTDIR to
> point to your QT installation
>
> On 2/2/08, sami jan <sami.jan at gmail.com> wrote:
> > I am trying to compile OD on windows
> >
> > I am using cygwin installed via the OD cygwin installer
> >
> > I have QT 4.3.3 (commercial eval version) - the rest of the libraries
> > are as recommended in the programmer's manual - I have the QTDIR var
> > set correctly
> >
> > I used the "create dev env" menu item in OD to create
> > "/home/Administrator/ODWork"
> >
> > When I run make over here I get the following:
> >
> > <snip>
> >
> > make[1]: Leaving directory `/home/Administrator/ODWork/src/MPEEngine'
> >         Making Well ....
> > make[1]: Entering directory `/home/Administrator/ODWork/src/Well'
> >   Making Well / win (Feb  2 01:34:24) DEBUG=yes.
> >   Done !
> > make[1]: Leaving directory `/home/Administrator/ODWork/src/Well'
> >         Making uiBase ....
> > make[1]: Entering directory `/home/Administrator/ODWork/src/uiBase'
> >   Making uiBase / win (Feb  2 01:34:24) DEBUG=yes.
> > Compiling i_layout.cc ...
> > make[1]: [/home/Administrator/ODWork/lib/win/G/uiBase.lib(i_layout.o)] Error 1 (
> > ignored)
> > make[1]: [/home/Administrator/ODWork/lib/win/G/uiBase.lib(i_layout.o)] Error 1 (
> > ignored)
> >
> > <snip>
> >
> > Compiling uisplashscreen.cc ...
> > make[1]: [/home/Administrator/ODWork/lib/win/G/uiBase.lib(uisplashscreen.o)] Err
> > or 1 (ignored)
> > make[1]: [/home/Administrator/ODWork/lib/win/G/uiBase.lib(uisplashscreen.o)] Err
> > or 1 (ignored)
> >
> > Moc-ing i_qbutton.h ...
> > make[1]: *** [i_qbutton.moc.cc] Error 127
> > make[1]: Leaving directory `/home/Administrator/ODWork/src/uiBase'
> > make: *** [uiBase.src] Error 2
> >
> >
> > I have 2 qs
> >
> > 1. Are the " .... (uisplashscreen.o)] Error 1 (ignored)" messages fatal?
> > 2. Why does the attempt at "moc-ing" fail?
> >
> > Has anyone else run into this before?
> >
> > Thanks
> >
> > Sami
> >
>




More information about the Developers mailing list