Author Topic: SQLAPI++ with Code::blocks  (Read 10099 times)

Leitzelmaster

  • Guest
SQLAPI++ with Code::blocks
« on: April 20, 2008, 10:24:42 pm »
Hi guys, i am wondering what i have to make sqlapi++ running (if you dont know what it does: With sqlapi++ you can connect to many databases and its a lot of faster than odbc).

I have some screenshots to show you what files sqlapi++ has:


Quote
****************************************************************
Welcome to SQLAPI++ Library 3.7.24
****************************************************************

1. INTRODUCTION
Thank you for using SQLAPI++ Library.
This file contains important notes about the installation and the
product itself.

2a. INSTALLATION (Win32 version)
Files under 'SQLAPI' folder after unpacking the SQLAPI++ self-extracting archive:

ReadMe.txt - this file
license.txt - SQLAPI++ license agreement and warranty
bin\*.* - SQLAPI++ DLL and sample binaries (read more at bin\index.txt)
lib\*.* - dynamic and static librares (read more at lib\index.txt)
include\*.h - public include files
doc\*.* - SQLAPI++ documentation in HTML format
examples\*.cpp - SQLAPI++ steps
amd64\* - SQLAPI++ precompiled binaries for AMD64 platforms

These files are only for registered SQLAPI++ version:

src\*.cpp - SQLAPI++ sources
src\*.h - SQLAPI++ private headers
src\Makefile.mvc - SQLAPI++ makefile for MSVC++
src\sqlapi_msvc.bat - batch file to compile SQLAPI++ (release & debug) for MSVC++
src\Makefile.bcc - SQLAPI++ makefile for Borland C++ compiler
src\sqlapi_bcc.bat - batch file to compile SQLAPI++ (release & debug) for Borland C++ compiler
src\Makefile.mingw - SQLAPI++ makefile for MinGW
src\sqlapi_mingw.bat - batch file to compile SQLAPI++ (release & debug) for MinGW


SQLAPI++ binaries are compiled with Microsoft Visual Studio 6.0 (x86) and
Visual Studio 2005 (x86_64). The multithread- and DLL-specific version of
the run-time libraries are used. You must recompile the binaries for another
run-time library configurations. The same is true for Borland
(Borland C++ Compiler 5.5 is used) and MinGW (MinGW g++ 3.4.2 is used) binaries.


2b. INSTALLATION (Linux/Unix version)
Files after the installation:
ReadMe.txt - this file
license.txt - SQLAPI++ license agreement and warranty
bin\* - simple executable to test database connection
doc\*.* - SQLAPI++ documentation in HTML format
examples\*.cpp - SQLAPI++ steps
examples\Makefile - makefile for building SQLAPI++ steps
include\*.h - public include files
lib\*.* - shared and static SQLAPI++ libraries
g++-*.tar.gz - archives of SQLAPI++ binaries compiled with different g++ versions

These files are only for registered SQLAPI++ version:
src\*.cpp - SQLAPI++ sources
src\*.h - SQLAPI++ private headers
src\Makefile - SQLAPI++ makefile for GNU make
src\sqlapi_gcc - batch file to compile SQLAPI++ (release & debug)

We recommend to recompile the SQLAPI++ binaries on platform it should be used.

Here you can see which folder sqlapi++ has:
http://www.imgnow.de/?img=1b76jpg.jpg

Here the folder lib
http://www.imgnow.de/?img=2f52jpg.jpg

Here the folder bin
http://www.imgnow.de/?img=3849jpg.jpg

Here the folder include
http://www.imgnow.de/?img=4090jpg.jpg

Sth that irritates me ... the folder amd64 because i have an AMD 64 X2 Dualcore Prozessor 3800+

So i hope you can help me :)
« Last Edit: April 20, 2008, 10:26:24 pm by Leitzelmaster »

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: SQLAPI++ with Code::blocks
« Reply #1 on: April 21, 2008, 09:57:06 pm »
what is the problem? just compile the library with whatever compiler you want to use. sounds like they even have some already built for you if your using a microsoft one.

Leitzelmaster

  • Guest
Re: SQLAPI++ with Code::blocks
« Reply #2 on: April 21, 2008, 10:16:53 pm »
well the problem is how to set the paths to the lib's and header files.

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: SQLAPI++ with Code::blocks
« Reply #3 on: April 21, 2008, 10:32:23 pm »
just use the makefile they gave you.

or use the makefile to get the paths to set up in a codeblocks project.

or use codeblocks to run the makefile.

tone_a

  • Guest
Re: SQLAPI++ with Code::blocks
« Reply #4 on: June 05, 2008, 03:09:34 pm »
Hi i'm newb in Codeblocks and C++....please someone can give me exactly instruction for compiling and use sqlapi library...i don't really know what i have to do... :(