celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel BELLER" <lionel.bel...@sogeti.com>
Subject RE: celix example under windows
Date Fri, 01 Feb 2013 14:07:25 GMT
Hi,
Well I couldn't get the trunk version due to our proxy.
I managed to get the trunk version, but I've got the same problem described
before (missing libraries, with CMake build option "BUILD_EXAMPLES"), which
I have corrected with the former solution (comment the line in the
CMakeLists.txt). 
But this leads to an error which didn't appear previously:

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 support, generated bundles are not usable for Apache ACE
Found CPack at: C:/Program Files/CMake 2.8/bin/cpack.exe
CMake Error at 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?


-----Message d'origine-----
De : Alexander Broekhuis [mailto:a.broekhuis@gmail.com] 
Envoyé : vendredi 1 février 2013 12:18
À : celix-dev@incubator.apache.org
Objet : RE: celix example under windows

Hi,

Op 1 feb. 2013 11:39 schreef "Lionel BELLER" <lionel.beller@sogeti.com> het
volgende:
>
> Thanks a lot for the quick response.
>
> I’m using the celix release, the one directly downloadable on the 
> site. I have tried to get the celix on the trunk, but there was some 
> SVN
connection
> issues.  I haven’t 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 2005 
> (missing headers, C99 compliance…), and it should be fine.

If you can get the trunk you should be fine. A couple of weeks ago those
issues were fixed.

>
> Thank you.
>
>
>
> De : Alexander Broekhuis [mailto:a.broekhuis@gmail.com] Envoyé : 
> vendredi 1 février 2013 10:22 À : 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 hasn't 
> been checked extensively.
>
>
>
> To work around this, you can simply disable the gtk examples. This 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 any 
> problems you run into.
>
>
>
> 2013/2/1 Lionel BELLER <lionel.beller@sogeti.com>
>
> Hello,
>
> I would like to build the examples for celix on windows vista. But 
> when I enable the CMake build option "BUILD_EXAMPLES", CMake errors 
> appear due to missing libraries (glib-2.0, gthread-2.0…):
>
>
>
> 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 
> solve
it?
>
> Thanks.
>
>
>
>
>
>
>
> _________________________________________________________________
>
> Lionel BELLER | Ingénieur R&D | Sogeti High Tech Phone +33 (0) 
> <tel:%280%29%C2%A04%2076%2052%2066%2055>  4 76 52 66 55  
> <mailto:lionel.beller@sogeti.com> lionel.beller@sogeti.com
>
> 485 avenue de l'Europe | 38330 Montbonnot, Saint-Martin | France  
> <http://www.sogeti.com/> www.sogeti.com /  <
http://www.sogeti-hightech.fr/>
> www.sogeti-hightech.fr
>
> Sogeti High Tech, Registered office: Issy Les Moulineaux  
> <http://reg.no/> reg.no. Nanterre B 444 495 774
>
> logo signature electronique
> _________________________________________________________________
>
>
>
>
>
>
>
>
>
> --
> Met vriendelijke groet,
>
> Alexander Broekhuis
>


Mime
View raw message