10 hours ago
Hi, ALL,
Since I was told I'm able to copy the helpers file from the samples directory to my own project - I did just that,
Next I modified my Makefile.am to be:
[code]
## Process this file with automake to produce Makefile.in
lib_LTLIBRARIES = \
libsqlany.la
libsqlany_la_SOURCES = \
database_sqlany.cpp \
database_sqlany.h \
sacapidll.c \
sacapidll.h \
sacapi.h
libsqlany_la_CXXFLAGS = -I../../dbinterface \
-DUNICODE \
-I@SQLANY@/sdk/include
libsqlany_la_LDFLAGS =
-L@SQLANY@/lib64 -ldbcapi
[/code]
where SQLANY variable comes from the configure.ac as "[SQLANY=$(set | $GREP -E 'SQLANY[0-9]{1,}' | $AWK -F= '{ print $2}')]".
The compilation/linking finished successfully, however when running I got following error
I don't understand this. The function is definitely there and it is compiled in the library.
So what is happening?
Thank you.
Request clarification before answering.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.