You are doing something wrong ...

Your build directory is E:/Projects/dialer/builds/0.2/debug
You source directory is E:/Projects/dialer/source/

it cannot work cause your build directory need to be in a sub folder of source ...

Please use build template file ....

To resume :

open a visual prompt  command line
verify that hg is in your PATH ( try 'hg --version')

hg clone http://hg.qutecom.org/qutecom-2.2
cd qutecom-2.2/build
build_nmake-debug.bat
nmake

Laurent

Le 22/03/10 00:14, Alaa Ayad a écrit :

That also doesn't work .. But I noticed message below when using the CMake, it is something related to the .hg file as if it is not found .. how to solve this now ?!

-- Found Mercurial (hg): C:/Program Files/TortoiseHg/hg.exe
abort: There is no Mercurial repository here (.hg not found)
CMake Warning (dev) at CMakeLists-owbuild.txt:13 (include):
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    E:/Projects/dialer/source/owbuild/owbuild/CMakeLists.txt

affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
  CMakeLists.txt:1 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- OS: Windows-6.1
-- Processor: x86
-- Compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC/bin/cl.exe
-- Build type: Debug
-- Build tool: nmake
-- Build directory: E:/Projects/dialer/builds/0.2/debug
-- svn revision:
-- Time: 20100322020905
CMake Warning (dev) at CMakeLists.txt:1 (include):
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH

