Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Kylix
Compiler
Pascal
Code Generation/Optimization
Error Recovery
Errors + Warnings
Exceptions
Inline ASM
Language
Linker
Other compiler
Threads
Variants
You are not logged in.
Help
Print
Public Report
Report From:
Kylix/Compiler/Pascal/Linker
[ Add a report in this area ]
Report #:
3169
Status:
Open
Build fails with [Error] duplicate resource id: type 1 id 1
Project:
Kylix
Build #:
4.186
Version:
3.0
Submitted By:
John Moshakis
Report Type:
Basic functionality failure
Date Reported:
12/18/2002 6:41:33 PM
Severity:
Infrequently encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
Kylix Pascal IDE
Internal Tracking #:
155976
Resolution:
None
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
(3 Total Ratings)
3.67 out of 5
Total Votes:
8
Description
Enclosed is a project that builds on Windows but will not on Linux. The reported error is "[Error] Duplicate resource id: type 1 id 1
In the help it says that (In Delphi duplicate resources are ignored with a warning, In Kylix, duplicates cause an error)
I do not believe that the resources are duplicates and a build on Windows seems to back this up because no warnings are given.
I believe the problem is that I have a cursor in each of the 2 resource files that are referenced by the project
cursor1.res and cursor2.res
2cursor.res is a single resource file with the 2 cursors. If I remove references to cursor1.res and cursor2.res and replace it with 2cursor.res it will build.
Steps to Reproduce:
Build the project enclosed as an attachment,
[Error] Duplicate resource id: type 1 id 1 is reported
Workarounds
Locate cursors in resource files and move all into a single resource file
Attachment
cursortestcase.zip
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us