Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column.cpp.obj #12

Closed
Aykelith opened this issue Jan 9, 2014 · 5 comments
Closed

Column.cpp.obj #12

Aykelith opened this issue Jan 9, 2014 · 5 comments

Comments

@Aykelith
Copy link

Aykelith commented Jan 9, 2014

Switched to Windows to compile the app for Windows but I have some errors:

mingw32-make
:: warning: cppcheck: Cppcheck cannot find all the include files (use --check-co
nfig for details) [information/missingInclude]
[ 0%] Built target cppcheck
Scanning dependencies of target SQLiteCpp
[ 20%] Building CXX object src/CMakeFiles/SQLiteCpp.dir/Column.cpp.obj
G__~1.EXE: error: unrecognized command line option '-rdynamic'
src\CMakeFiles\SQLiteCpp.dir\build.make:56: recipe for target 'src/CMakeFiles/SQ
LiteCpp.dir/Column.cpp.obj' failed
mingw32-make[2]: *** [src/CMakeFiles/SQLiteCpp.dir/Column.cpp.obj] Error 1
CMakeFiles\Makefile2:147: recipe for target 'src/CMakeFiles/SQLiteCpp.dir/all' f
ailed
mingw32-make[1]: *** [src/CMakeFiles/SQLiteCpp.dir/all] Error 2
Makefile:84: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

@SRombauts
Copy link
Owner

Ok, problem is that I don't use Mingw under Windows.
Solution should be apply in the first lines of CMakeLists.txt. Could you
look at it?
Le 9 janv. 2014 15:17, "Prisacariu Alexandru" notifications@github.com a
écrit :

Switched to Windows to compile the app for Windows but I have some errors:

mingw32-make
:: warning: cppcheck: Cppcheck cannot find all the include files (use
--check-co
nfig for details) [information/missingInclude]
[ 0%] Built target cppcheck
Scanning dependencies of target SQLiteCpp
[ 20%] Building CXX object src/CMakeFiles/SQLiteCpp.dir/Column.cpp.obj
G__~1.EXE: error: unrecognized command line option '-rdynamic'
src\CMakeFiles\SQLiteCpp.dir\build.make:56: recipe for target
'src/CMakeFiles/SQ
LiteCpp.dir/Column.cpp.obj' failed
mingw32-make[2]: *** [src/CMakeFiles/SQLiteCpp.dir/Column.cpp.obj] Error 1
CMakeFiles\Makefile2:147: recipe for target
'src/CMakeFiles/SQLiteCpp.dir/all' f
ailed
mingw32-make[1]: *** [src/CMakeFiles/SQLiteCpp.dir/all] Error 2
Makefile:84: recipe for target 'all' failed
mingw32-make: *** [all] Error 2


Reply to this email directly or view it on GitHubhttps://github.com//issues/12
.

@Aykelith
Copy link
Author

Aykelith commented Jan 9, 2014

Where should I modify? I tryed to remove -rdynamic but I got errors to the same file but reffering to #include <sqlite3.h>.

@Aykelith
Copy link
Author

Managed to create .a file, but from what I know I need .dll for Windows. I will come back with more information about my progress.

@SRombauts
Copy link
Owner

Yes, I am sorry, I know nothing about this tool chain and lack the time to
learn, try and investigate your problem...

But I will take into account your needs and merge the fixes needed!
Le 10 janv. 2014 19:23, "Prisacariu Alexandru" notifications@github.com a
écrit :

Managed to create .a file, but from what I know I need .dll for Windows. I
will come back with more information about my progress.


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-32051857
.

@Aykelith
Copy link
Author

I resolved the problem... Well, was pretty hard to resolve but in a final I resolved the problem... If you want I can fork and send the cmake files( in 2-3 days because now that I resolved the problem need to finish the project), but I want to say that I created shared libraries, so would be nice if you can add an option in cmake for creating shared libraries, especially for users of MinGW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants