User forums > Using Code::Blocks

Regarding using berkeley Data Base?

<< < (2/2)

stahta01:

--- Quote from: Ricky on November 21, 2007, 03:56:31 pm ---I tried even give complete path as #include"c:/Programfiles/oracle/Berkely/include/db_cxx.h" but this gives error of conflicting basic data types with the compiler data type?? So i thought the data base is not properly locked or Berkely can not work with MinGW compiler?

--- End quote ---

You might try posting the error message, without info all we can do is say nothing.

Note, learning to use Google to solve programming issues is a good thing.

Did you try defining HAVE_CXX_STDHEADERS per Google search message below.
terms were "minGW db_cxx.h" had to use cache to see message.

Did you run configure with --enable-mingw this might or might not apply to your issue.

Tim S

From Google results


--- Quote ---I used a fresh installation of BerkeleyDB, built from source (the one provided
for Win32 is only for MSVC). There is a small issue with this and MinGW:
the user has to manually specify -DHAVE_CXX_STDHEADERS before configuring
(plus all other CFLAGS and LDFLAG if "db" is not installed where expected),
because MinGW does not provide "exception.h" but "exception". Here is the
failed step:

--- End quote ---

Ricky:
"conflicting declaration 'typedef int32_t ssize_t'"                                                     in db.h in berkely database

'ssize_t' has a previous declaration as 'typedef _ssize_t ssize_t                                 in types.h  MinGW compiler file

I already tried to use google for that....

Navigation

[0] Message Index

[*] Previous page

Go to full version