VCSDK compilation problem with Project Bilder

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Oct 30 08:42:40 CDT 2004


On 10/30/04 2:05 AM, "joe.farage at dplanet.ch" <joe.farage at dplanet.ch> wrote:

> Name:      Joe Farage
> 
> Question regarding: vsdk
> 
> Hello,
> 
> I am trying your Valentina database but I cant even compile the given example
> file in C language with Project Builder 2.01.

> I get a link error during compilation but I add all the header files and .dll
> and .lib to the project.
> 
> I get the following error:
> 
> /usr/bin/jam -d1 
> JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=-
> build ACTION=build _DEFAULT_GCC_VERSION=3.1 BUILD_STYLE=Development
> CPP_HEADERMAP_FILE=/Users/joe/Desktop/valentina/build/valentina.build/valentin
> a.build/valentina.hmap SRCROOT=/Users/joe/Desktop/valentina
> OBJROOT=/Users/joe/Desktop/valentina/build
> SYMROOT=/Users/joe/Desktop/valentina/build DSTROOT=/tmp/valentina.dst
> ..updating 6 target(s)...
> StandaloneExecutable /Users/joe/Desktop/valentina/build/valentina
> ld: can't locate file for: -lVCSDK_Carbon
> 
>     /usr/bin/gcc3  -o &#34;/Users/joe/Desktop/valentina/build/valentina&#34;
> &#34;-L/Users/joe/Desktop/valentina/build&#34;
> &#34;-L/Users/joe/Desktop/VCSDK_Carbon/VCSDK&#34;
> &#34;-F/Users/joe/Desktop/valentina/build&#34;
> &#34;-F/Users/joe/Desktop/VCSDK_Carbon/VCSDK&#34;  -filelist
> &#34;/Users/joe/Desktop/valentina/build/valentina.build/valentina.build/Object
> s-normal/LinkFileList&#34;  &#34;-arch&#34; &#34;ppc&#34; &#34;-prebind&#34;
> &#34;-lVCSDK_Carbon&#34; &#34;-lVCSDK_WIN_cw&#34;
> 
> ..failed StandaloneExecutable.LinkUsingFileList
> /Users/joe/Desktop/valentina/build/valentina ...
> 
> 
> So it would be so nice if you can give me a tip to resolve that problem. I
> found nothing in your documentation and in forums.
> 
> many thanks and best regards,

Hi Joe,

Well, I think we even did not try do that this. I mean VCSDK was made with
CodeWarrior. In theory it must work with ProjectBuilder and xCode.

As I see, problem that it cannot find library.

Am I right that you have create PB project self ?
I think you need or add LIBRARY PATH to location where is libVCSDK_Carbon
Or you need copy this library to path /usr/lib where all unix libs are.

Am I right that you have download and use VCSDK_macho archive ?
Let me check if it have such library with such name...

Aha, note that archive contains VCSDK_Macho.lib.
GCC expect to see library with UNIX style name   libVCSDK_Macho.lib
I think you can rename it self.

And I wonder, you have made CARBON or MACHO project ?
You need macho for ProjectBuilder.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina mailing list