Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » compile error(s)
compile error(s) [message #225206] Fri, 06 October 2006 18:10 Go to next message
chat is currently offline  chat
Messages: 34
Registered: August 2006
Karma: 0
Recruit
when i compile source code of scripts it keeps saying errors like reference cant be found for MessageBoxA and something like that. just need help for fixing this
Re: compile error(s) [message #225321 is a reply to message #225206] Sat, 07 October 2006 10:08 Go to previous messageGo to next message
futura83
Messages: 1285
Registered: July 2006
Location: England
Karma: 0
General (1 Star)
Viva la Resistance!
although i don't know much about c++(you are on about c++ arent you?), i think it would be easier for others to help you if you posted the error message, and, if necessary, the line referenced.

This is a signature. Reading this is wasting your time.

[Updated on: Sat, 07 October 2006 10:08]

Report message to a moderator

Re: compile error(s) [message #225340 is a reply to message #225206] Sat, 07 October 2006 11:30 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
no need, you need to link against user32.lib
Re: compile error(s) [message #225374 is a reply to message #225206] Sat, 07 October 2006 13:59 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

What's the exact error line?
What compiler are you using?
If you use VC 2005 Express (probably other editions too), make sure you have the Platform SDK installed properly. See http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: compile error(s) [message #225403 is a reply to message #225206] Sat, 07 October 2006 16:31 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
if he didn't have the SDK installed, it would wouldn't say that message because compilation would halt when it couldn't find header files.
Re: compile error(s) [message #225445 is a reply to message #225206] Sun, 08 October 2006 03:31 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Yes, but improper installation means missing libs (the lib directory not in the settings), or it means that it does not link to the default libs by default (now that sounds stupid Razz).

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: compile error(s) [message #225510 is a reply to message #225206] Sun, 08 October 2006 11:08 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
but why doesn;t VC++ come with all the header files and lib's because it is praticly useless without them
Re: compile error(s) [message #225527 is a reply to message #225206] Sun, 08 October 2006 11:51 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

It's not useless if you are just coding in ANSI C++
The Microsoft Platform SDK just adds the windows specific stuff...


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: compile error(s) [message #225547 is a reply to message #225527] Sun, 08 October 2006 14:13 Go to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
Cat998 wrote on Sun, 08 October 2006 19:51

It's not useless if you are just coding in ANSI C++
The Microsoft Platform SDK just adds the windows specific stuff...


lol, i knew someone would say that :sneaky

to be more specific, lazy people like me who couldn't arsed with all the hassle like the premade headers In Love
Previous Topic: scripts.dll 2.9.2 is out
Next Topic: brenbot IRC commands not working.
Goto Forum:
  


Current Time: Thu Nov 21 13:42:32 MST 2024

Total time taken to generate the page: 0.00750 seconds