On Mon, 22 Mar 2010 00:54:17 +0200, Alaa Ayad <[email protected]> wrote:

    The ".hg" folder is created automatically in the source path when
    I cloned the directory and selected the repository path
    http://hg.qutecom.org/qutecom-2.2 ... do I have to copy it also to
    the build path?

    I copied the hg.exe file to the build path, update the QuteCom
    source files to the latest using the TortoiseHg.
    Also I created a fresh nmake file using the CMake and now trying
    to build.

    I'm checking this now.

    Regards,
    Alaa

    On Sun, 21 Mar 2010 20:32:40 +0100, Laurent Tarrisse wrote:

        You need '.hg' forder AND the mercurial executable utility
        'hg' in your path during configure ( and build )

        Laurent

        Le 21/03/10 20:14, Alaa Ayad a écrit :

            I didn't touch the created .hg files in the source directory:

            E:\Projects\dialer\source>dir
             Volume in drive E is Data
             Volume Serial Number is BC59-D0B4

             Directory of E:\Projects\dialer\source

            20-03-2010  03:51 AM

                      .
            20-03-2010  03:51 AM              ..
            18-03-2010  01:32 AM              .hg
            14-03-2010  11:21 PM               157 .hgignore
            14-03-2010  11:21 PM               501 .hgtags
            14-03-2010  11:21 PM              build
            14-03-2010  11:21 PM               558 CMakeLists-owbuild.txt
            14-03-2010  11:21 PM             1,271 CMakeLists.txt
            14-03-2010  11:21 PM            18,219 COPYING
            14-03-2010  11:21 PM              crashreport
            14-03-2010  11:21 PM               859 DEBUGGING.txt
            14-03-2010  11:21 PM             4,371
            DefineCPackDefaults.cmake
            14-03-2010  11:21 PM               819
            DefineInstallationPaths.cmake
            14-03-2010  11:21 PM             2,861
            DefineWengoOptions.cmake
            14-03-2010  11:21 PM             9,275 Doxyfile
            14-03-2010  11:21 PM                 5 dummy.txt
            14-03-2010  11:21 PM             7,107 INSTALL.txt
            14-03-2010  11:21 PM              libs
            18-03-2010  01:43 AM              owbuild
            14-03-2010  11:21 PM             1,295 README
            14-03-2010  11:21 PM              scripts
            14-03-2010  11:22 PM              wengophone
            14-03-2010  11:22 PM               174 wengophone_lang.bat
            14-03-2010  11:22 PM              wifo
                          14 File(s)         47,472 bytes
                          10 Dir(s)  97,576,730,624 bytes free

            And this is the .hg folder included in the source directory:
            E:\Projects\dialer\source\.hg>dir
             Volume in drive E is Data
             Volume Serial Number is BC59-D0B4

             Directory of E:\Projects\dialer\source\.hg

            18-03-2010  01:32 AM

                      .
            18-03-2010  01:32 AM              ..
            14-03-2010  10:47 PM                57 00changelog.i
            17-03-2010  10:43 PM                 8 branch
            17-03-2010  10:41 PM                94 branchheads.cache
            17-03-2010  10:43 PM           735,941 dirstate
            14-03-2010  11:15 PM                90 hgrc
            14-03-2010  10:47 PM                23 requires
            20-03-2010  04:53 AM              store
            17-03-2010  10:41 PM               311 tags.cache
            18-03-2010  01:32 AM                 9 thgstatus
            17-03-2010  10:41 PM                 7 undo.branch
            17-03-2010  10:41 PM           735,941 undo.dirstate
                          10 File(s)      1,472,481 bytes
                           3 Dir(s)  97,576,730,624 bytes free

            Best Regards,
            Alaa

            On Sun, 21 Mar 2010 17:16:16 +0100, Laurent Tarrisse wrote:

                Le 21/03/10 17:05, Alaa Ayad a écrit :

                    No, do I have to remove it ?

                No,

                You need to have hg utility in your path when
                configure qutecom

                Laurent

                    Rgds,
                    Alaa

                    On Sat, 20 Mar 2010 23:22:23 +0100, Laurent
                    Tarrisse wrote:

                        Have you remove .hg folder ?

                        Laurent

                        Le 20/03/10 23:09, Alaa Ayad a écrit :

                            Ok, going back to the
                            http://hg.qutecom.org/qutecom-2.2 which I
                            was using first !
                            I'm still getting the same build problem
                            mentioned below.

                            Regards,
                            Alaa

                            On Sat, 20 Mar 2010 23:05:01 +0100,
                            Laurent Tarrisse wrote:

                                You are using the wrong trunk !

                                It is : http://hg.qutecom.org/qutecom-2.2

                                Laurent

                                Le 20/03/10 23:00, Alaa Ayad a écrit :

                                    Thanks Laurent, but now using the
                                    trunk version from:
                                    http://hg.qutecom.org/qutecom-coip

                                    I'm getting the following errors
                                    with CMake (it was asking first
                                    for the doxygen bin where I get it
                                    from www.doxygen.org
                                    <http://www.doxygen.org> and used
                                    the latest stable version
                                    (doxygen-1.6.3-setup.exe) :

                                    -- Qt4 with ActiveX (QAxContainer)
                                    support on
                                    -- ** QTDIR (see
                                    qtcore/CMakeLists.txt)= C:/Qt/4.6.2
                                    -- Qt4 with ActiveX (QAxContainer)
                                    support on
                                    CMake Warning (dev) at
                                    
owbuild/owbuild/OWFinishProjectBinary.cmake:43
                                    (add_definitions):
                                      Policy CMP0005 is not set:
                                    Preprocessor definition values are
                                    now escaped
                                      automatically.  Run "cmake
                                    --help-policy CMP0005" for policy
                                    details.  Use
                                      the cmake_policy command to set
                                    the policy and suppress this warning.
                                    Call Stack (most recent call first):
owbuild/owbuild/OWCreateProjectBinary.cmake:177
                                    (ow_finish_project_binary)
libs/purplewrapper/CMakeLists.txt:32
                                    (ow_create_project_binary)
                                    This warning is for project
                                    developers.  Use -Wno-dev to
                                    suppress it.

                                    -- Configuring incomplete, errors
                                    occurred!

                                    C:\Qt\4.6.2>

                                    Thanks again,
                                    Alaa

                                    On Sat, 20 Mar 2010 13:44:34
                                    +0100, Laurent Tarrisse wrote:

                                        I think you are using rc3
                                        bundle source.
                                        it is outdated.

                                        Please use trunk version.

                                        Laurent

                                        Le 20/03/10 13:25, Alaa Ayad a
                                        écrit :

                                            Any idea how to solve this ?!

                                            Build  stops due to some
                                            errors with
                                            WengoPhoneBuildId using
                                            the "nmake" command.

                                            I'm just trying to build
                                            from source with no
                                            modification on the
                                            original files, it looks
                                            like the problem is with:
                                            WengoPhoneBuildId.cpp &
                                            WengoPhoneBuildId.h

                                            Windows 7 & VS2008.

                                            ----------------------------------
                                            [ 56%] Built target
                                            owcrashrepor
                                            [ 57%] Built target psiidle
                                            [ 57%] Built target
                                            owserializer
                                            [ 57%] Built target
                                            owshlibloade
                                            [ 57%] Built target owsocket
                                            [ 57%] Built target netlib
                                            [ 58%] Built target amrnb
                                            [ 59%] Built target amrwb
                                            [ 61%] Built target speex
                                            [ 61%] Built target
                                            phspeexplugi
                                            [ 62%] Built target sfp-plugin
                                            [ 62%] Building CXX object
                                            
wengophone/src/buildid/CMakeFiles/owbuildid.dir/__/WengoPhoneBuildId.obj
                                            WengoPhoneBuildId.cpp
                                            E:\Alaa
                                            
Projects\CrestCall\dialer\source\wengophone\src\WengoPhoneBuildId.cpp(49)
                                            : warning C4003: not
                                            enough actual parameters
                                            for macro 'stringize2'
                                            E:\Alaa
                                            
Projects\CrestCall\dialer\source\wengophone\src\WengoPhoneBuildId.cpp(49)
                                            : error C2561:
                                            'WengoPhoneBuildId::getSvnRevision'
                                            : function must return a value
                                                    e:\alaa
                                            
projects\crestcall\dialer\source\wengophone\src\WengoPhoneBuildId.h(70)
                                            : see declaration of
                                            'WengoPhoneBuildId::getSvnRevision'
                                            NMAKE : fatal error U1077:
                                            
'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe'
                                            : return code '0x2'
                                            Stop.
                                            NMAKE : fatal error U1077:
                                            '"C:\Program
                                            Files\Microsoft Visual
                                            Studio
                                            9.0\VC\BIN\nmake.exe"' :
                                            return code '0x2'
                                            Stop.
                                            NMAKE : fatal error U1077:
                                            '"C:\Program
                                            Files\Microsoft Visual
                                            Studio
                                            9.0\VC\BIN\nmake.exe"' :
                                            return code '0x2'
                                            Stop.
                                            ----------------------------------

                                            Thanks in advance.

                                            
_______________________________________________
                                            QuteCom-dev mailing list
                                            [email protected]
                                            
http://lists.qutecom.org/mailman/listinfo/qutecom-dev








_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to