CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Join Date
    Jun 2011
    Posts
    13

    Exclamation [C++] Build Error? Please Help!

    Hi community, i'm new user here.I'm trying modify and build a script from a open source program called WinCdEmu Portable.The portable version have a error in the code and i can use the command line because the software don't recognize the virtual driver installed.
    This is the line to modify:

    Code:
    VirtualCDClient clt&status);
    To this line:

    Code:
    VirtualCDClient clt(&status, true);
    The file is batchmnt.cpp an is in in this source directory:
    souceforge.net/projects/wincdemu/files/wincdemu/3.4/

    This is the library, indispensable for build the file
    bazislib.sysprogs.org/

    Every time i change the line and try to build the file to .exe i have the same error:
    1 Error "file not found..."
    But the file are all here and the library is installed.

    Please someone help me and try to build the file.
    It' very important for me.
    Thanks, John

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by johnmcloud@libero.it View Post
    Hi community, i'm new user here.I'm trying modify and build a script from a open source program called WinCdEmu Portable...
    Well, scripts are not discussed on this Forum. This is
    Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions.
    Quote Originally Posted by johnmcloud@libero.it View Post
    Every time i change the line and try to build the file to .exe i have the same error:
    1 Error "file not found..."
    But the file are all here and the library is installed.
    What IDE are you using?
    Show the exact and full error message.
    Victor Nijegorodov

  3. #3
    Join Date
    Jun 2011
    Posts
    13

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by VictorN View Post
    What IDE are you using?
    Show the exact and full error message.
    Fatal Error C1083 Cannot open include file "bzscmn/file.h" No such file or directory
    The file is present in the same directory
    I'm using Visual C++ 6.0

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: [C++] Build Error? Please Help!

    Which file is present and in which directory?
    In the same as the compiled .cpp is?
    In the project directory?

    And did you try to open the "file" bzscmn/file.h in Windows Explorer?
    Victor Nijegorodov

  5. #5
    Join Date
    Jun 2011
    Posts
    13

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by VictorN View Post
    Which file is present and in which directory?
    In the same as the compiled .cpp is?
    In the project directory?

    And did you try to open the "file" bzscmn/file.h in Windows Explorer?
    I have example:
    C:/project/folder/file.cpp
    C:/project/folder/bzscmn/file.h ----Not working

    I have try also
    C:/project/folder/file.cpp
    C:/project/folder/file.h ----Not working

    I have open the file.h in visual c, the file work.
    Above i have post the link of the project.

    Thanks for your patience

  6. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by johnmcloud@libero.it View Post
    ...
    Above i have post the link of the project.
    Where "Above"? i don't see any.
    Besides, please don't post the "links" to the project. Instead, attach the project (in zip archive) to your post. Please don't include .aps, .ncb files nor Debug/Release folder into that zip.
    Victor Nijegorodov

  7. #7
    Join Date
    Jun 2011
    Posts
    13

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by VictorN View Post
    Where "Above"? i don't see any.
    Besides, please don't post the "links" to the project. Instead, attach the project (in zip archive) to your post. Please don't include .aps, .ncb files nor Debug/Release folder into that zip.
    Ops, sorry
    Here we are...

    The soucecode is in post, but the library exceded the limit of 500kb ( is 529kb ) so i'll post the link

    http://sourceforge.net/projects/bazi...3.exe/download
    Last edited by Steve R Jones; August 27th, 2015 at 01:34 PM.

  8. #8
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by johnmcloud@libero.it View Post
    Fatal Error C1083 Cannot open include file "bzscmn/file.h" No such file or directory
    The file is present in the same directory
    I'm using Visual C++ 6.0
    Quote Originally Posted by johnmcloud@libero.it View Post
    Ops, sorry
    Here we are...

    The soucecode is in post, but the library exceded the limit of 500kb ( is 529kb ) so i'll post the link

    http://sourceforge.net/projects/bazi...3.exe/download
    Well, the projects you have posted in the attached archive are not the VC++6.0 projects. they are created in some more recent than VC++6.0 IDE (since I only have the old VC++6.0 on my home laptop I cannot test these projects)

    Second: there is neither bzscmn folder nor file.h file in the attached archive.
    Last edited by VictorN; July 1st, 2011 at 08:23 AM.
    Victor Nijegorodov

  9. #9
    Join Date
    Jun 2011
    Posts
    13

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by VictorN View Post
    Well, the projects you have posted in the attached archive are not the VC++6.0 projects. they are created in some more recent than VC++6.0 IDE (since I only have the old VC++6.0 on my home laptop I cannot test these projects)

    Second: there neither bzscmn folder nor file.h file in the attached archive.
    First: You think is the problem? I'm try to edit with Code::Blocks but i have over 70 errors

    Second: Download the .exe from the link and extract in a folder. Here you have the bzscmn and other library folder

  10. #10
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by johnmcloud@libero.it View Post
    I'm using Visual C++ 6.0
    Quote Originally Posted by johnmcloud@libero.it View Post
    ... I'm try to edit with Code::Blocks but i have over 70 errors
    Well, the third time:
    1. What type of project/solution is it (Microsoft VC++6.0, Microsoft VS2002/2003, Microsoft VS2005, Microsoft VS2008, Microsoft VS2010, not a Microsoft) ?
    2. What IDE did you use to compile it?

    Quote Originally Posted by johnmcloud@libero.it View Post
    Second: Download the .exe from the link and extract in a folder. Here you have the bzscmn and other library folder
    Sorry, I won't open any link I don't trust...
    Victor Nijegorodov

  11. #11
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by johnmcloud@libero.it View Post
    First: You think is the problem? I'm try to edit with Code::Blocks but i have over 70 errors

    Second: Download the .exe from the link and extract in a folder. Here you have the bzscmn and other library folder
    You seem to be trying really hard not to provide all the information needed to help you.

  12. #12
    Join Date
    Jun 2011
    Posts
    13

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by VictorN View Post
    Well, the third time:
    1. What type of project/solution is it (Microsoft VC++6.0, Microsoft VS2002/2003, Microsoft VS2005, Microsoft VS2008, Microsoft VS2010, not a Microsoft) ?
    2. What IDE did you use to compile it?

    Sorry, I won't open any link I don't trust...
    Is not my code, it`s a open souce software and i want to edit only one string to use a function not expected by the author for the portable version.

    The exe is not a virus
    You can test it with kaspesky, panda ecc... but if you don't want i can't do anything for change your idea

  13. #13
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: [C++] Build Error? Please Help!

    Well, I tried to test one of your projects () in VS2010 (after project converting, of course!) In your post
    Quote Originally Posted by johnmcloud@libero.it View Post
    Fatal Error C1083 Cannot open include file "bzscmn/file.h" No such file or directory
    The file is present in the same directory
    I'm using Visual C++ 6.0
    you messed to show the exact #include directive causing the error. I'm doing it now for you:
    Code:
    #include <bzscmn/file.h>
    Now, please, go to MSDN and read about The #include Directive:
    Syntax Form
    Action
    ...
    Angle-bracket form
    This form instructs the preprocessor to search for include files first along the path specified by the /I compiler option, then, when compiling from the command line, along the path specified by the INCLUDE environment variable.
    None of my PC directory mentioned in MSDN does contain file "bzscmn/file.h", so I got the same error as you had got.
    And I'm pretty sure you don't have this file in the mentioned directory either.

    And BTW, to test this small project to reproduce the error I didn't need any other projects you sent, and, of course, I didn't need any external library either.
    Victor Nijegorodov

  14. #14
    Join Date
    Jun 2011
    Posts
    13

    Re: [C++] Build Error? Please Help!

    The directory is in visual studio, folder "include"?
    I try it but not work

    The error is the same, file not exist.
    I'll post the library, so you can try.

  15. #15
    Join Date
    Jun 2011
    Posts
    13

    Re: [C++] Build Error? Please Help!

    Quote Originally Posted by johnmcloud@libero.it View Post
    The directory is in visual studio, folder "include"?
    I try it but not work

    The error is the same, file not exist.
    I'll post the library, so you can try.
    Here we are. Is not a link, so you can download
    I have extract the file from .exe in two archivie.
    The 2 .rar go into the same directory before extract.

    Thanks again
    Attached Files Attached Files

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured