d my FindODBC.cmake with "message(STATUS ${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
=
On Wed, 17 Nov 2010 13:12:42 +0100
Yngve Inntjore Levinsen wrote:
> On Wednesday 17 November 2010 12:30:06 Adam J Richardson wrote:
> > Is this a correct specification for multiple include/lib paths in
> > environment variables? If not, what should I use instead? Sometimes
>
:/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
st error in the build log: "undefined reference
to `_imp___blablabla'". 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
low) but it's kind of
ugly.
> Adam J Richardson 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
> > 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 som
nd include Mateusz Loskot's FindODBC.cmake in the release?
Thanks,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzT3GwACgkQSUH6dLOqvqlyOQCfaC2+BL+jkULzetoh3bduWoHU
tmMAniddpSiMW4KpeRjpS0me9C+3R
program_options )
You don't set ADDITIONAL_VERSIONS. That's probably not the problem.
IIRC, it's:
set(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/L
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 01 Nov 2010 20:04:44 +
Mateusz Loskot 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 for the f
mgw44-mt-1_44".)
Is there a way to have CMake do this by itself and not use absolute
paths? I've tried setting CMP0003 to OLD but it doesn't seem to do that.
Thanks,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 01 Nov 2010 14:25:24 +
"Mateusz Loskot" 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
of library
ce they're
compatible with each other.
Thanks,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzOqQkACgkQSUH6dLOqvqkgrwCfR9lrKOZQOwVaqWC4tWJnFDd4
jlAAn0CE5RZy+3sLWFIkLdGv42jdHaR1
=0QA1
-EN
> cmake -DCMAKE_TOOLCHAIN_FILE:string="%~dp0\zosport.cmake" -G"Unix
> Makefiles" .\
You are building on Windows, yes? Whenever I try to use ".\" in a
command prompt, batch file or command file on Windows, it does horrible
things. I have to substitute a full or partial pa
CE option they will hate him?
Regards,
Adam J Richardson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAky8Cr8ACgkQSUH6dLOqvqnYUgCfbZB1KtewDVQ/ZMdPeeYDHD6V
KFoAn3M3nETZeJlnW8yLAYt4xq6Lq7sO
=ByUi
-END PGP SIGNATURE-
__
14 matches
Mail list logo