On Wed, Dec 21, 2005 at 11:50:26AM +0200, Henrik Ingo wrote:
> Hi all
> 
> I've decided I want to compile WengoPhone (classic). So I now have VS2003 
> and Qt 3.3.5, Python, Scons etc.
> 
> The current revision (softphone-classic/trunk) doesn't even start to 
> compile, and it seems that somebody on the Linux side has managed to break 
> Scons so that it is trying to build Tars and rpms on Windows too...
> 
> 
> >scons softphone
> scons: Reading SConscript files ...
> rev:revunknown
> AttributeError: WengoSConsEnvironment instance has no attribute 'Tar':
>   File "SConstruct", line 57:
>     env.SConscript('SConscript')
>   File "C:\Python24\scons\SCons\Script\SConscript.py", line 508:
>     return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
>   File "C:\Python24\scons\SCons\Script\SConscript.py", line 239:
>     exec _file_ in stack[-1].globals
>   File "SConscript", line 55:
>     env.SConscript("rpm-installer/SConscript")
>   File "C:\Python24\scons\SCons\Script\SConscript.py", line 508:
>     return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
>   File "C:\Python24\scons\SCons\Script\SConscript.py", line 239:
>     exec _file_ in stack[-1].globals
>   File "rpm-installer\SConscript", line 7:
>     rpm_env.WengoBuildInDir("rpms/SOURCES/SConscript", 
>     "softphone/rpm-installer/
> rpms/SOURCES")
>   File "wengoscons\wengoscons\common\wengoenv.py", line 202:
>     duplicate = 1)
>   File "C:\Python24\scons\SCons\Script\SConscript.py", line 508:
>     return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
>   File "C:\Python24\scons\SCons\Script\SConscript.py", line 239:
>     exec _file_ in stack[-1].globals
>   File 
>   "build-wengo\win32-debug\softphone\rpm-installer\rpms\SOURCES\SConscript"
> , line 8:
>     target = rpm_env.Tar('wengophone-build.tar', root_path)

My fault; i added the include of the rpm script, and Tar() is not
available under Win32. It's now fixed at rev 3612 on the trunk.

> 
> 
> 
> 
> Trying with branches/1.0 the compilation starts, but apparently there 
> simply is a bug where compilation stops:
> 
> hone-classic\branches\1.0>scons softphone
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
> cl /nologo /Zm200 /EHsc /GX /GR -Zi /LDd -Gm /DEBUG -D_DEBUG /MDd /W3 /TP 
> /DDEBU
> G= /DENABLE_VIDEO= /DPHAPI_VIDEO_SUPPORT= /DQT_THREAD_SUPPORT= /DWIN32= 
> /Ibuild-
> wengo\win32-debug\libs\systemperf 
> /Ibuild-wengo\win32-debug\libs\systemperf\incl
> ude /IC:\Qt\3.3.5\include /IC:\Qt\3.3.5\include 
> /Ibuild-wengo\win32-debug\libs\v
> ideo /Ibuild-wengo\win32-debug\libs\webcam 
> /Ibuild-wengo\win32-debug\libs\webcam
> \include /Ibuild-wengo\win32-debug\libs\webcam_c 
> /Ibuild-wengo\win32-debug\libs\
> webcam_c\include /Ibuild-wengo\win32-debug\libs\ffmpeg\libavcodec 
> /Ibuild-wengo\
> win32-debug\libs\ffmpeg /Ibuild-wengo\win32-debug\libs\ffmpeg\libavutil 
> /Ibuild-
> wengo\win32-debug\libs\global /Ibuild-wengo\win32-debug\libs\global\include 
> /Ibu
> ild-wengo\win32-debug\libs\global\include\msvc 
> /Ibuild-wengo\win32-debug\libs\so
> und /Ibuild-wengo\win32-debug\libs\sound\include 
> /Ibuild-wengo\win32-debug\libs\
> portaudio /Ibuild-wengo\win32-debug\libs\portaudio\pa_common 
> /Ibuild-wengo\win32
> -debug\libs\vcard /Ibuild-wengo\win32-debug\libs\vcard\include 
> /Ibuild-wengo\win
> 32-debug\libs\vcard\include\generated 
> /Ibuild-wengo\win32-debug\wifo\exosip\phap
> i /Ibuild-wengo\win32-debug\wifo\exosip 
> /Ibuild-wengo\win32-debug\libs\trayicon
> /Ibuild-wengo\win32-debug\libs\util 
> /Ibuild-wengo\win32-debug\libs\util\include
> /Ibuild-wengo\win32-debug\libs\curl 
> /Ibuild-wengo\win32-debug\libs\curl\include
> /Ibuild-wengo\win32-debug\libs\curl\lib 
> /Ibuild-wengo\win32-debug\libs\iconset /
> Ibuild-wengo\win32-debug\libs\iconset\psipng 
> /Ibuild-wengo\win32-debug\libs\zip
> /Ibuild-wengo\win32-debug\libs\zip\minizip\win32 
> /Ibuild-wengo\win32-debug\libs\
> timer /Ibuild-wengo\win32-debug\libs\timer\include 
> /Ibuild-wengo\win32-debug\wif
> o\httptunnel /Ibuild-wengo\win32-debug\wifo\netlib 
> /Ibuild-wengo\win32-debug\wif
> o /Ibuild-wengo\win32-debug\softphone\gui 
> /Ibuild-wengo\win32-debug\softphone\gu
> i\database /Ibuild-wengo\win32-debug\softphone\gui\contact 
> /Ibuild-wengo\win32-d
> ebug\softphone\gui\connect /c 
> build-wengo\win32-debug\softphone\gui\main.cpp /Fo
> build-wengo\win32-debug\softphone\gui\main.obj
> main.cpp
> build-wengo\win32-debug\softphone\gui\main.cpp(130) : error C2664: 
> 'HttpRequest:
> :setProxy' : cannot convert parameter 1 from 'QString' to 'const 
> std::string &'
>         Reason: cannot convert from 'QString' to 'const std::string'
>         No constructor could take the source type, or constructor overload 
>         resol
> ution was ambiguous
> build-wengo\win32-debug\softphone\gui\main.cpp(133) : error C2664: 
> 'HttpRequest:
> :setProxy' : cannot convert parameter 1 from 'QString' to 'const 
> std::string &'
>         Reason: cannot convert from 'QString' to 'const std::string'
>         No constructor could take the source type, or constructor overload 
>         resol
> ution was ambiguous
> scons: *** [build-wengo\win32-debug\softphone\gui\main.obj] Error 2
> scons: building terminated because of errors.

It doesn't compile because you have a version of Qt that wasn't
compiled with RTTI. You need to recompile it with that feature.

Search the mailing list it has already been discussed a lot of times.

> 
> 
> This exact same thing also happens even if I try to checkout random 
> revisions from last week.
> 
> 
> Of course, I could go on and start fixing such bugs, but since at the 
> moment I do not know how many more bugs I will meet before getting through, 
> I was simply wondering, can somebody recommend a revision that is known to 
> compile?
> 
> If in fact the 1.0 branch should compile, is there something wrong with my 
> Qt setup that does this?

Yes, as i said above ;)

> 
> henrik, Finland
> 
> 
> -- 
> [EMAIL PROTECTED]
> +358-40-5697354
> 
> 
> _______________________________________________
> Wengophone-devel mailing list
> [email protected]
> http://dev.openwengo.com/mailman/listinfo/wengophone-devel

-- 
     David Ferlier -- [EMAIL PROTECTED]

      "Humor is mankind's greatest blessing."
              --  Mark Twain 
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to