Welcome, Guest. Please login or register.

Author Topic: WinUAE compilation : oh my God !  (Read 1506 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline CosmosTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 949
    • Show only replies by Cosmos
    • http://leblogdecosmos.blogspot.com
WinUAE compilation : oh my God !
« on: January 01, 2007, 03:56:49 PM »
Hi everybody !


I'm trying to compil WinUAE 1.3.4, and I've some trouble with 'linetosrc.c'.



'genlinetosrc_msvc' not create 'linetosrc.c' :

-Build started : Project : genlinetoscr, Config : DebugWin32
Compiling...
genlinetoscr.c
genlinetoscr.c(317):warning C4018:'<': sign/unsign mismatch
Compiling manifest to resources...
Linking...
Embedding manifest...
Build log was saved at "file://c:\..Debug\BuildLog.htm"
genlinetoscr - 0 error(s), 1 warning(s)
= Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped =


And 'genlinetosrc.exe' create nothing too !

What's wrong ?

Please, someone send me the file 'linetosrc.c'.




Another trouble with 'soundcheck_msvc' :

-Build started : Project : soundcheck, Config : Debug Win32
Compiling...
soundcheck.c
soundcheck.c(563):error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
Build log was saved at "file://c:\..\Debug\BuildLog.htm"
soundcheck - 1 error(s), 0 warning(s)
= Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =



So, I add '#include "stdafx.h"' at 'soundcheck.c', and I have :

-Build started : Project : soundcheck, Config : Debug Win32
Compiling...
soundcheck.c
soundcheck.c(8) : error C1083:Can't open precompiled header
file: 'Debug\soundcheck.pch': No such file or directory
Build log was saved at "file://c:\..\Debug\BuildLog.htm"
soundcheck - 1 error(s), 0 warning(s)
= Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =




Help me !!



Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: WinUAE compilation : oh my God !
« Reply #1 on: January 01, 2007, 05:26:28 PM »
stdafx.h is one of the "warts" of the Microsoft Visual C++ compiler.  It appears whenever you start a new project.  It only turns on the full ANSI/ISO standards when compiling code not previously compiled by Visual C++.  I wonder if you'd run into the same problems if you tried compiling it with MinGW compiler under the DevC++ or Code::Blocks IDE instead.  Does the source documentation say anything about what version of Visual C++ it has been compiled with?
 

Offline CosmosTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 949
    • Show only replies by Cosmos
    • http://leblogdecosmos.blogspot.com
Re: WinUAE compilation : oh my God !
« Reply #2 on: January 02, 2007, 03:49:15 AM »
Hi !


>stdafx.h is one of the "warts" of the Microsoft Visual C++ >compiler. It appears whenever you start a new project. It >only turns on the full ANSI/ISO standards when compiling >code not previously compiled by Visual C++.


Ok.



>I wonder if you'd run into the same problems if you tried >compiling it with MinGW compiler under the DevC++ or >Code::Blocks IDE instead

Hum... At this moment, I use VC.

Some sources changes are requied with MinGW compiler ?



>Does the source documentation say anything about what >version of Visual C++ it has been compiled with?

I use v50727.762 (service pack 1), the same one than
the author.




Please, someone upload 'linetosrc.c', 'linetosrc.o'
and 'soundcheck.o' on cosmosamiga@voila.fr


Thanks !

Offline mihcael

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 221
    • Show only replies by mihcael
    • http://brutalamiga.mikendezign.com/
Re: WinUAE compilation : oh my God !
« Reply #3 on: January 02, 2007, 05:00:21 AM »
Go to EAB and ask the author!
post in this forum here