Menu

C++ Builder & NXT++

Help
2009-08-11
2013-04-25
  • Floyd Bloke

    Floyd Bloke - 2009-08-11

    Let me start by saying I'm very much a self-taught, hobbyist programmer and haven't done anything with C++ for a couple of years now.  This is my excuse for perhaps asking questions that may be ignorant or just plain stupic to others, please bear with me.

    I'm keen to use C++ Builder 6 with NXT++(v0.6).  Going through the instructions/tutorials it seems I need to build a library file.  Unfortunately I have never had a need to do this and I can't figure out how to.  Have had a look through the Help but this very quickly goes down the track of creating VCL packages and the like and I get lost, maybe someone here can explain  for me in somewhat simpler terms the steps I need to take.

    Secondly, I tried to run it without a library file using NXT++  v0.1 (my rationale being oldest could well be simplest).  I managed to point  C++ builder to include all the right .h files but come unstuck on an error when it's processing platform.h (one of the Fantom files I believe).  The error is "Unknown Platform"

    Much appreciated if someone could shed some light one either of the above.

     
    • Cory Walker

      Cory Walker - 2009-08-11

      Well the easiest thing to do would be to download the latest Visual C++ Express edition and just compile with the project files I supplied. C++ Builder 6 could work but you would have to set everything up manually. Just try that and tell me if you run into any other problems.

       
    • Floyd Bloke

      Floyd Bloke - 2009-08-12

      Thanks Cory.  Downloaded VC++ Express and compiled the library OK and managed to build and run the little test program.  Tried to create a simple form app and use NXT++ in it but haven't got that going as yet.  Will take some getting used to what goes where in VC. 
      I 'll also persevere with Builder I think, it just feels more comfortable to me than VC.  I did try to link the VC compiled .lib file into a Builder project but ran into a few errors ther as well.

       
      • Cory Walker

        Cory Walker - 2009-08-12

        Well i really doubt a lib from one compiler would work with another. You will need to build the lib with Builder if you want to use that. I can't help you set it up to compile a library, but I would look for some tutorials on that (i think you already said you had tried that)

         

Log in to post a comment.