Author Topic: Compiling problems =(  (Read 6786 times)

Offline XorXe

  • Newbies
  • *
  • Posts: 34
  • Karma: +0/-0
  • Learning 4 Masters ^^
Compiling problems =(
« on: December 19, 2005, 09:21:31 PM »
Hi guys i try to compile ekmame, but i have problems in fronthlp.c i have a sintax errors  :confused: but i never touch this file, this is the error.



and this in my fronthlp.c

Offline iq_132

  • Administrator
  • *****
  • Posts: 3723
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: Compiling problems =(
« Reply #1 on: December 20, 2005, 04:24:19 AM »
Have you tried deleting your obj dir?  It's possible that it just didn't build correctly the first time.


Offline XorXe

  • Newbies
  • *
  • Posts: 34
  • Karma: +0/-0
  • Learning 4 Masters ^^
Re: Compiling problems =(
« Reply #2 on: December 20, 2005, 05:31:33 AM »
Yes i delete the objet dir but dont work  :confused:

And i replace 421 to 440 lines for other source (same lines) but doesnt work.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3723
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: Compiling problems =(
« Reply #3 on: December 22, 2005, 07:03:01 PM »
I think the problem may be here:

Code: [Select]
#ifdef UNICODE
WCHAR tname[MAX_PATH];
MultiByteToWideChar(CP_ACP, 0, name, -1, tname, sizeof(tname) / sizeof(tname[0]));
#else
const char *tname = name;
#endif

Are you defining UNICODE or no?
If you're not, I'd suggest commenting out:
// WCHAR...
// MultiByte..


Offline XorXe

  • Newbies
  • *
  • Posts: 34
  • Karma: +0/-0
  • Learning 4 Masters ^^
Re: Compiling problems =(
« Reply #4 on: December 23, 2005, 12:46:08 AM »
mmm i think unicode is only for compiling in asian languajes, but im compile in english.

And i modify fronthlp.c like this

Code: [Select]
#ifdef UNICODE
// WCHAR tname[MAX_PATH];
// MultiByteToWideChar(CP_ACP, 0, name, -1, tname, sizeof(tname) / sizeof(tname[0]));
#else
const char *tname = name;
#endif

but i already have problems.


Offline MOONAIR

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Compiling problems =(
« Reply #5 on: April 13, 2006, 02:07:11 AM »
I meet the same problem.Try to download w32api-3.6.tar.gz....Good Luck!
« Last Edit: April 13, 2006, 02:11:24 AM by MOONAIR »
WRC,Emu,Metal