Dev C Error Lglut32 No Such File Or Directory

  
Dev C Error Lglut32 No Such File Or Directory 5,0/5 359 votes

Error: boost/shared_ptr.hpp: No such file or directory
Posted by: aitor sanchez
Date: February 05, 2018 09:41AM

This is completely fresh install with no other software than windows and wxDev C. No Mingw or MSYS. Make and g get called but the problem is cpp file - like it does not exists ( but it does - with all other files - header, dev, Makefile.Win). Ok remark 1, do not add multiple answers to start communicating. kingdom rush vengeance mac download Use the comment tab or edit a previous answer to add more info. Besides that, OpenCV is not a compiler, it is a library that can be compiled by gcc mingw vc. Tons of compilers possible. Vc11 indicates you are using visual studio 2010 or 2012, while you are trying to set up OpenCV for DEV C.


Hello,
it's my first time using this connector so I'm trying an example taken from MySQL site. I'm trying to see how to work with this connector to build a new C++ program, get in touch with the methodology, variables, headers, etc, but everytime I try to compile the code (copied below) I got the error '[Error] boost/shared_ptr.hpp: No such file or directory'. Do you know why? what is that boost folder/package? Is it coming with the connector?
These are the info you could need to help me:
1) Compiler/IDE: DEV C++ v5.11
2) MySQL Connector: mysql-connector-c++-1.1.9-winx64
3) Windows 7 64b (I know it's old but I need to develop this using that version of Windows)
4) ERROR MESSAGE:
C:Users9888766DocumentsMySQL_Testmysql-connectorincludemysql_connection.h [Error] boost/shared_ptr.hpp: No such file or directory
CODE/PROGRAM (taken from MYSQL site):
/* Standard C++ includes */
#include <stdlib.h>
#include <iostream>
/*
Include directly the different
headers from cppconn/ and mysql_driver.h + mysql_util.h
(and mysql_connection.h). This will reduce your build time!
*/
#include 'mysql_connection.h'
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>
using namespace std;
int main(void)
{
cout << endl;
cout << 'Running 'SELECT 'Hello World!' »
AS _message'.' << endl;
try {
sql::Driver *driver;
sql::Connection *con;
sql::Statement *stmt;
sql::ResultSet *res;
/* Create a connection */
driver = get_driver_instance();
con = driver->connect('tcp://127.0.0.1:3306', 'root', 'root');
/* Connect to the MySQL test database */
con->setSchema('test');
stmt = con->createStatement();
res = stmt->executeQuery('SELECT 'Hello World!' AS _message');
while (res->next()) {
cout << 't. MySQL replies: ';
/* Access column data by alias or column name */
cout << res->getString('_message') << endl;
cout << 't. MySQL says it again: ';
/* Access column data by numeric offset, 1 is the first column */
cout << res->getString(1) << endl;
}
delete res;
delete stmt;
delete con;
} catch (sql::SQLException &e) {
cout << '# ERR: SQLException in ' << __FILE__;
cout << '(' << __FUNCTION__ << ') on line ' »
<< __LINE__ << endl;
cout << '# ERR: ' << e.what();
cout << ' (MySQL error code: ' << e.getErrorCode();
cout << ', SQLState: ' << e.getSQLState() << ' )' << endl;
}
cout << endl;
return EXIT_SUCCESS;
}

Options:Reply•Quote

Views
Posted
Error: boost/shared_ptr.hpp: No such file or directory
Re: Error: boost/shared_ptr.hpp: No such file or directory
Re: Error: boost/shared_ptr.hpp: No such file or directory
Re: Error: boost/shared_ptr.hpp: No such file or directory
Re: Error: boost/shared_ptr.hpp: No such file or directory
Re: Error: boost/shared_ptr.hpp: No such file or directory
Re: Error: boost/shared_ptr.hpp: No such file or directory
Re: Error: boost/shared_ptr.hpp: No such file or directory
Re: Error: boost/shared_ptr.hpp: No such file or directory

Sorry, you can't reply to this topic. It has been closed.

Dev C Error Lglut32 No Such File Or Directory Enquiries

Bmw tis wds download. Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.