Hello,
My question is certainly basic. But what I have tried out did not work so I have to ask.
I have made a library called myllx.lib and I cannot link my program with it.
I always get this kind of messages :
[Linker Error] Unresolved external 'myClass::myClass(short, short, short, short, short, short, GridType)' referenced from D:\myDir\MyProg.OBJ
[Linker Error] Unresolved external 'myClass:raw(Graphics::TCanvas *, char *)' referenced from D:\myDir\MyProg.OBJ
I have set the lib path in the project options, but this is obviously not enough. Can any body tell me what else I have to do ?
Is there something else to set or some thing to change in the source of the program. When I was using exactly the same code, compiling every file and linking all the objects I had no problem. Things start to go wrong if I want to take away some source file and put them in a lib.
Thanks.
Michel
[sig][/sig]
My question is certainly basic. But what I have tried out did not work so I have to ask.
I have made a library called myllx.lib and I cannot link my program with it.
I always get this kind of messages :
[Linker Error] Unresolved external 'myClass::myClass(short, short, short, short, short, short, GridType)' referenced from D:\myDir\MyProg.OBJ
[Linker Error] Unresolved external 'myClass:raw(Graphics::TCanvas *, char *)' referenced from D:\myDir\MyProg.OBJ
I have set the lib path in the project options, but this is obviously not enough. Can any body tell me what else I have to do ?
Is there something else to set or some thing to change in the source of the program. When I was using exactly the same code, compiling every file and linking all the objects I had no problem. Things start to go wrong if I want to take away some source file and put them in a lib.
Thanks.
Michel
[sig][/sig]