Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Win7: compile 64bit applications

    Hi together

    I'm developing some software for NGS data analysis.
    As I see in our institute, most of the people working in the lab are pretty uncomfortable with Linux and commandline applications. So I started to develop some GUI based applications using Qt. Most of it depends also on the bamtools API (the c++ version of samtools) and this one is therefore a must have.

    Up to now, things work really nicely on my Linux machines (well - shutting down several threads linked to each other in an organised way still causes me some headache, but it doesnt create any troubles - "cancel" is simply not implemented). So recently I tried porting it to Windows (64 bit Win7)...

    ... and I finally know now, why I work on Linux

    On the Qt side, compilation (via minGW) works well. I could also get bamtools running (at least the executable). With the libraries I had some problems - the program crashed. While checking the dependencies with www.dependencywalker.com, I found some missing imports (I have the feeling that it is due to the "export ..." statements in the aux.h file). Anyway - I think that I may get this to work if I take some time to go through it. The bigger surprise for me was that everything was in 32 bit (yes - my first time compiling something on windows). As I would like to have it in 64 bit, I tried to get such an environment first. I was searching a bit and could not find any easy way to do this, as there seems to be no native and free 64 bit compiler on windows. I started with cross-compiling (minGW) and came to the conclusion that this is totally annoying... Doing this for basic libraries (zlib and so on) works pretty well. However, I failed miserably with the cmake integration that is at least required for bamtools (well, on cygwin I once managed to get a 64 bit bamtools). Anyway, I would still have to build the Qt libraries from scratch....

    Now - the question is:

    Do you know any simple and free way to get a 64 bit program out of my code? Or at least - is there a native 64 bit compiler on windows that is for free?

    (I am not really in the mood to buy Visual Studio to do this - even though it may be the easiest way)

  • #2
    Not a direct answer to your question, but what about letting people run your GUI software on a Linux server with an X-server installed on their Windows workstations? We do that for some software here, and the lab people here are quite fine with that. In case you wish to store the NGS data centrally anyway (NGS data handling tends to annoy the lab users here as well), this might be a simple and effective solution...

    Comment


    • #3
      Hi arvid

      Thanks for the suggestion.
      Would be indeed a relatively easy solution concerning the lab-internal use - and it would also simplify the data handling. Hehe - the only problem is that we are really a "lab-lab"... I'm "begging" for a server for quite some time Let's see if it helps

      Comment


      • #4
        Visual Studio express edition is free. The Windows SDK is also needed to compile 64 bit programs (see http://stackoverflow.com/questions/1...c-2010-express).

        I was able to compile bamtools with visual studio, although I ended up not using it and can't vouch that there won't be any platform-specific bugs.

        Comment


        • #5
          Did you try mingw-w64?
          Last edited by jiaco; 02-02-2012, 12:05 AM.

          Comment


          • #6
            @ alec

            Thanks a lot. This seems really promising
            I also got now access to the non-free Visual Studios - will try once 2010 Ultimate - so I think that this will be the easiest (as the non-free Versions should also allow me to use the Qt Plugin to import the rest of my project into Visual Studio).

            @ jiaco

            Hm - yes, I used this one. Once via MSYS and once via Cygwin. Cygwin was slightly more successful/easier. However, in this modes, minGW acted as a cross-compiler (not native 64 bit) and was pretty frustrating to use. What helped me a bit: http://www.gaia-gis.it/spatialite-3....64_how_to.html.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin


              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
              Yesterday, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            37 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            41 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            35 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            55 views
            0 likes
            Last Post seqadmin  
            Working...
            X