Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » MySQL Example: NativeMySql/NativeMySql.sch: No such file or directory
MySQL Example: NativeMySql/NativeMySql.sch: No such file or directory [message #37084] Tue, 21 August 2012 00:47 Go to next message
x0d3r is currently offline  x0d3r
Messages: 1
Registered: August 2012
Junior Member
Hello there ! Im trying to run this example:

http://www.ultimatepp.org/srcdoc$MySql$NativeMySql$cs-cz.htm l

But this error shows:

In file included from C:\upp\uppsrc/MySql/MySqlSchema.h:65:0,
                 from C:\upp\uppsrc/Sql/sch_header.h:37,
                 from C:\upp\appz\HellloCpp\main.cpp:7:
C:\upp\uppsrc/Sql/sch_model.h:162:15: fatal error: NativeMySql/NativeMySql.sch: No such file or directory
compilation terminated.
HellloCpp: 1 file(s) built in (0:00.39), 391 msecs / file, duration = 406 msecs, parallelization 0%

There were errors. (0:00.45)



Any clue??

Thanks in advance
Re: MySQL Example: NativeMySql/NativeMySql.sch: No such file or directory [message #37088 is a reply to message #37084] Tue, 21 August 2012 11:22 Go to previous messageGo to next message
unknown user
Hi x0d3r,

In order to compile, your project should be named NativeMySql and schema file should be named NativeMySql.sch, or change the define of schema file to match your project name
#define MODEL <HellloCpp/NativeMySql.sch>

where NativeMySql.sch contain the following code
TABLE_(test_table)
    INT_(id)PRIMARY_KEY AUTO_INCREMENT
    STRING_(value,50)
END_TABLE


Best regards,
Andrei
Re: MySQL Example: NativeMySql/NativeMySql.sch: No such file or directory [message #37114 is a reply to message #37088] Sat, 25 August 2012 13:34 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Also note that TheIDE can insert the code needed to include .sch file into package. Add .sch file, rightclick in the source editor and choose "Insert" / "Insert xxx.sch include".
Previous Topic: Cannot connect to MySQL database
Next Topic: Multi-column unique index
Goto Forum:
  


Current Time: Fri Apr 19 22:36:51 CEST 2024

Total time taken to generate the page: 0.02362 seconds