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


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

Submitted by:  None
Submitted on:  Sun 16 Aug 2015 02:41:09 AM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



No Changes Have Been Made to This Item

Back to the top

Powered by Savane 3.1-cleanup1