porting problem: visual studio compile problem

View: New views
4 Messages — Rating Filter:   Alert me  

porting problem: visual studio compile problem

by 明玖 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

     I find the freetype.dsp with 0A as newline, but Visual C++ 6.0 require 0D0A.
    
     So, when I download and uncompress freetype-2.3.9.tar.gz, open the the freetype.dsw with Visual C++ 6, nothing is show, open the freetype.dsp, one dialog show with warn:This makefile was not generated by Developer Studio. I can get nothing on windows platform.
    
     I think before gzip the freetype project files, dos2unix like tool is used or unix2dos should be used for the Visual Studio project files. Visual C++ and new version Visual Studio project files should keep the newline 0D0A.

     Thanks,

mingo wu


好玩贺卡等你发,邮箱贺卡全新上线!
_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: porting problem: visual studio compile problem

by Werner LEMBERG :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> I find the freetype.dsp with 0A as newline, but Visual C++ 6.0
> require 0D0A.

We know that, thanks.

> So, when I download and uncompress freetype-2.3.9.tar.gz, open the
> the freetype.dsw with Visual C++ 6, nothing is show, open the
> freetype.dsp, one dialog show with warn: This makefile was not
> generated by Developer Studio.  I can get nothing on windows
> platform.

The idea is that you download the ZIP file, which contains the proper
line endings for Windows.

> I think before gzip the freetype project files, dos2unix like tool
> is used or unix2dos should be used for the Visual Studio project
> files.  Visual C++ and new version Visual Studio project files
> should keep the newline 0D0A.

If something doesn't work as expected I suggest to first consult the
documentation.  From freetype-2.3.9/builds/win32/visualc/index.html:

  Be sure to extract the files with the Windows (CR+LF) line endings.
  ZIP archives are already stored this way, so no further action is
  required.  If you use some .tar.*z archives, be sure to configure
  your extracting tool to convert the line endings.  For example, with
  WinZip, you should activate the TAR file smart CR/LF Conversion
  option.  Alternatively, you may consider using the unix2dos or u2d
  utilities that are floating around, which specifically deal with
  this particular problem.


     Werner


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: porting problem: visual studio compile problem

by 明玖 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Werner, thanks for your letter.

Before I write the letter 'porting problem: visual studio compile problem', I download ft239.zip,and it's right for visual studio. But gzip file is small the zip file, I prefer to gzip file when I download open source project and it also apply to linux env.

I think why not provide the right dsp project file in gzip doc directly, after all read the index.html must unzip the gz file firstly, and after read, activate the TAR file smart CR/LF Conversion option, unzip freetype again or use unix2dos like tools. It's troublesome.

I think keeping the dsp file unchanged for deliver is more grateful.

mingo


好玩贺卡等你发,邮箱贺卡全新上线!
_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: porting problem: visual studio compile problem

by Werner LEMBERG :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> Before I write the letter 'porting problem: visual studio compile
> problem', I download ft239.zip,and it's right for visual studio.
> But gzip file is small the zip file, I prefer to gzip file when I
> download open source project and it also apply to linux env.
>
> I think why not provide the right dsp project file in gzip doc
> directly, after all read the index.html must unzip the gz file
> firstly, and after read, activate the TAR file smart CR/LF Conversion
> option, unzip freetype again or use unix2dos like tools. It's
> troublesome.
>
> I think keeping the dsp file unchanged for deliver is more grateful.

OK, in git, I've changed the line endings of all Windows project files
to CRLF.


    Werner


_______________________________________________
Freetype-devel mailing list
Freetype-devel@...
http://lists.nongnu.org/mailman/listinfo/freetype-devel