1

How to use Alljoyn thin client in visual studio?

asked 2014-03-30 19:41:28 -0800

zhengkun gravatar image

I have downloaded and used the scons command to compile files under ajtcl. There appears ajtcl.lib, ajtcl.dll, ajtcl.ilk, ajtcl.exp , ajtcl.pdb and some .obj files in ajtcl/src. 1. add ajtcl/inc to project/inc; 2. add ajtcl.lib to project/lib; Are those enough?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-04-03 16:04:33 -0800

georgen gravatar image

If you are building against the static library all you should need is the ajtcl.lib and the header files found in the ajtcl/inc folder.

If you want to use the tcl library as a dynamic library you will need to add the ajtcl.dll to you linker.

other libraries you may need to add to the linker are wsock32.lib, and advapi32.lib

you may need to add the following defines to your defines when building.

  • _CRT_SECURE_NO_WARNINGS
  • AJ_MAIN

I am basing these values on the output when I run the scons TARG=win32 build command.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-03-30 19:41:28 -0800

Seen: 109 times

Last updated: Apr 03 '14