• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Error on building Haskell plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error on building Haskell plugin


  • Subject: Re: Error on building Haskell plugin
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 25 Jan 2008 16:33:33 -0800


On Jan 25, 2008, at 3:10 PM, Roger Melly wrote:

Hello, I would like to build and use the Haskell plugin available at http://www.hoovy.org/HaskellXcodePlugin/ but when I build it on Xode 2.5, the following error obtains:

Building target “HaskellPlugin” of project “HaskellPlugin” with configuration “Release” — (1 error)
    cd /Volumes/vault/HaskellPlugin
    /Developer/usr/bin/gcc-4.0 -o /Volumes/vault/HaskellPlugin/build/HaskellPlugin.build/Release/HaskellPlugin.build/Objects-normal/ppc/HaskellPlugin -L/Volumes/vault/HaskellPlugin/build/Release -F/Volumes/vault/HaskellPlugin/build/Release -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks -filelist /Volumes/vault/HaskellPlugin/build/HaskellPlugin.build/Release/HaskellPlugin.build/Objects-normal/ppc/HaskellPlugin.LinkFileList -framework DevToolsCore -framework CoreData -framework DevToolsSupport -framework Foundation -framework AppKit -framework Cocoa -arch ppc -Wl,-Y,1455 -bundle -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: can't locate framework for: -framework DevToolsCore
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
Build failed (1 error)

From Xcode/About:

Component versions
Xcode IDE: 799.0
Xcode Core: 798.0
ToolSupport: 794.0


Regretably I don't know much about Xcode but under Frameworks & Libraries / Linked Frameworks there is DevToolsCode.framework. If I click on that, the right pane of the HaskellPlugin window shows DevToolsCore.framework in the `File Name' column.  If I right-click on that and choose Info, the Framework "DevToolsCore.framework" Info window shows

Name: DevToolsCore.framework
Path:   /Developer/Library/PrivateFrameworks/DevToolsCore.framework
Full Path: /Developer/Library/PrivateFrameworks/DevToolsCore.framework

and /Developer/Library/PrivateFrameworks/DevToolsCore.framework does exist.

So why does ld say that it can't find the framework ?


Because we moved the location of our private frameworks in Xcode 2.5 and 3.0 and the Haskell plugin project hasn't yet been updated to conform to that change.

One should expect that when one links to the private frameworks of somebody else's code that changes in that code may break one's project.  When we have a public API for building Xcode plugins, the frameworks that support it will be in /Developer/Library/Frameworks, not /Developer/Library/PrivateFrameworks.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Error on building Haskell plugin (From: Roger Melly <email@hidden>)

  • Prev by Date: Xcode 3 & Leopard
  • Next by Date: Re: Xcode 3 & Leopard
  • Previous by thread: Error on building Haskell plugin
  • Next by thread: Xcode 3 & Leopard
  • Index(es):
    • Date
    • Thread