[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
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
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
Quote:
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
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.
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
VictorN
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
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?
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
VictorN
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
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
...
Above i have post the link of the project.
Where "Above"? i don't see any. :rolleyes:
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.
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
VictorN
Where "Above"? i don't see any. :rolleyes:
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
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
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
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. :rolleyes:
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
VictorN
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. :rolleyes:
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
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
I'm using Visual C++ 6.0
Quote:
Originally Posted by
johnmcloud@libero.it
... I'm try to edit with Code::Blocks but i have over 70 errors
Well, the third time:
- What type of project/solution is it (Microsoft VC++6.0, Microsoft VS2002/2003, Microsoft VS2005, Microsoft VS2008, Microsoft VS2010, not a Microsoft) ?
- What IDE did you use to compile it?
Quote:
Originally Posted by
johnmcloud@libero.it
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... :cool:
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
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.
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
VictorN
Well, the third time:
- What type of project/solution is it (Microsoft VC++6.0, Microsoft VS2002/2003, Microsoft VS2005, Microsoft VS2008, Microsoft VS2010, not a Microsoft) ?
- What IDE did you use to compile it?
Sorry, I won't open any link I don't trust... :cool:
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
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
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:
Quote:
Syntax Form...
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. :cool:
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. :(
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.
2 Attachment(s)
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
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