C++ failing [message #275241] |
Tue, 24 July 2007 07:48 |
Sn1per74*
Messages: 939 Registered: April 2006
Karma: 0
|
Colonel |
|
|
I'm trying to make a plugin for SSGM. I extracted the plugin example to my desktop. I'm trying to do chat hook stuff. So I open up Visual c++ studio 2005 and I IMMEDIATELY build the plugin. And I ALWAYS GET AN ERROR! IDK whats up. PLEASE help.
Quote: | 1>------ Build started: Project: Plugin, Configuration: Release Win32 ------
1>Compiling...
1>cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler
1>scripts.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_weap.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_threading.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_tdb.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_string.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_script.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_pt.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_player.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_phys.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_obj2.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_obj.cpp
1>c:\documents and settings\My_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_net.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_math.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_io.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_game.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_dmg.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_diagnostics.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_def.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_common.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_bhs.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Compiling...
1>dllmain.cpp
1>.\dllmain.cpp(15) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>plugin.cpp
1>.\plugin.cpp(24) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>gmsettingsclass.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>gmmain.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>gmfunc.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>gmcommandclass.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>engine_gm.cpp
1>c:\documents and settings\my_name\desktop\plugin example source\plugin example source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 8.00.50727
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>BSCMAKE: error BK1506 : cannot open file '.\tmp\scripts\engine_gm.sbr': No such file or directory
1>Build log was saved at "file://c:\Documents and Settings\my_name\Desktop\Plugin Example Source\Plugin Example Source\tmp\scripts\BuildLog.htm"
1>Plugin - 28 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
Creator: AoBFrost
[Updated on: Tue, 24 July 2007 07:52] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: C++ failing [message #275298 is a reply to message #275295] |
Tue, 24 July 2007 11:57 |
Sn1per74*
Messages: 939 Registered: April 2006
Karma: 0
|
Colonel |
|
|
You gotta do ALL THAT! I downloaded both the directX SDK and the other SDK mention in the link up there. But it didn't say to type in a path like it said to do in the step by step tutorial?! Please... Bear with me.
Creator: AoBFrost
[Updated on: Tue, 24 July 2007 11:59] Report message to a moderator
|
|
|
|
Re: C++ failing [message #275303 is a reply to message #275241] |
Tue, 24 July 2007 12:10 |
|
Dave Anderson
Messages: 1953 Registered: December 2004 Location: United States
Karma: 0
|
General (1 Star) |
|
|
You don't need the DirectX SDK unless you're planning on programming with 3D technology. That link explains everything you need to do.
David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)
|
|
|
Re: C++ failing [message #275312 is a reply to message #275302] |
Tue, 24 July 2007 12:33 |
Sn1per74*
Messages: 939 Registered: April 2006
Karma: 0
|
Colonel |
|
|
Tunaman wrote on Tue, 24 July 2007 14:07 | I believe you have to add lines for the includes and libraries of the DirectX SDK as well, lemme see if I can find you a good place to give you instructions.
|
If not, will somebody care to give me their AIM or MSN so they can walk me through it. Much appreciated.
Creator: AoBFrost
|
|
|
|
|
|
Re: C++ failing [message #275370 is a reply to message #275241] |
Tue, 24 July 2007 21:10 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
It's looking for a windows.h file and failing to find it when you compile. :/
I don't know why, though I haven't tried compiling my modified SSGM, yet.
-MathK1LL
|
|
|
Re: C++ failing [message #275380 is a reply to message #275370] |
Tue, 24 July 2007 21:36 |
Tunaman
Messages: 1190 Registered: January 2005
Karma: 2
|
General (1 Star) |
|
|
MathK1LL wrote on Wed, 25 July 2007 00:10 | It's looking for a windows.h file and failing to find it when you compile. :/
I don't know why, though I haven't tried compiling my modified SSGM, yet.
-MathK1LL
|
We already answered his question lol, he didn't set up the platform SDK correctly to work with his compiler.
[Updated on: Tue, 24 July 2007 21:36] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: C++ failing [message #275469 is a reply to message #275241] |
Wed, 25 July 2007 12:44 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
@ Sn1per74: Ctrl+G while you're viewing the AppSettings.htm and goto line 441.
As for me though, I think I botched up something when following that tutorial on MSDN's website...
It all goes fine until the end when I try to compile the source to SSCoOp, but at the end...it goes like the following >>
Compiling SSCoOp Source | dllmain.obj : error LNK2019: unresolved external symbol "int __cdecl __CxxSetUnhandledExceptionFilter(void)" (?__CxxSetUnhandledExceptionFilter@@YAHXZ) referenced in function _NotifyHookUnhandledExceptionFilter
scripts.dll : fatal error LNK1120: 1 unresolved externals
|
-MathK1LL
[Updated on: Wed, 25 July 2007 12:46] Report message to a moderator
|
|
|