Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Compiling IML file problem
Re: Compiling IML file problem [message #3566 is a reply to message #3526] Thu, 01 June 2006 21:17 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
wanzi wrote on Wed, 31 May 2006 04:38

Hi, I just downloaded the UPP, when trying to compile the examples, it gives error saying some thing like constant begins at new line.

So I open the file, and found that for many lines, the string didn't end with the quotation mark. Presumably due to the encoding problem, I then changed the encoding in the package orgnizer from default to window-1252.

Now I could see they were correctly quoted, but the compiler still didn't recognize it, I then copied the code from TheIDE and pasted it to a new file and changed its internal encoding to window-1252, then saved it.

Finally It compiled, but all images in the apps are corrupted, I then re-examed the warning issued from the previous build, found that because the file contained the non-ascii strings, it required that for every string i need to add _T macro for it, otherwise some info may be lost.

Since there are 2000+ lines, I wanna know if there's a way to get around it.

I am using MSVC8 professional with WinXP.

Any suggestion is appreciated.


Well, this is really strange, I have not experienced anything like this so far... Of course, if you change .iml encoding, it would lead to this kind of problem (because data there binary).

And yes, there is some strange problem with string encoding in MSC 8.0

Could you please check .iml files with some form of hex editor to see whether there are or not those '\"' at the end?

Mirek
 
Read Message BugFixedDead.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Does any one compile successfully on cygwin?
Next Topic: demo package name "y1" can't compile?
Goto Forum:
  


Current Time: Mon Apr 28 09:05:00 CEST 2025

Total time taken to generate the page: 0.01062 seconds