Use git tool to download the project
git clone https://github.com/thalman/c-aducid.git
C/C++ ADUCID SDK uses autotools for compiling. Try autoreconf if You have different version of autotools.
git clone https://github.com/thalman/c-aducid.git
cd c-aducid
# autoreconf -vfi
./configure
make
make install
Documentation is written in doxygen, build it with following commands:
cd c-aducid
doxygen Doxyfile
Documentation is stored in doc/html directory.
There is SPEC file in tools directory. Creating rpm from tar archive is easy.
-
Clone ADUCID C SDK into c-aducid directory.
git clone https://github.com/thalman/c-aducid.git
-
Pack the directory into tar archive.
tar -czf c-aducid.tgz c-aducid
-
Build rpm package.
rpmbuild -ta c-aducid.tgz
Hint: install the doxygen first if You want documentation in devel rpm.
-
Make sure that Your devenv.exe is on PATH.
-
Run build.bat script.
cd c-aducid build.bat
-
Make sure Your Mingw is properly installed.
-
Install libcurl including development packages.
-
Check compilation options on top of the Makefile.mingw file.
-
Run make to compile
cd c-aducid make -f Makefile.mingw
Demo application uses tntnet library therefore the demo works on POSIX systems. The code is pretty straightforward and shows ADUCID usage.
To start the demo, You need
- Working AIM server.
- POSIX machine with tntnet ( >= 2.2 ) and c compiler and libcurl.
- Edit the doc/demos/*/defs.h, and fix the AIMSERVER with propper hostname.
- Compile ADUCID library ( ./configure && make ).
- Compile demo application ( cd doc/demos/login ; make ).
- Start the tntnet server ( cd doc/demos/login ; make test ).
- Point Your browswer to http://localhost:8000 .