Compile with CodeGear C++ Builder
I want to use MySQL Connector/C++ with CodeGear C++ Builder 2006 ( Turbo C++ Explorer ).
So, I try to make library like follow steps.
1. cmake -G "Borland Makefiles"
2. make
But I met some error like follows.
_______
F:\Dev\
-- ENV{MYSQL_DIR} = F:\Dev\
-- MySQL Include dir: F:/Dev/
-- MySQL Library : F:/Dev/
-- MySQL Library dir: F:/Dev/
-- MySQL CFLAGS:
-- MySQL Link flags:
-- MySQL Include dir: F:/Dev/
-- MySQL Library dir: F:/Dev/
-- MySQL CFLAGS:
-- MySQL Link flags:
-- Installation path is: C:/Program Files/MySQL/
DCMAKE_
-- Configuring cppconn
-- Configuring examples
-- Configuring test cases
-- No MiniCppUnit
-- Configuring done
-- Generating done
-- Build files have been written to: F:/Dev/
F:\Dev\
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
[ 2%] Building CXX object driver/
resultset.obj
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
F:\Dev\
Error E2167 C:\Program Files\Borland\
' was previously declared with the language 'C++'
Error E2141 F:\Dev\
ntax error
*** 2 errors in Compile ***
** error 1 ** deleting driver\
ltset.obj
** error 1 ** deleting driver\
** error 1 ** deleting all
F:\Dev\
_______
What I have to do for using your project with Turbo C++ Explorer 2006.
Question information
- Language:
- English Edit question
- Status:
- Open
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask ASURADA for more information if necessary.