Results 1 to 13 of 13
  1. #1
    westomat's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0

    Menu code problem. Cannot open include file: 'Base.h'

    Just started learning how to make hacks and i'm having trouble with my menu.
    I've written all the code and when i come to Build it i get:
    fatal error C1083: Cannot open include file: 'Base.h': No such file or directory.
    I have searched MPGH and google and it seems to tell me to download DirectX SDK and add VC++ Directory files.
    I downloaded it and i'm pretty sure i added those VC++ Directory files right.
    But i still get the same problem?
    Help!

  2. #2
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,510
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    Read your errors, you need to include base.h

    And I think you need to check where'd you put the location of the base.h

  3. #3
    westomat's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Are these the right locations for them?
    C:\Program Files\Microsoft DirectX SDK (June 2010)\Utilities\Bin\x86
    C:\Program Files\Microsoft DirectX SDK (June 2010)\Include
    C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86

    or the DirectX SDK had nothing to do with base.h?

    And i have #include "Base.h" at the top of my code.

  4. #4
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by westomat View Post
    Are these the right locations for them?
    C:\Program Files\Microsoft DirectX SDK (June 2010)\Utilities\Bin\x86
    C:\Program Files\Microsoft DirectX SDK (June 2010)\Include
    C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86

    or the DirectX SDK had nothing to do with base.h?

    And i have #include "Base.h" at the top of my code.
    Nope SDK Wouldnt have nothin to do with it
    Is Base.h In the project....

  5. #5
    westomat's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Yes it is.
    Even if i get rid of the
    #include "Base.h"
    the next #include has an error.
    Im so confused.

  6. #6
    westomat's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Does anyone else know whats is happening?
    im still getting this error.
    1>------ Build started: Project: test, Configuration: Debug Win32 ------
    1>Compiling...
    1>Base.cpp
    1>c:\users\documents\visual studio 2008\projects\test\test\base.cpp(3) : fatal error C1083: Cannot open include file: 'Base.h': No such file or directory
    1>Build log was saved at "file://c:\Users\Documents\Visual Studio 2008\Projects\test\test\Debug\BuildLog.htm"
    1>test - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

  7. #7
    jonnyboy9985's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Canada :D
    Posts
    892
    Reputation
    -46
    Thanks
    66
    My Mood
    Chatty

    Question

    Why are you trying to include Base.h? Is it a menu hack you are working on?

    Quote Originally Posted by westomat View Post
    Yes it is.
    Even if i get rid of the
    #include "Base.h"
    the next #include has an error.
    Im so confused.
    And plus, just because it says that #include function has an error, does NOT mean that thats where the error is... You coding could very well be correct, just you are not telling the preprocessor to look in the right places?

  8. #8
    BossMan.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    BossWorld
    Posts
    3,314
    Reputation
    51
    Thanks
    430
    My Mood
    Relaxed
    Wrong section, ask the source codes people.



  9. #9
    westomat's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Dr. Fatality View Post
    Wrong section, ask the source codes people.
    Its not the wrong section. Look
    https://www.mpgh.net/forum/207-combat...9-warning.html

    Thanks for your help guys, i just started learning 2 days ago i guess menu is a bit too hard for me atm.

  10. #10
    o-o's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    who reading that ? T_T
    Posts
    682
    Reputation
    10
    Thanks
    307
    My Mood
    Cold
    Quote Originally Posted by westomat View Post
    Does anyone else know whats is happening?
    im still getting this error.
    1>------ Build started: Project: test, Configuration: Debug Win32 ------
    1>Compiling...
    1>Base.cpp
    1>c:\users\documents\visual studio 2008\projects\test\test\base.cpp(3) : fatal error C1083: Cannot open include file: 'Base.h': No such file or directory
    1>Build log was saved at "file://c:\Users\Documents\Visual Studio 2008\Projects\test\test\Debug\BuildLog.htm"
    1>test - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Quote Originally Posted by westomat View Post
    Yes it is.
    Even if i get rid of the
    #include "Base.h"
    the next #include has an error.
    Im so confused.
    Double Post o-o

  11. #11
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Wowo fail hahah create a base.h in you directory lol. also seems like you copied and pasted the menu because i copied and pasted and got the same error except ik knew what to do..:/

  12. #12
    holygrail's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    My Gf's Vagina
    Posts
    85
    Reputation
    10
    Thanks
    5
    My Mood
    Confused
    i think johnny is right
    [IMG]https://lotuselise*********/images/Lotus_Elise_Florida_Beach3.jpg[/IMG]
    ^ Look at the fat chick in the car

    Saleen S7 Twin Turbo
    Respect List
    Lolz2much
    Dave
    NeverBorn
    Liz
    Obama
    BombsAway707
    InHuman

  13. #13
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,510
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    They changed the rule so you can now have discussions in the hack source code section.

Similar Threads

  1. Fatal error C1083 : Cannot open include...
    By BACKD00R in forum Combat Arms BR Coding Help
    Replies: 34
    Last Post: 06-30-2011, 09:24 AM
  2. [HELP] Admin menu / Coding problem
    By Raffeman in forum Other Programming
    Replies: 15
    Last Post: 09-01-2010, 08:45 AM
  3. 1>LINK : fatal error LNK1181: cannot open input file 'd3dx9.lib'
    By ipwnuuaal5 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 08-29-2010, 02:31 AM
  4. fatal error LNK1104: cannot open file "d3dx8.lib"
    By SteeL in forum C++/C Programming
    Replies: 8
    Last Post: 07-22-2008, 06:59 AM
  5. cannot open a zip file?
    By XqwertyX in forum WarRock Korea Hacks
    Replies: 4
    Last Post: 05-13-2007, 04:03 AM