User forums > General (but related to Code::Blocks)

Codeblocks wxwidgets + sqlite

<< < (2/3) > >>

stahta01:
I almost never use debug with Code::Blocks, so I can not help you there.

I am guessing you are doing it right; but, you might read this link to confirm.
http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks

Did you try the default wxWidgets app (via wizard) to confirm everything is set up right to run wxWidgets apps?
Did you try to debug a simple "hello world" app to confirm you debugger is set up right?

Tim S.

woser:
Yes defualt app of wxwidgets works OK, but when I add library of sqlite to the linker defualt app destroy, but in the console program of C++ when I add my library everything is ok  :/

stahta01:

--- Code: ---..\SQLCIPHER\libSQLCIPHER.a ..\SQLCIPHER\lib\libeay32.dll.a

--- End code ---

The above implies you are not adding it the preferred way inside of Code::Blocks.
Note: The method you used works most of the time; but, maybe it is the problem.

Try doing it the "For your project :" way shown in below link.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F

Tim S.

woser:
I try it, and nothing better :( maybe someone will try everything what you need is this zip file to check it what is wrong with my sample project....

All my sources, and projects of code:blocks http://dl.dropbox.com/u/26886994/MY_PROJECT.ZIP (32mb)

stahta01:
You likely have a program logic bug; that is NOT on topic in this forum.
I suggest you find a programming site to post your source code on and ask for help.

Edit: Did you self compiler the SQLLite library?
The MinGW GCC exception style MUST match between your app and your C++ libraries (not sure on C libraries). Mixing SJLJ and Dwarf2 will not work most of the time.
NOTE: You are likely using an MinGW GCC having Dwarf2 style exception; this likely does NOT work with the SQLite library.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version