compiling error

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

someonereallyspecial
decaying skeleton
decaying skeleton
Posts: 1
Joined: Tue Nov 08, 2005 9:58 pm

compiling error

Post by someonereallyspecial » Tue Nov 08, 2005 10:43 pm

http://www.macroquest2.com/wiki/index.p ... leshooting

when i try to compile mq2 using Microsoft Visual C++ Toolkit 2003 i get the error Fatal error C1189: #error : Unknown CPU Architecture!

does anyone know what the problem is? i searched for it on here on wiki and on google but could not find anything regarding my error.

drfly
a lesser mummy
a lesser mummy
Posts: 31
Joined: Wed Nov 02, 2005 8:49 am

Post by drfly » Wed Nov 09, 2005 5:40 am

Sounds like a Microsoft Visual C++ Toolkit 2003 + your system problem rather than anything to do with MQ2 compilation. Not enough information supplied by you to even speculate really...

Having said that:
http://www.macroquest2.com/phpBB2/viewtopic.php?t=12159

If you are not an expert, I'd advise following the directions in the wiki or the online documentation.

rapierguy
a ghoul
a ghoul
Posts: 122
Joined: Thu Apr 14, 2005 1:07 am

Post by rapierguy » Sun Jan 29, 2006 10:21 pm

Been using VS2005 for a while now. With the latest zip, MQ2-20060129.zip,

VS2005 came up with

Code: Select all

------ Build started: Project: MQ2Main, Configuration: Release Win32 ------
Compiling...
MQ2Windows.cpp
.\MQ2Windows.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Utilities.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Spawns.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Pulse.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2PluginHandler.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2ParseAPI.cpp
.\MQ2ParseAPI.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Mouse.cpp
.\MQ2Mouse.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Main.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
EQLIB_EXPORTS
MQ2MacroCommands.cpp
.\MQ2MacroCommands.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2KeyBinds.cpp
.\MQ2KeyBinds.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Globals.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2DInput.cpp
.\MQ2DInput.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2DetourAPI.cpp
.\MQ2DetourAPI.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2DataVars.cpp
.\MQ2DataVars.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2DataTypes.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2DataAPI.cpp
.\MQ2DataAPI.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Data.cpp
.\MQ2Data.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Commands.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2CommandAPI.cpp
.\MQ2CommandAPI.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2CleanUI.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
Generating Code...
Compiling...
MQ2ChatHook.cpp
.\MQ2ChatHook.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Benchmarks.cpp
.\MQ2Benchmarks.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
MQ2Auth.cpp
.\MQ2Auth.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
EQClasses.cpp
c:\mq2\mq2main\..\Blech\Blech.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
Generating Code...
Build log was saved at "file://c:\MQ2\MQ2Main\Intermediate\BuildLog.htm"
MQ2Main - 24 error(s), 0 warning(s)
------ Skipped Build: Project: MQ2CustomBinds, Configuration: Release Win32 ------
Project not selected to build for this solution configuration 
------ Skipped Build: Project: MQ2Bzsrch, Configuration: Release Win32 ------
Project not selected to build for this solution configuration 
------ Skipped Build: Project: MQ2EQIM, Configuration: Release Win32 ------
Project not selected to build for this solution configuration 
------ Skipped Build: Project: MQ2Irc, Configuration: Release Win32 ------
Project not selected to build for this solution configuration 
------ Build started: Project: MQ2HUD, Configuration: Release Win32 ------
Compiling...
MQ2HUD.cpp
c:\mq2\mq2hud\../MQ2Plugin.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
EQLIB_IMPORTS
Build log was saved at "file://c:\MQ2\MQ2HUD\Intermediate\BuildLog.htm"
MQ2HUD - 1 error(s), 0 warning(s)
------ Skipped Build: Project: MQ2EQBugFix, Configuration: Release Win32 ------
Project not selected to build for this solution configuration 
------ Build started: Project: MQ2Telnet, Configuration: Release Win32 ------
Compiling...
WinTelnet.cpp
TelnetServer.cpp
c:\mq2\mq2telnet\../MQ2Plugin.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
EQLIB_IMPORTS
mq2telnet.cpp
c:\mq2\mq2telnet\../MQ2Plugin.h : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
EQLIB_IMPORTS
Generating Code...
Build log was saved at "file://c:\MQ2\mq2telnet\Intermediate\BuildLog.htm"
MQ2Telnet - 2 error(s), 0 warning(s)
------ Skipped Build: Project: MQ2ChatWnd, Configuration: Release Win32 ------
Project not selected to build for this solution configuration 
------ Skipped Build: Project: MQ2ItemDisplay, Configuration: Release Win32 ------
Project not selected to build for this solution configuration 
------ Skipped Build: Project: MQ2Map, Configuration: Release Win32 ------
Project not selected to build for this solution configuration 
------ Skipped Build: Project: MQ2Labels, Configuration: Release Win32 ------
Project not selected to build for this solution configuration 
------ Build started: Project: MQ2Chat, Configuration: Release Win32 ------
Compiling...
MQ2Chat.cpp
.\MQ2Chat.cpp : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
EQLIB_IMPORTS
Build log was saved at "file://c:\MQ2\MQ2Chat\Intermediate\BuildLog.htm"
MQ2Chat - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 4 failed, 0 up-to-date, 9 skipped ==========
I am goign to assume that where it states that a Mac file format has been found should to be converted to DOS or Linux but I'm kinda stupid at how to begin to convert something like that

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Jan 29, 2006 10:30 pm

winzip

rapierguy
a ghoul
a ghoul
Posts: 122
Joined: Thu Apr 14, 2005 1:07 am

Post by rapierguy » Sun Jan 29, 2006 10:38 pm

I always use winzip to Unzip all the files never had any problems prior to this when compiling after I've unzipped

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Jan 29, 2006 11:03 pm

I fixed the formating. Redownload.

rapierguy
a ghoul
a ghoul
Posts: 122
Joined: Thu Apr 14, 2005 1:07 am

Post by rapierguy » Sun Jan 29, 2006 11:07 pm

DKAA thanks man yer a GOD no errors this time thanks =)

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: compiling error

Post by xyilla » Mon Jun 23, 2025 4:39 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: compiling error

Post by xyilla » Mon Jun 23, 2025 4:41 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: compiling error

Post by xyilla » Mon Jun 23, 2025 4:42 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: compiling error

Post by xyilla » Mon Jun 23, 2025 4:43 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: compiling error

Post by xyilla » Mon Jun 23, 2025 4:44 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: compiling error

Post by xyilla » Mon Jun 23, 2025 4:45 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: compiling error

Post by xyilla » Mon Jun 23, 2025 4:46 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: compiling error

Post by xyilla » Mon Jun 23, 2025 4:47 am