floydbloke
Technical User
I’ll start by pointing out I’m very much a self-taught hobbyist programmer, never having had a need to create a library. I also haven’t used Builder for about two years so please bear with me if my questions seem ignorant or even stupid.
I want to use the NXT++ library found here but I’m struggling to build a .lib file that will work .
Steps taken so far:
• Created new project, and added appropriate folders to project options
• Added comm.cpp and nxt++.cpp to the project
• Edited platform.h to remove reference to MSVC to avoid ‘Unknown Platform’ error
• Temporarily commented out lines containing ‘printf’ to avoid errors
This allows me to create a .lib file. However, when I then try to ‘make’ the little test program, slightly modified to fit with builder,including the .lib file in the Project Manager, it compiles OK but I get a ‘unresolved external’ linker error. (I’m at work and don’t have exact details, I’ll update this post later tonight).
Has anyone here succesfully got the NXT++ library to work with, or perhaps willing to try and get it going for me. Or any other suggestions are much appreciated as well of course.
I want to use the NXT++ library found here but I’m struggling to build a .lib file that will work .
Steps taken so far:
• Created new project, and added appropriate folders to project options
• Added comm.cpp and nxt++.cpp to the project
• Edited platform.h to remove reference to MSVC to avoid ‘Unknown Platform’ error
• Temporarily commented out lines containing ‘printf’ to avoid errors
This allows me to create a .lib file. However, when I then try to ‘make’ the little test program, slightly modified to fit with builder,including the .lib file in the Project Manager, it compiles OK but I get a ‘unresolved external’ linker error. (I’m at work and don’t have exact details, I’ll update this post later tonight).
Has anyone here succesfully got the NXT++ library to work with, or perhaps willing to try and get it going for me. Or any other suggestions are much appreciated as well of course.