Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / July 2003



Tip: Looking for answers? Try searching our database.

CW Linker error only on Some macs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nappy - 24 Jul 2003 21:24 GMT
During our link we get a linker error from CW that states that it can not
copy a resource file and the link fails. I checked the status of the file
and it is not read-only. This project builds fine on 5 other macs but this
particular mac and one other one in our office fails with this error. Any
hints would be appreciated.

- mac OSX 10.2.6 (6L60) ... 867 MHz

"Link Error: Can't copy resource file 'someresources.rsrc'."

thanks in advance.

nappy
MW Ron - 25 Jul 2003 16:05 GMT
>During our link we get a linker error from CW that states that it can not
>copy a resource file and the link fails. I checked the status of the file
[quoted text clipped - 5 lines]
>
> "Link Error: Can't copy resource file 'someresources.rsrc'."

All I can think of is to open it with FileBuddy or resorcerer or
something and see if it has all the right settings and types for
resource.

Oh  wait one other thing, is the folder hierarchy the same, it could be
a problem with the path name, I've seen that before in finding files.

Ron

Signature

          Metrowerks has moved, our new address is now
                    7700 West Parmer Lane
                      Austin, TX 78729
       Sales and Support 512-996-5300   800-377-5416    
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

nappy - 25 Jul 2003 16:42 GMT
> >During our link we get a linker error from CW that states that it can not
> >copy a resource file and the link fails. I checked the status of the file
[quoted text clipped - 9 lines]
> something and see if it has all the right settings and types for
> resource.

Yes.. oddly it works fine on 4 out of 6 macs.

> Oh  wait one other thing, is the folder hierarchy the same, it could be
> a problem with the path name, I've seen that before in finding files.

Yes the hierarchy is exactly the same as we are using CVS..

thanks Ron.. Idid look around to see if anyone else had experienced this..
it is odd.

> Ron
>
[quoted text clipped - 4 lines]
>         Sales and Support 512-996-5300   800-377-5416
> Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Chris Espinosa - 28 Jul 2003 21:40 GMT
> During our link we get a linker error from CW that states that it can not
> copy a resource file and the link fails. I checked the status of the file
[quoted text clipped - 5 lines]
>
>  "Link Error: Can't copy resource file 'someresources.rsrc'."

It's not unlikely that this resource file was checked out or copied using a
tool that doesn't handle resource forks, so it doesn't have one.  Unix tools
like cp do not copy resource forks on HFS+ volumes; use CpMac or ditto.  In
its native mode CVS doesn't handle resource forks, etiher, but some users
may have configured it to do so, and others not.

Chris Espinosa
Apple
nappy - 30 Jul 2003 20:07 GMT
he moved over from CVS command line version in OS9 to GUI CVS in OSX and all
is well now. Thanks Chris
> > During our link we get a linker error from CW that states that it can not
> > copy a resource file and the link fails. I checked the status of the file
[quoted text clipped - 14 lines]
> Chris Espinosa
> Apple
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.