LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2004, 02:39 PM   #1
marri
Member
 
Registered: May 2004
Posts: 38

Rep: Reputation: 15
Using sqlapi's


Anybody using sqlapi (www.sqlapi.com)?
I am having problems with compiling a simple .cpp with a "pgAPI.h" file.
The compiler doesn't reckognize the header file, although I have given instruction to compiler:

g++ -c -I ../include test1.cpp
 
Old 08-20-2004, 12:36 AM   #2
cppkid
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
You mean the error is that "can not find pgAPI.h" or something like that. If this is the error it have notinig to do with specific sqlapi, Its the problem in your path, Coz if that header or sqlapi is corrupt then the compiler will find the file and then there can be some other errors while compiling the file.
So you again check the path. You are giving the relative path, So check is there a directory "include" one step back form the working directory or current directory?? Also check the spelling.
Incase you didn't trace some error. Try it:
Copy your header file "pgAPI.h" in the same directory as of your source and then compile it. Check is there the same error.
Also check the spelling of pgAPI.h in your source code.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration