${blah})
instructions and it returns odbc32, which is correct.
So my question is: why is CMake adding an extra lib? I can work
around it for now, but I'd like to solve this one properly.
Thanks,
Adam J Richardson
CMakeLists.txt snippet:
if (ODBC_FOUND)
set(T_LIBS ${T_LIBS
:/Compilers/MinGW/lib
Thanks,
Adam J Richardson
signature.asc
Description: PGP signature
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check
If I have ignored one of your non-bug-issue points from a reply to
this thread, it's because it was not a bug number. If you still have
an issue, open a bug and reply here with its number or start a new
thread!!
Argh. Fine. Here's a bug number: #0011445
Let me know if you or somebody
kind of
ugly.
Adam J Richardson fat...@... writes:
(That is, if I manually separate
C:\Compilers\Libs\libboost_thread-mgw44-mt-1_44.a into
-LC:\Compilers\Libs -lboost_thread-mgw44-mt-1_44.)
Is there a way to have CMake do this by itself and not use absolute
paths? I've tried setting
'. The _imp___ part gives it away. The fix is to
define BOOST_THREAD_USE_LIB in your CMakeLists.txt:
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -DBOOST_THREAD_USE_LIB=1)
I haven't tested it, but it builds without complaint now.
HtH,
Adam J Richardson
signature.asc
Description: PGP signature
FindODBC.cmake in the release?
Thanks,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzT3GwACgkQSUH6dLOqvqlyOQCfaC2+BL+jkULzetoh3bduWoHU
tmMAniddpSiMW4KpeRjpS0me9C+3RNjm
=4TE7
-END PGP SIGNATURE
(Boost_ADDITIONAL_VERSIONS 1.44 1.44.0)
... if you wanted to try it anyway.
Regards,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzSgx0ACgkQSUH6dLOqvqmfKwCg6qttDVOXnpqHYoZwfjzUyHax
ubMAniQAF6EYxsIUYkqXPQiMwFxop6uB
=ngaQ
-END PGP SIGNATURE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 01 Nov 2010 20:04:44 +
Mateusz Loskot mate...@loskot.net wrote:
Thanks Mateusz, that's great! I only needed to add odbc32 to the
list of library names (MinGW's OBDC implementation is in
libodbc32.a).
I'm glad it helped and thanks
compatible with each other.
Thanks,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzOqQkACgkQSUH6dLOqvqkgrwCfR9lrKOZQOwVaqWC4tWJnFDd4
jlAAn0CE5RZy+3sLWFIkLdGv42jdHaR1
=0QA1
-END PGP SIGNATURE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 01 Nov 2010 14:25:24 +
Mateusz Loskot mate...@loskot.net wrote:
Hi,
You may find the one in SOCI repo useful
http://soci.git.sf.net/
And go to src/cmake/modules
Thanks Mateusz, that's great! I only needed to add odbc32 to the list
that.
Thanks,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzO7NQACgkQSUH6dLOqvqmM5QCgwAD9sffVFYn5/XxBD0t2KqxL
f7YAn0iOmlQ1C4OAvo/NiTVcN/Ox6sNX
=pzU7
-END PGP SIGNATURE-
___
Powered
or partial path. Could this be the
issue?
Regards,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzJMSoACgkQSUH6dLOqvqlOMwCdHXpEp/nIYGYd+u86GCx9PIoB
dYQAnjuKpOX44b0wsDKgQytuwGX7xxFG
=XlSY
-END PGP SIGNATURE
,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAky8Cr8ACgkQSUH6dLOqvqnYUgCfbZB1KtewDVQ/ZMdPeeYDHD6V
KFoAn3M3nETZeJlnW8yLAYt4xq6Lq7sO
=ByUi
-END PGP SIGNATURE-
___
Powered by www.kitware.com
Visit
13 matches
Mail list logo