Page 1 of 1

conflict between OCL and stlport

Posted: Wed 07 Jan 2009 11:59
by sudarshansrode
Hi,

I am working on a project which uses stlport and Oracle Class Library. I have run some demo projects for OCL which work fine. However when I use stlport and OCL together in the project; It generates a runtime error "Illegal instruction".

the part of code giving this error is given below

#include "ocl.h"

using namespace ocl;

int main()
{
OraConnection connection;
char* connectString = "uName/password@dbName";
connection.setConnectString(connectString);
connection.open(); // "Illegal instruction"
connection.close();
}

This program compiles and links right. It gives the error at runtime. Please help me with this

Regards,
Sudarshan

Posted: Fri 09 Jan 2009 15:34
by Paul
We did not test OCL with STLport compiler. Try to find the problem using the source version of OCL Library.