Pierre Malarme schrieb:
hi,
i've taken your advice on the __declspec stuff and test it on a hello
world project. i do have a .lib now but with a warning
"
hello.cxx
..\..\CMakeExample\Hello\hello.cxx(5) : warning C4273: 'Hello::Print'
: inconsistent dll linkage
h:\workspace\cmakeexample\cma
hi,
i've taken your advice on the __declspec stuff and test it on a hello
world project. i do have a .lib now but with a warning
"
hello.cxx
..\..\CMakeExample\Hello\hello.cxx(5) : warning C4273:
'Hello::Print' : inconsistent dll linkage
h:\workspace\cmakeexample\cmakeexample\hello\hello.h(
> Von: "Ingrid Kemgoum"
>
> i'm very sorry but it's like chinese for me. u told me not to define the
> symbol so i skip the
> SET_TARGET_PROPERTIES(Hello PROPERTIES DEFINE_SYMBOL HELLO_EXPORTS) in the
> library directory
>
> and when i dont use it i have 2 link problems like this:
>
> LINK : H:\
> Von: "Ingrid Kemgoum"
> hi
> i've done what you told be (not to define de -D..) and i do have a .lib
> too
> but the problem of the link with the dll still exist.
> maybe it's my fault
> there is my code in the three directories(i'm using visual 8 2005 and
> cmake
> 2.6)
When you don't define the
hi
i've done what you told be (not to define de -D..) and i do have a .lib too
but the problem of the link with the dll still exist.
maybe it's my fault
there is my code in the three directories(i'm using visual 8 2005 and cmake
2.6)
*In the project directory :*
cmake_minimum_required(VERSION 2.6)
hi,
i've taken your advice on the __declspec stuff and test it on a hello world
project. i do have a .lib now but with a warning
"
hello.cxx
..\..\CMakeExample\Hello\hello.cxx(5) : warning C4273: 'Hello::Print' :
inconsistent dll linkage
h:\workspace\cmakeexample\cmakeexample\hello\hello.h(18) :