Announcement

Collapse
No announcement yet.

compiling on other than c++ or .net

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • compiling on other than c++ or .net

    Hi there,


    Been reading in this forum for some time now, have always enjoyed playing CTP1 and 2 so it seems with my computer education background and programming I could contribute something to this great game....

    But... I dont have access to the compilers and laguages you guys have..
    However, I found a free c++ program out there on http://www.bloodshed.net
    I has everything like visualC en .net has only its free....

    I wonder..does anyone know if this could work ??

    I dont want to download the DirectX sdk for half a day only to find out it doesnt work

    Hope y'all can help me out

    Hope to be programming with you soon

    greets!!

    ps... I download the sourcecode, put in the files from my CTP2 cd, download the directX sdk...... and then i download the altered sourcefiles package for most recent version ???

    Thanks again !

  • #2
    Hi Seesjuh,

    DevC++ has an 'experimental' feature: files=>import=>import Microsoft Visual C++ project, but I didn't have any luck with it.

    They have a forum; maybe you could get better information about it there.

    Peter

    Comment


    • #3
      DevC++ uses mingw gcc as compiler (see http://www.mingw.org for newer versions). Actually, I started with mingw before finding out that I did have access to Visual C++ after all.

      I do not want to discourage you, but the current code is using quite a lot of MS Visual C++ 6.0 specific constructs. As far as I know, it has not even been successfully compiled with MS Visual C++ .NET (which is basically MS Visual C++ 7.0).

      With mingw, a couple of makefiles, and some small code changes, I was able to get the map generation DLLs to compile quite easily. But to get the main executable to compile, you have to make a lot of code changes! Some of the issues have been described in

      The thread is about using gcc under Linux, so some issues (e.g cr/lf line ends, case sensitive includes) will not cause problems with mingw, but others (e.g. MS specific callback declaration syntax) do.

      If you are still interested after reading this, let me know. I still have some (about 40) modified files from my first attempt that have not been included in the altered source file thread yet.

      Comment


      • #4
        @fromafar:

        Thanks man, If you could send them to me... or up them somewhere I'd still love to look at them...

        I just can't seem to get hold of a affordable version of c++ from ms
        So im stuck with devc++

        Hope to hear from ya soon

        Thanks!

        Comment


        • #5
          I have added a post in the altered source code thread with the files I have modified.

          For compilation, I have used a bare mingw distribution (3.1.0-1, I believe) in a Windows 2000 DOS box, so I can't give you advice on the DevC++ handling of the project.

          Mingw.zip contains an additional stub, a batch file, and some makefiles I have used. If nothing else, these will indicate how (not at all) far I got before switching to MS VC++.

          Good luck! You may need it.

          Comment


          • #6
            Hi,

            Thansk for the files...
            Downlaoded them and already playing around with em

            Ill post my progress as I make it... and if i make it

            Thansk again!

            Comment

            Working...
            X