Menu

#2 compilation on windows

open
5
2007-08-07
2007-08-07
hems
No

Hi,

I need help to compile the 'juala C++ JSON' library on windows platform(windows xp). Some body suggest me how to proceed for this.

thanks
hems

Discussion

  • Kombo Morongo

    Kombo Morongo - 2007-08-07
    • labels: 968242 --> Install Problem
     
  • Kombo Morongo

    Kombo Morongo - 2007-08-07

    Logged In: YES
    user_id=1503114
    Originator: NO

    jaula has been deeply based on GNU tools and resources so, compiling on any GNU platform can be performed directly.

    The easiest way to get a GNU development environment on a windows machine is through the use of minGW (home site http://www.mingw.org/\).

    As the only external tool/dependency required by jaula (besides an standard C++ compiler/link toolchain) is flex, you will need a release of flex for MinGW that you may find at http://www.mingw.org/MinGWiki/index.php/flex or compile it by yourself starting from the sources available at the flex home page http://flex.sourceforge.net/. Once the environment is complete, you can download jaula project from sources and proceed as it is explained in jaula developer's guide at http://morongo.homelinux.net/jaula/jdg1-install-tarball .

    As I had mentioned before, Mingw is the easiest way to get GNU tools running on windows machines and will let you develop any kind of applications for windows based on GNU resources but, If what you wanted to mean in your request was how to compile jaula on Microsoft's standard development environment, things can get a little bit more complicated.

    First of all, I must admit I have no experience developing on Microsoft's tools myself and my help may only reduce to point out the more critical points and suggesting workarounds for the problems that may arise. As a matter of fact, if you succeed in compiling jaula on microsoft's development tools, I would like you could include your fixes in the main project branch to be available for the next releases and you become a developer for the project (in case you are interested on it).

    If compiling jaula on Microsoft's development tools is your intention, the main problems I can see is that you must get a running release of flex (the mingw flex release I mentioned before would suffice), create the project makefiles required by the compiler/linker to be used and have a C++ compiler with a very good support for the standard template library.

    Throughout the whole project there was a deep use of std::string classes, std::auto_ptr, std::list and std::set templates as well as some other standard C++ resources that I don't know how are supported on Microsoft's tools.

    I see this last approach much more difficult and not advisable to be taken unless you have a very good knowledge of Visual C++ or similar tools.

    Please tell me if this explanation clarifies your request or tell me more specifically what your problems are.

    Regards,

    Morongo

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.