Plugin does not conform to architecture
#1

As stated in the topic i get this from server when trying to load the helloworld.dll plugin:

"Plugin does not conform to architecture."

Strange cuz helloworld was compiled and linked on the same windows machine as the sa-mp server is running..Any ideas to solve this??

I would have liked to compile with nmake to get all options right, but nmake just dont understand the contents of makefile.w32 which comes with sdk:

"NMAKE : fatal error U1077: 'options' : return code '0x1'
Stop."

Here is buildlog:


Code:
Build Log   ------- Build started: Project: firstplugin, Configuration: Release|Win32 -------

 Command Lines   This edition of Visual C++ does not support the optimizing compiler.
Creating temporary file "c:\Documents and Settings\Administrator\Dokumenter\Visual Studio Projects\firstplugin\Release\RSP00009C.rsp" with contents
[
/D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_MBCS" /FD /EHsc /MDd /GS /Fo"Release/" /Fd"Release/vc70.pdb" /W3 /c /Wp64 /Zi /TP /Od /D "WIN32" /D "_WINDOWS" /D "_USRDLL" /D "_WINDLL" /Gm /EHsc /RTC1 /MDd /W3 /nologo /c /Wp64 /ZI /TP
"\Documents and Settings\Administrator\Dokumenter\Modtagne filer\Sdk\amxplugin.cpp"
"\Documents and Settings\Administrator\Dokumenter\Modtagne filer\HelloWorld\helloworld.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Administrator\Dokumenter\Visual Studio Projects\firstplugin\Release\RSP00009C.rsp" /nologo"
Creating temporary file "c:\Documents and Settings\Administrator\Dokumenter\Visual Studio Projects\firstplugin\Release\RSP00009D.rsp" with contents
[
/D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_MBCS" /FD /EHsc /MDd /GS /Fo"Release/" /Fd"Release/vc70.pdb" /W3 /c /Wp64 /Zi /TC /Od /D "WIN32" /D "_WINDOWS" /D "_USRDLL" /D "_WINDLL" /Gm /EHsc /RTC1 /MDd /W3 /nologo /c /Wp64 /ZI /TP
"\Documents and Settings\Administrator\Dokumenter\Modtagne filer\Sdk\amx\getch.c"
]
Creating command line "cl.exe @"c:\Documents and Settings\Administrator\Dokumenter\Visual Studio Projects\firstplugin\Release\RSP00009D.rsp" /nologo"
Creating temporary file "c:\Documents and Settings\Administrator\Dokumenter\Visual Studio Projects\firstplugin\Release\RSP00009E.rsp" with contents
[
/OUT:"Release/firstplugin.dll" /INCREMENTAL:NO /NOLOGO /DLL /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /MACHINE:X86 /MANIFEST:NO /MAP:"helloworld.map" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
".\release\helloworld.obj"
".\release\getch.obj"
".\release\amxplugin.obj"
]
Creating command line "link.exe @"c:\Documents and Settings\Administrator\Dokumenter\Visual Studio Projects\firstplugin\Release\RSP00009E.rsp""
 Output Window   Compiling...
amxplugin.cpp
helloworld.cpp
Generating Code...
Compiling...
cl : Command line warning D4025 : overriding '/TC' with '/TP'
getch.c
Linking...
LINK : warning LNK4044: unrecognized option '/MANIFEST:NO'; ignored
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
 Results   Build log was saved at "file://c:\Documents and Settings\Administrator\Dokumenter\Visual Studio Projects\firstplugin\Release\BuildLog.htm"
firstplugin - 0 error(s), 3 warning(s)
Im stuck here..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)