473,396 Members | 2,009 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

couldn't open include file

10
recently i'd downloaded a source code in c++ and tried to compile and run in VS C++ 6.0. however the source code couldn't be compiled. the error is as follows>

before that, there is a header file in the source code written like this #include "..\..\..\VspApi\VspApi.h"

and the error message is as follows:

the include file couldnt be opened '..\..\..\VspApi\VspApi.h' : file or directory couldn be found...

what should i modify here to get it working....FYI i'd added all the files (.cpp,.lib,.h) and also the VspApi.h file into the same file in myproject folder.......please explain.

im working on Win XP platform.
Jan 25 '07 #1
1 2463
Soujiro
35
recently i'd downloaded a source code in c++ and tried to compile and run in VS C++ 6.0. however the source code couldn't be compiled. the error is as follows>

before that, there is a header file in the source code written like this #include "..\..\..\VspApi\VspApi.h"

and the error message is as follows:

the include file couldnt be opened '..\..\..\VspApi\VspApi.h' : file or directory couldn be found...

what should i modify here to get it working....FYI i'd added all the files (.cpp,.lib,.h) and also the VspApi.h file into the same file in myproject folder.......please explain.

im working on Win XP platform.

..\..\..\ would be 3 parent directory up... there you can create a folder VspApi inside would the the VspApi.h.. but you could also change the include into somthing like #include "VspApi.h".. if there are problems ask again..

PS. are there any makefiles included in the source code.. or i guess not I can see its WinXp..
Jan 25 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Brian | last post by:
I am trying to open a file in the classes contructor. The file is created and the program even thinks it is open and tries to write to it with no errors, but when I look at the file it is zero...
6
by: Rolf Schroedter | last post by:
(Sorry for cross-posting). I need to access large files > 2GByte (Linux, WinXP/NTFS) using the standard C-library calls. Till today I thought I know how to do it, namely for Win32: Use open(),...
9
by: ferbar | last post by:
Hi all, I'm trying to read from the txt file 'ip.packets.2.txt' using the read function. It seems everything ok, but I get a -1 when executing >>bytesr = read(fdo1, bufread, 2); The 'open'...
4
by: Anders Eriksson | last post by:
Hello! I'm using VC++ 7.1 and MFC. In a header file that is located in a different directory that the main project I include a header file that is located in the main project directory. The...
2
by: Jofio | last post by:
I have 3 files, namely: dArray.h dArray.cp TestdArray.cpp Problem is when I compile the 'main' program - TestdArray.cpp - , it (the compiller) produces the following error: 'Unable to open...
1
by: Tino Alves | last post by:
Hi there, I'm newly here, and a beginner too. I'm tryng to open a file that realy exists, but I cannot do that. I'm using the Turbo C++ 3.0 compiler and my code is: #include <stdio.h>...
2
by: Kevien Lee | last post by:
Hi , I had a strang problam ,when i use StreamWriter to append to a file,i found that if i don't close the StreamReader it couldn't write the data into file,the code as folllow that: class...
5
by: barnetod | last post by:
I am trying to open a text file designated by the user. Then I want to change all lower case values to capital letters. Then write file. I am stuck and can not change the characters or am...
1
by: mostafij | last post by:
// This code write random data into a file and every 5 seconds this //program send 5 seconds data into another file. #include <HEADER FILES> FILE *f1,*f2; int main(int argc, char *argv) {...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.