Menu

Cross compilation problem...

Alex Per
2008-12-09
2012-09-26
  • Alex Per

    Alex Per - 2008-12-09

    Hi All,

    Excuse me if this question is nerdy but, I Have this open source code that I have downloaded from

    http://wissrech.iam.uni-bonn.de/research/projects/NaSt3DGP/index.htm,
    http://wissrech.iam.uni-bonn.de/research/projects/NaSt3DGP/download.htm

    It is a CFD code,... for the non Engineering ppl, means that it will perform a flow analysis in a domain with obstacles or/and other boundary conditions, such as inlets, heat sources, outlets, moving walls...

    Useful in analyzing the aerodynamics of cars, fighter airplanes.. this kind of stuff...

    My problem is that, although I have successfully compiled it with the standard drill in linux, ./configure --prefix=/whatever/folder/you/want, make, make install, make clean, if I create an empty project in dev_cpp, running under WindoUZE and add the files contained in /src .h, and .c(pp) (?) of the untared download of nast3dgp zipped, when I try to compile the app, it complaints with a lot of warnings/errors in the message panel...

    Checking the compilation instructions of nast3dgp, it says that there is a makefile in that same /src folder, that could be used in compiling the app with MS VC5...

    I am not good at makefile hacking, at least not in w%¤¤&#Z os, so tell me,

    Is it possible to compile nast3dgp for W==?#%&Z using devcpp, or must i REALLY use a pirated version of MS VC whatever..?

    Is it possible to compile nast3dGP AT ALL in a windows machine...?

    The fact that I have the source code should allow mw to build an executable, in whatever architecture...

    Am i wrong here...?

    Best regards,

    Alex

     
    • cpns

      cpns - 2008-12-09

      > MS VC5...

      MS VC5 what? There never was such a compiler. Can you be more specific without us having to download it an look ourselves. Microsoft compiler use a build utility called nmake, it is not at all compatible with GNU make.

      You can probably build the code as you would in Linus using teh MSYS shell. This is part of teh MinGW project which is also the compiler that Dev-C++ uses, but Dev-C++ only ships a subset to the toolchain. Get it all from www.mingw.org.

      You don't need a pirated verion of anything. Microsoft give away their tools for free, and frankly they are better. http://www.microsoft.com/express/vc/ (you should be able to use nmake and the supplied makefile from the command line).

      I imagine that you could build it in Dev-C++, but you would have to investigate the makefile so see how it would build it with the MS compiler and translate those settings to the GNU toolchain.

      Clifford

       

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.