My notes from building Visual C++ clients:
Added:
C:\Program Files\OpenHPI\include;
C:\Program Files\OpenHPI\glib-2.0\lib\glib-2.0\include;
C:\Program Files\OpenHPI\glib-2.0\include\glib-2.0
to Configuration Properties->VC++ Directories->Additional Include
Directories.
Added:
libopenhpi.lib;
libopenhpiutils.lib;
glib-2.0.lib
to Configuration Properties->Linker->Input->Additional Dependancies.
Added:
C:\Program Files\OpenHPI\lib;
C:\Program Files\OpenHPI\glib-2.0\lib
to Configuration Properties->Linker->Input->Additional Library
Directories
#include <glib.h> needs to be at the end of the list of includes or you will
get linker errors.
The file locations will depend on where you put the OpenHPI libraries and
include files.
________________________________
From: kevin barnard [mailto:[email protected]]
Sent: Monday, January 09, 2012 11:25 AM
To: [email protected]
Subject: [Openhpi-devel] HPI browser and visual studio
Hi !
I have ran the windows openhpid with the test agent and hpitree under windows.
All good
However, after running lib to generate the two .lib files
libopenhpi.lib
libopenhpiutils.lib
which I thought would enable me to compile the hpi browser under visual studio,
getting linker errors eg
saHpiSessionClose
though I have added the two .lib files to the visual studio project
Does anyone have a step by step guide to compiling hpi browser under visual
studio ( 2008 express edition in my case ) ?
Also is there a forum for this sort of question ?
regards
kevin
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel