Menu_Pizza_SQlite

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Menu_Pizza_SQlite

Post by serge_girard »

OK, thanks,

Serge
There's nothing you can do that can't be done...
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: Menu_Pizza_SQlite

Post by mustafa »

Hola a todos
Gracias por sus felicitaciones , solo intento ayudar en lo
poco que yo he podido estudiar de los maestros.

Contesto por orden:

Serge:
Error de compilación -> (How to compile properly?)
si te fijas en mi sample hay dos ficheros bat

build.3.4.2.bat y build.3.4.2_64.bat
c:\hmg.3.4.2\build.bat Menu_Sqlite.prg %*
c:\hmg.3.4.2_64\build64.bat Menu_Sqlite.prg %*

a mi no me está dando ningun Error , tienes que mirar
la ruta que tu tengas montado HMG 3.4.2
No estoy utilizando ninguna libreria "libs=hmgsqlite"
ni ningun fichero "Menu_Sqlite.hbc"
renombra -> Menu_Sqlite.aaa a ->Menu_Sqlite.exe

Rathinagiri:
Gracias por sus enseñanzas y consejos de Sudip y Vd.
empezó mi curiosidad por estas bases SQlite.

A mi me gustaría que en el foro se situara un sección
solo dedicada a estas bases de datos donde se aporten
samples y consejos de programación para los que nos
iniciamos en esta otra forma de programar.

Muy agradecido por todos los compañeros de este Foro
Mustafa.

*----------------------- Google-----------------------*

Hi all
Thank you for your congratulations, just try to help as
little I've been able to study teachers.

Answered in order:
 
Serge:
How to compile Properly?
if you look at my sample two bat files

build.3.4.2.bat y build.3.4.2_64.bat
c:\hmg.3.4.2\build.bat Menu_Sqlite.prg %*
c:\hmg.3.4.2_64\build64.bat Menu_Sqlite.prg %*

To me it is not giving me any error, you have to look
the route that you have mounted HMG 3.4.2
I'm not using any library "libs = hmgsqlite"
nor any file "Menu_Sqlite.hbc"
renames -> Menu_Sqlite.aaa a -> Menu_Sqlite.exe

Rathinagiri:
Thank you for your teachings and Sudip tips and you.
It began my curiosity about these bases SQlite.

I really wish the forum for a section located
only dedicated to these databases where they provide
samples and programming tips for us
We started in this other way of programming.

Very grateful for all partners of this Forum
Mustafa.
Attachments
Menu_Sqlite_ExE.zip
(2.25 MiB) Downloaded 299 times
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Menu_Pizza_SQlite

Post by serge_girard »

Mustafa,

Thanks, compile-error was my mistake. It works fine!

Serge
There's nothing you can do that can't be done...
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Menu_Pizza_SQlite

Post by Rathinagiri »

I really wish the forum for a section located
only dedicated to these databases where they provide
samples and programming tips for us
We started in this other way of programming.
Nice idea Mustafa. Even though I had shared some projects fully based on SQLite (like waresoft), as you have said, no samples with simple database operations are available. We shall do necessary things.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
JALMAG
Posts: 262
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: Menu_Pizza_SQlite

Post by JALMAG »

Gracias Mustafá
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Menu_Pizza_SQlite

Post by danielmaximiliano »

Gracias Mustafa por compartir...
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Menu_Pizza_SQlite

Post by luisvasquezcl »

Gracias Mustafá por tu aporte, excelente programa.
Además, muy buena idea de ir especializando el foro, asi la busqueda, consulta y aportes serán mucho más rápidos.
Saludos cordiales,
Luis Vasquez
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Menu_Pizza_SQlite

Post by Roberto Lopez »

Mustafá,

I'm not able to build it. This is my errorlog (Win7 Pro 32 bits):

EDIT: Sorry I'm solved. I've not previously read dragancesu post with the fix.

Code: Select all

Harbour 3.2.0dev (r1509031202)
Copyright (c) 1999-2015, http://harbour-project.org/
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xb5): undefined reference to `sqlite3_close'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x193): undefined reference to `sqlite3_user_data'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x202): undefined reference to `sqlite3_value_type'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x27e): undefined reference to `sqlite3_result_error_code'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x297): undefined reference to `sqlite3_value_bytes'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2a8): undefined reference to `sqlite3_value_blob'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2c8): undefined reference to `sqlite3_value_text'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2f7): undefined reference to `sqlite3_value_double'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x318): undefined reference to `sqlite3_value_int64'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x354): undefined reference to `sqlite3_result_int64'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x364): undefined reference to `sqlite3_result_null'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x39e): undefined reference to `sqlite3_result_text'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3c3): undefined reference to `sqlite3_result_double'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x8d4): undefined reference to `sqlite3_libversion'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x8f4): undefined reference to `sqlite3_libversion_number'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x914): undefined reference to `sqlite3_sourceid'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x934): undefined reference to `sqlite3_initialize'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x954): undefined reference to `sqlite3_shutdown'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xa38): undefined reference to `sqlite3_extended_result_codes'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xb0a): undefined reference to `sqlite3_errcode'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xbda): undefined reference to `sqlite3_extended_errcode'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xcaa): undefined reference to `sqlite3_errmsg'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xce3): undefined reference to `sqlite3_errstr'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xd13): undefined reference to `sqlite3_sleep'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xdda): undefined reference to `sqlite3_last_insert_rowid'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xe6f): undefined reference to `sqlite3_open'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0xf58): undefined reference to `sqlite3_close'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1025): undefined reference to `sqlite3_open_v2'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x10f9): undefined reference to `sqlite3_close'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x12f5): undefined reference to `sqlite3_exec'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1307): undefined reference to `sqlite3_free'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1450): undefined reference to `sqlite3_prepare_v2'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1460): undefined reference to `sqlite3_finalize'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x14ca): undefined reference to `sqlite3_complete'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1537): undefined reference to `sqlite3_sql'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x15c3): undefined reference to `sqlite3_stmt_status'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1637): undefined reference to `sqlite3_stmt_readonly'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1697): undefined reference to `sqlite3_step'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x16f7): undefined reference to `sqlite3_clear_bindings'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1757): undefined reference to `sqlite3_reset'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x17b7): undefined reference to `sqlite3_finalize'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1863): undefined reference to `sqlite3_bind_blob'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1902): undefined reference to `sqlite3_bind_double'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1993): undefined reference to `sqlite3_bind_int'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1a3d): undefined reference to `sqlite3_bind_int64'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1aca): undefined reference to `sqlite3_bind_null'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1b78): undefined reference to `sqlite3_bind_text'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1c23): undefined reference to `sqlite3_bind_zeroblob'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1c97): undefined reference to `sqlite3_bind_parameter_count'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1d18): undefined reference to `sqlite3_bind_parameter_index'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1d9a): undefined reference to `sqlite3_bind_parameter_name'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1e8a): undefined reference to `sqlite3_changes'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1f5a): undefined reference to `sqlite3_total_changes'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x1f97): undefined reference to `sqlite3_column_count'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x200b): undefined reference to `sqlite3_column_type'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x207b): undefined reference to `sqlite3_column_decltype'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x20eb): undefined reference to `sqlite3_column_name'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x215b): undefined reference to `sqlite3_column_bytes'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x21d8): undefined reference to `sqlite3_column_bytes'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x21e6): undefined reference to `sqlite3_column_blob'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x227b): undefined reference to `sqlite3_column_double'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x22eb): undefined reference to `sqlite3_column_int'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x235b): undefined reference to `sqlite3_column_int64'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x23d8): undefined reference to `sqlite3_column_bytes'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x23e6): undefined reference to `sqlite3_column_text'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2538): undefined reference to `sqlite3_load_extension'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2561): undefined reference to `sqlite3_free'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2648): undefined reference to `sqlite3_enable_load_extension'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2748): undefined reference to `sqlite3_busy_timeout'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2878): undefined reference to `sqlite3_get_table'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2920): undefined reference to `sqlite3_free_table'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x294c): undefined reference to `sqlite3_free'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2b0c): undefined reference to `sqlite3_blob_open'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2b9e): undefined reference to `sqlite3_blob_reopen'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2bf7): undefined reference to `sqlite3_blob_close'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2c57): undefined reference to `sqlite3_blob_bytes'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2d00): undefined reference to `sqlite3_blob_read'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2d44): undefined reference to `sqlite3_blob_bytes'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2dfc): undefined reference to `sqlite3_blob_write'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2f0a): undefined reference to `sqlite3_get_autocommit'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2f43): undefined reference to `sqlite3_enable_shared_cache'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3060): undefined reference to `sqlite3_profile'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3180): undefined reference to `sqlite3_trace'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3376): undefined reference to `sqlite3_interrupt'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x347f): undefined reference to `sqlite3_busy_handler'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x34a2): undefined reference to `sqlite3_busy_handler'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x35d8): undefined reference to `sqlite3_progress_handler'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x35fa): undefined reference to `sqlite3_progress_handler'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x36ff): undefined reference to `sqlite3_commit_hook'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3722): undefined reference to `sqlite3_commit_hook'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x382f): undefined reference to `sqlite3_rollback_hook'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3852): undefined reference to `sqlite3_rollback_hook'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x395f): undefined reference to `sqlite3_set_authorizer'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3ae8): undefined reference to `sqlite3_backup_init'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3b8a): undefined reference to `sqlite3_backup_step'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3bd7): undefined reference to `sqlite3_backup_finish'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3c17): undefined reference to `sqlite3_backup_remaining'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3c57): undefined reference to `sqlite3_backup_pagecount'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3c84): undefined reference to `sqlite3_memory_used'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3cb3): undefined reference to `sqlite3_memory_highwater'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3cd4): undefined reference to `sqlite3_threadsafe'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3da1): undefined reference to `sqlite3_status'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x3f0c): undefined reference to `sqlite3_db_status'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x4056): undefined reference to `sqlite3_limit'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x4093): undefined reference to `sqlite3_compileoption_used'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x40c3): undefined reference to `sqlite3_compileoption_get'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x4250): undefined reference to `sqlite3_create_function'
c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o):core.c:(.text+0x2671): undefined reference to `sqlite3_reset_auto_extension'
c:/hmg.3.4.2/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: c:/hmg.3.4.2/harbour/lib/win/mingw/libhbsqlit3.a(core.o): bad reloc address 0xc in section `.rdata'
c:/hmg.3.4.2/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
hbmk2: Error: Ejecutando enlazador. 1
gcc.exe C:/Users/Robert/AppData/Local/Temp/hbmk_dtrfi3.dir/Menu_Sqlite.o C:/Users/Robert/AppData/Local/Temp/hbmk_dtrfi3.dir/hbmk_pnopex.o C:/tmp2/Menu_Pizza_SQlite/_temp.o    -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib   -Wl,--end-group -oMenu_Sqlite.exe  -Lc:/hmg.3.4.2/harbour/lib/win/mingw -Lc:/hmg.3.4.2/lib
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: Menu_Pizza_SQlite

Post by mustafa »

Hola maestro Roberto:
Creo entender por su mensaje que
ha podido resolver el problema, en
mi sample no he utilizado ninguna libreria
solo lleva el fichero -> #include "sql1.prg"
antes de compilar la aplicación ejecuté
en mi HMG -> BuildAllLib.bat para que las
librerias esten consolidadas.
He compilado con el fichero.bat ->build.3.4.2.bat
que solo indica -> @ECHO OFF
call c:\hmg.3.4.2\build.bat Menu_Sqlite.prg %*
El nombre del prg principal , no suelo compilar con el IDE
a lo mejor este puede ser el problema si ha compilado
de otra forma.
Lo siento si no me expreso en Ingles puesto que tengo escaso
conocimiento.
Mucha Gracias por su atención hacia mi trabajo
Un cordial Saludo
Mustafa
*---------------------------- Google --------------------------------------*
Hello master Roberto:
I think I understand your message
It has been able to solve the problem,
I have not used any sample library
only takes the file -> #include "sql1.prg"
before compiling the application I ran
my HMG -> BuildAllLib.bat for the
libs are consolidated.
I compiled with fichero.bat -> build.3.4.2.bat
only indicates -> @ECHO OFF
                           call c: \ hmg.3.4.2 \ build.bat Menu_Sqlite.prg% *
The name of the main prg, not usually compile with the IDE
maybe this could be the problem if you have compiled
otherwise.
Sorry if I did not express in English since I have little
knowledge.
Many Thanks for your attention to my work
Best regards
Mustafa
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Menu_Pizza_SQlite

Post by Roberto Lopez »

mustafa,

Si, lo solucioné. Como apunta dragancesu, para que compile correctamente, debe cambiarse la línea '# libs=sqlite3' por 'libs=sqlite3' en c:\hmg.3.4.2\hmg.hbc.

Muchas gracias.

//

Yes, I've solved. As dragancesu pointed, to build it, the line '# libs=sqlite3' must be chabged to 'libs=sqlite3' in c:\hmg.3.4.2\hmg.hbc.

Thanks.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply