i am using this library here
I need to set a number of paths inside visual studio to connect this aswell. However JUCE overrides these if I go back into jucer and try to open in IDE again so I have to keep configuring properties
I am setting these paths in properties in Visual Studio 2015 to connect the above library, how could I set these in the jucer settings so that I dont have to do it in VS and its overwritten?
b. Library dependencies
i. Linker -> Input -> AdditionalDependencies -> append âws2_32.lib;bthprops.lib;bluetoothserialport.lib;â to path
ii. Linker -> General -> Additional Library Directories â add path to .lib file
c. C/C++ -> Precompiled Headers -> Precompiled Header File -> Erase stdafx.h
d. C/C++ -> General -> Additional Include Directories -> add path to .lib file
e. VC++ Directories -> Include Directories -> add extra path to src files in library
Iâm not as familiar with Visual Studio as I am Xcode but I think most of those should be pretty simple.
To change settings in the introjucer there are three placesâŠ
-
project settings - accessed by clicking config >> <project name> in the left hand navigation panel
-
exporter settings - accessed by clicking config >> expand <project name> >> <exporter name (such as Visual Studio 2015)> in the left hand navigation panel
-
configuration settings - accessed by clicking config >> expand <project name> >> expand <exporter name (such as Visual Studio 2015)> >> <configuration name (such as Debug or Release)> in the left hand navigation panel
For the ws2_32.lib, bthprops.lib, and bluetoothserialport.lib libraries add those to the âExtra libraries to linkâ section of the exporter settings
For the path to these libraries add that to the âExtra library search pathsâ section for each of the configurations.
For the path to the library headers add that to âHeader search pathsâ section for each of the configurations.
As for erasing stdafx.h from the precompiled header Iâm not so sure, and I donât have a Windows desktop in front of me to see what you mean.
2 Likes
Thank you so much this was great.