-
[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
-
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.
What did you try? :confused:
Does the folder "bzscmn" exist within the VC "Include" directory?
Does the file "file.h" exist within "bzscmn" folder?
Did you try
Code:
#include <bzscmn\file.h>
or
Code:
#include "bzscmn\file.h"
rather than
Code:
#include <bzscmn/file.h>
Quote:
Originally Posted by
johnmcloud@libero.it
I'll post the library, so you can try.
Don't do it. No one here needs it.
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
VictorN
What did you try? :confused:
Does the folder "
bzscmn" exist within the VC "
Include" directory?
Does the file "
file.h" exist within "
bzscmn" folder?
Did you try
Code:
#include <bzscmn\file.h>
or
Code:
#include "bzscmn\file.h"
rather than
Code:
#include <bzscmn/file.h>
Don't do it. No one here needs it.
First: Yes
Second: Yes
Third:Now Yes, with the "" and the <> & / \ --- Not working
I'll post the library not for ads or something, only for understand why the my vb don`t see that library. And i repeat, isn't my code/library, i'd like to modify one simply string.
But it revealed so difficult for me...:(
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
First: Yes
Second: Yes
Third:Now Yes, with the "" and the <> & / \ --- Not working
well, then try to #include this file using its actual full path name with "".
And, BTW, why do you place any non-Microsoft files/folders within Microsoft VC directory? :confused:
Quote:
Originally Posted by
johnmcloud@libero.it
I'll post the library not for ads or something, only for understand why the my vb don`t see that library.
Again: your library has nothing to do with the error you are still referring to:
Quote:
Originally Posted by johnmcloud@libero.it
Code:
Fatal Error C1083 Cannot open include file "bzscmn/file.h" No such file or directory
-
1 Attachment(s)
Re: [C++] Build Error? Please Help!
Did you run the setup for this library?
Did you see this option page? What did you have checked on it?
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
VictorN
Again: your library has nothing to do with the error you are still referring to:
Sorry VictorN, but i think is the problem. The file .cpp need to include a external file ( file.h and many other ) to be build
That file is a part of the library. The author of the software say:
To build WinCDEmu from the source code, you'll need to download the BazisLib library.
I think the problem is i can't load this library, so i can't build the file.
Quote:
Originally Posted by
VladimirF
Did you run the setup for this library?
Did you see this option page? What did you have checked on it?
Never see that screen before
After install i have only the directory with the file, and i have drag/drop in the "include" vb. I think the same thing do that window
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
...
Never see that screen before
After install i have only the directory with the file, and i have drag/drop in the "include" vb. I think the same thing do that window
What does
"include" vb have to do with the VC? :confused:
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
Sorry VictorN, but i think is the problem. The file .cpp need to include a external file ( file.h and many other ) to be build
That file is a part of the library. The author of the software say:
To build WinCDEmu from the source code, you'll need to download the BazisLib library.
I think the problem is i can't load this library, so i can't build the file.
Never see that screen before
After install i have only the directory with the file, and i have drag/drop in the "include" vb. I think the same thing do that window
The library comes into play when you link your code. You're getting compile errors. You haven't got the point where the library is being used yet.
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
GCDEF
The library comes into play when you link your code. You're getting compile errors. You haven't got the point where the library is being used yet.
I don't have idea, this is the reason i have post a thread to this forum, with a hope someone with 5 minute download the source and the library and see what is the problem. Its one week i can try with no results
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
Never see that screen before
After install i have only the directory with the file, and i have drag/drop in the "include" vb. I think the same thing do that window
So WHAT did you install?
I actually followed your link to sourceforge and got the installer from there.
How did you "install" it?
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
VladimirF
So WHAT did you install?
I actually followed your link to sourceforge and got the installer from there.
How did you "install" it?
Sure i install, it appears a screen to select directory to extract, default is:
C:/opensource/bazislib
It install in that director and finish
I have also upload the file in .rar in a previus post, so i have install it
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
johnmcloud@libero.it
Sure i install, it appears a screen to select directory to extract, default is:
C:/opensource/bazislib
It install in that director and finish
I have also upload the file in .rar in a previus post, so i have install it
Where did you get your "installer"?
I just went to the sourceforge, clicked on green button "Download BazisLib-2.5.3.exe".
That exe file is the installer, which prompts to update your Visual Studio include path (as seen on my screenshot).
Anyway, if you don't run this installer, you can update this path yourself:
Tools->Options->Projects and Solutions->VC++ Directories and select "Include Files".
I think it was already suggested above in this thread...
-
Re: [C++] Build Error? Please Help!
Quote:
Originally Posted by
VladimirF
Where did you get your "installer"?
I just went to the
sourceforge, clicked on green button "Download BazisLib-2.5.3.exe".
That exe file is the installer, which prompts to update your Visual Studio include path (as seen on my screenshot).
Anyway, if you don't run this installer, you can update this path yourself:
Tools->Options->Projects and Solutions->VC++ Directories and select "Include Files".
I think it was already suggested above in this thread...
I have the file in "include" dir, i have add the file with "include file"
Can you try to compile the .cpp for me? It`s only one string...
Please.