This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Compiling problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 12-24-2005 , 16:36   Compiling problem
Reply With Quote #1

Im trying to compile a simple module. I changed from VC7 to VC7.1 (Visual Studio .NET 2003) and it is giving me one error when compiling.
Code:
error LNK2019: unresolved external symbol "void __cdecl OnAmxxAttach(void)" (?OnAmxxAttach@@YAXXZ) referenced in function _AMXX_Attach
For some reason OnAmxxAttach is giving me problems. I was just doing a simple test compile with the amx_weird function in the documentation.
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 12-24-2005 , 17:26  
Reply With Quote #2

Well... I assume that you uncommented some macro in moduleconfig.h in order for OnAmxxAttach to be called. However, the purpose is that you provide an OnAmxxAttach, which you probably didn't (or it's got a wrong prototype?)
__________________
hello, i am pm
PM is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 12-24-2005 , 17:37  
Reply With Quote #3

The define for FN_AMXX_ATTACH is uncommented and in my source file I have void OnAmxxAttach() with the MF_AddNatives inside
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 12-24-2005 , 22:46  
Reply With Quote #4

source puuuleeease
Freecode is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 12-25-2005 , 10:59   lol
Reply With Quote #5

LOL I figured it out. When I added a new source file I forgot to actually add it to the current project...
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode