Re: [Cppcms-users] cppdb on mac os
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2015-09-18 19:10:39
|
assert_on_sqlwchar_is_16 is caused when the ODBC library you are compiling against isn't complying with ODBC API standard.ODBC uses/requires wide API to with with UTF-16. AFAIR iODBC usually causes this problem, try to compile against unixodbc Artyom Beilis From: mawan sugiyanto <ma...@gm...> To: cpp...@li... Sent: Thursday, September 17, 2015 11:29 AM Subject: [Cppcms-users] cppdb on mac os Dear Members I am new in this group. I want to ask you about how to compile cppdb on Mac OS X. This is my error message on command line Performing Test CPPDB_HAVE_MAC_OS_X_ATOMIC - Success-- libpq not found, disableing postgresql backend-- mysqlclient not found, disableing mysql backend-- Configuring doneCMake Warning (dev): Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake --help-policy CMP0042" for policy details. Use the cmake_policy command to set the policy and suppress this warning. MACOSX_RPATH is not specified for the following targets: cppdb cppdb_sqlite3 This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done-- Build files have been written to: /Users/mawansugiyanto/Master/MASTER_B/CPP/cppdb-0.3.1/buildMawans-iMac:build mawansugiyanto$ sudo makeScanning dependencies of target cppdb[ 2%] Building CXX object CMakeFiles/cppdb.dir/drivers/odbc_backend.cpp.o/Users/mawansugiyanto/Master/MASTER_B/CPP/cppdb-0.3.1/drivers/odbc_backend.cpp:46:30: error: 'assert_on_sqlwchar_is_16' declared as an array with a negative size Thanks Mawan ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |