Return-Path: X-Original-To: apmail-incubator-celix-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-celix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D82EE0F6 for ; Fri, 1 Feb 2013 14:54:18 +0000 (UTC) Received: (qmail 92392 invoked by uid 500); 1 Feb 2013 14:54:18 -0000 Delivered-To: apmail-incubator-celix-dev-archive@incubator.apache.org Received: (qmail 92302 invoked by uid 500); 1 Feb 2013 14:54:16 -0000 Mailing-List: contact celix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: celix-dev@incubator.apache.org Delivered-To: mailing list celix-dev@incubator.apache.org Received: (qmail 92268 invoked by uid 99); 1 Feb 2013 14:54:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2013 14:54:15 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=5.0 tests=MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.11.253.100] (HELO SPFDEFRA01.capgemini.com) (194.11.253.100) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2013 14:54:09 +0000 X-IronPort-AV: E=Sophos;i="4.84,579,1355094000"; d="scan'208";a="425809397" Received: from unknown (HELO mxisogfr1.fr.sogeti.com) ([10.226.3.130]) by IRDEFRA-C650-01-D2-incoming.capgemini.com with ESMTP; 01 Feb 2013 15:53:48 +0100 Received: from fr380108004 (fr-38-01-08-004.so.fr.ad.sotranet.net [10.226.174.101]) by mxisogfr1.fr.sogeti.com (Postfix) with ESMTP id 96265320008 for ; Fri, 1 Feb 2013 15:53:47 +0100 (CET) From: "Lionel BELLER" To: References: <510b829a.05e6440a.26f4.ffffa620SMTPIN_ADDED_BROKEN@mx.google.com> <510b9b69.294e420a.783d.6400SMTPIN_ADDED_BROKEN@mx.google.com> <510bcc54.6654420a.3865.0466SMTPIN_ADDED_BROKEN@mx.google.com> In-Reply-To: Subject: RE: celix example under windows Date: Fri, 1 Feb 2013 15:53:47 +0100 Message-ID: <002601ce008b$f0d5ca40$d2815ec0$@beller@sogeti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac4AhtkzoltPqfr2RmiEx1ytod2SdAAAXhnw Content-Language: fr X-Virus-Checked: Checked by ClamAV on apache.org Well, this works indeed. Thanks! Just to let you know, during the visual studio compilation, I had = functions already defined conflict. To solve it, I commented them in the visual = studio headers, WinNT.h and BaseTsd.h. Those functions are Handle64ToHandle, HandleToHandle64, Ptr64ToPtr, PtrToPtr64, Int64ShllMod32, = Int64ShraMod32, and Int64ShrlMod32. -----Message d'origine----- De=A0: Alexander Broekhuis [mailto:a.broekhuis@gmail.com]=20 Envoy=E9=A0: vendredi 1 f=E9vrier 2013 15:14 =C0=A0: celix-dev@incubator.apache.org Objet=A0: RE: celix example under windows Hi, I am not at a pc at this moment. But I think I can help. Op 1 feb. 2013 15:08 schreef "Lionel BELLER" = het volgende: > > Found APR: D:/celix/apr-1.4.6/Release/libapr-1.lib > Found CPack at: C:/Program Files/CMake 2.8/bin/cpack.exe No JAR=20 > support, generated bundles are not usable for Apache ACE Found CPack=20 > at: C:/Program Files/CMake 2.8/bin/cpack.exe CMake Error at=20 > cmake/Packaging.cmake:140 (get_property): > get_property could not find TARGET chapter04-paint-example. Perhaps = > it has > not yet been created. > Call Stack (most recent call first): > examples/osgi-in-action/chapter04-paint-example/deploy.cmake:18 = (deploy) > cmake/Packaging.cmake:198 (include) > CMakeLists.txt:62 (deploy_targets) > > Any clue? I think you can safely comment the deploy line in the deploy.cmake file = in the paint example directory. If this doesn't help I will look into it when at my pc again. Ps: The jar comment can be ignored. It is just a notice. > > > -----Message d'origine----- > De : Alexander Broekhuis [mailto:a.broekhuis@gmail.com] Envoy=E9 :=20 > vendredi 1 f=E9vrier 2013 12:18 =C0 : celix-dev@incubator.apache.org = Objet=20 > : RE: celix example under windows > > Hi, > > Op 1 feb. 2013 11:39 schreef "Lionel BELLER"=20 > het > volgende: > > > > Thanks a lot for the quick response. > > > > I=92m using the celix release, the one directly downloadable on the=20 > > site. I have tried to get the celix on the trunk, but there was some = > > SVN > connection > > issues. I haven=92t really looked into it. > > The trunk has already been updated to compile on Windows. > > > > > Anyway I have managed to compile the released version, with few = changes. > And > > now by commenting the line in the CMakeLists.txt, CMake generation works. > I > > just have to fix the few compilation problems with Visual Studio=20 > > 2005 (missing headers, C99 compliance=85), and it should be fine. > > If you can get the trunk you should be fine. A couple of weeks ago=20 > those issues were fixed. > > > > > Thank you. > > > > > > > > De : Alexander Broekhuis [mailto:a.broekhuis@gmail.com] Envoy=E9 : > > vendredi 1 f=E9vrier 2013 10:22 =C0 : celix-dev@incubator.apache.org = > > Objet > > : Re: celix example under windows > > > > > > > > Hi, > > > > > > > > Thanks for your interest in Celix (on Windows). > > > > > > > > Are you using the Celix release? Or a recent trunk? The trunk should = > > compile/run on windows, the 0.0.1 release doesn't. Also on trunk the = > > build system should check for the availability of gtk, but this=20 > > hasn't been checked extensively. > > > > > > > > To work around this, you can simply disable the gtk examples. This=20 > > can be done by editing the CMakeLists.txt file in te examples = directory. > Commenting > > out the "add_subdirectory(osgi-in-action/chapter04-paint-example)" > > line should be enough. > > > > > > > > If this doesn't work, please let me know, and I'll take a look into = it. > > > > > > > > Altogether windows support is rather new, and I welcome reports on=20 > > any problems you run into. > > > > > > > > 2013/2/1 Lionel BELLER > > > > Hello, > > > > I would like to build the examples for celix on windows vista. But=20 > > when I enable the CMake build option "BUILD_EXAMPLES", CMake errors=20 > > appear due to missing libraries (glib-2.0, gthread-2.0=85): > > > > > > > > checking for one of the modules 'glib-2.0' > > > > CMake Error at C:/Program Files/CMake > > 2.8/share/cmake-2.8/Modules/FindPkgConfig.cmake:363 (message): > > > > None of the required 'glib-2.0' found > > > > Call Stack (most recent call first): > > > > = examples/osgi-in-action/chapter04-paint-example/circle/CMakeLists.txt: > > 19 > > (pkg_search_module) > > > > > > > > Has anyone ever experienced this problem, or has an idea of how to=20 > > solve > it? > > > > Thanks. > > > > > > > > > > > > > > > > _________________________________________________________________ > > > > Lionel BELLER | Ing=E9nieur R&D | Sogeti High Tech Phone +33 (0)=20 > > 4 76 52 66 55=20 > > lionel.beller@sogeti.com > > > > 485 avenue de l'Europe | 38330 Montbonnot, Saint-Martin | France=20 > > www.sogeti.com / < > http://www.sogeti-hightech.fr/> > > www.sogeti-hightech.fr > > > > Sogeti High Tech, Registered office: Issy Les Moulineaux=20 > > reg.no. Nanterre B 444 495 774 > > > > logo signature electronique > > _________________________________________________________________ > > > > > > > > > > > > > > > > > > > > -- > > Met vriendelijke groet, > > > > Alexander Broekhuis > > >