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 » build CppSQLite failed
build CppSQLite failed [message #4887] Thu, 24 August 2006 06:25 Go to next message
unknown user
add CppSQLite( http://www.codeproject.com/database/CppSQLite.asp?df=100& ;amp ;forumid=34722&select=1639739&msg=1639739)
to U++ project,and build,then I get:
============================================================ =
Linking...
(option '-O 2' ignored)
___main: duplicate
-> used: libmingw32.a:gccmain.o:1
-> discarded: libgcc.a:__main.o:1
1 undefined symbol(s):
_WinMain@16 (referenced from libmingw32.a:main.o:1; _main; .text)
linking aborted due to fatal errors
collect2: ld returned 1 exit status

There were errors. (0:00.93)
============================================================ =
I know there is a sqlite plugin,but I just don't want to rewrite my code

================================================
#include "CppSQLite3.h"

#include <CtrlLib/CtrlLib.h>

struct App : public TopWindow
{
ULeftCtrl Left;
URightCtrl Right;
//CppSQLite3DB database;
//CppSQLite3DB logdb;
================================================



hope someone give me a hand
thans first

[Updated on: Thu, 24 August 2006 06:26] by Moderator

Report message to a moderator

Re: build CppSQLite failed [message #4895 is a reply to message #4887] Thu, 24 August 2006 16:17 Go to previous message
unknown user
forget this post,it is because of no new package for CppSQLite
Previous Topic: MySql.cpp (MySqlSession::Connect)
Next Topic: Can I create DBF files?
Goto Forum:
  


Current Time: Mon Apr 29 00:06:05 CEST 2024

Total time taken to generate the page: 0.03933 seconds