bugGNUstep Application Project - Bugs: bug #45768, [Cynthiune] build error in Windows...


bug #45768: [Cynthiune] build error in Windows environment

Submitter:  None
Submitted:  Sun 16 Aug 2015 02:41:09 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Sun 16 Aug 2015 02:41:09 AM UTC, original submission:  

- Symptom :

When building Cynthiune bundle ID3Tag in MSYS2(mingw32), compiling errors occur. Here are some of logs.


MINGW32 ~/gap/user-apps/Cynthiune/Bundles/ID3Tag
$ make
This is gnustep-make 2.6.7. Type 'make print-gnustep-make-help' for help.
Making all for bundle ID3Tag...
 Compiling file ID3Tag.m ...
ID3Tag.m:36:45: error: unknown type name 'id3_ucs4_t'
 + (NSString ) stringWithUCS4String: (const id3_ucs4_t ) ucs4Value;
ID3Tag.m:37:4: error: unknown type name 'id3_ucs4_t'
 - (id3_ucs4_t *) UCS4String;
ID3Tag.m:43:45: error: unknown type name 'id3_ucs4_t'
 + (NSString ) stringWithUCS4String: (const id3_ucs4_t ) ucs4Value
ID3Tag.m: In function '+[NSString(ID3TagExtension) stringWithUCS4String:]':
ID3Tag.m:46:3: error: unknown type name 'id3_utf8_t'
   id3_utf8_t *UTF8String;
ID3Tag.m:48:16: warning: implicit declaration of function 'id3_ucs4_utf8duplicate' [-Wimplicit-function-declaration]
   UTF8String = id3_ucs4_utf8duplicate (ucs4Value);

- Cause :

All headers exist, but errors appear.

There seems to be conflict between that of <id3tag.h> (ID3Tag library) and "ID3Tag.h" (ID3Tag bundle) due to case insensitve of mingw32 and Windows.


- Workaround :
MINGW32 ~/gap/user-apps/Cynthiune/Bundles/ID3Tag
$ mv ID3Tag.h ID3Tag0.h
$ svn diff

Index: Bundles/ID3Tag/ID3Tag.m
--- Bundles/ID3Tag/ID3Tag.m     (Revision 3075)
+++ Bundles/ID3Tag/ID3Tag.m     (Working copy)
@@ -27,7 +27,7 @@

 #include <id3tag.h>

-#import "ID3Tag.h"
+#import "ID3Tag0.h"

 #define LOCALIZED(X) _b ([ID3Tag class], X)


If there are better patch, please suggest it.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.13-3cd0.
Corresponding source code