View Single Post
  #4   Spotlight this post!  
Unread 18-08-2016, 00:32
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 312
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: How do I setup a SDK in C++?

For future reference:

.h files contain function / class definitions for your code to use. So, you need to include the .h file for the compiler to know what you mean when you call a library function

.dll (dynamic) and .lib (static) library files contain the actual code for the library. The linker needs these to make your program actually run library functions when you make those calls. Basically, the .dll/.lib is the actual library and the .h tells you what's in the library.

.dll or dynamic libraries are added in whenever you run your program (so you'll need those in the same folder as your program or on the search path for it to run correctly), while .lib or static libraries are added to your program binary during compilation (so no external dependencies).

For your project, you'll only need either the .dll or .lib, depending on which type of library linking you want.

Hope this clears things up
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org

Last edited by euhlmann : 18-08-2016 at 00:34.
Reply With Quote