GithubHelp home page GithubHelp logo

Comments (12)

sahib avatar sahib commented on July 25, 2024

Hello avuton,

Not sure If I can help you (the last version I tried to crosscompile was 0.2 - which was before glib/sqlite)
The usual questions (Sorry if those are silly):
Do you have the correct mingw-version of libcurl / glib2 / sqlite3 installed? It seems he finds the normal ones, and tries to include them.

I don't have the time to tinker much with it now, hopefully I have some time on Sunday.

from glyr.

avuton avatar avuton commented on July 25, 2024

Yes, it's all automatic. The install prefix (Noted as /home/avuton/src/mpd-release-utils/build-dir above):

avuton@rocket:/src/mpd-release-utils$ ls -la /home/avuton/src/mpd-release-utils/build-dir/include/curl/
total 172
drwxrwxr-x 2 avuton avuton 156 2011-11-10 06:36 .
drwxrwxr-x 20 avuton avuton 4096 2011-11-10 06:37 ..
-rw-r--r-- 1 avuton avuton 7070 2011-11-10 06:36 curlbuild.h
-rw-r--r-- 1 avuton avuton 81593 2011-11-10 06:36 curl.h
-rw-r--r-- 1 avuton avuton 8901 2011-11-10 06:36 curlrules.h
-rw-r--r-- 1 avuton avuton 2741 2011-11-10 06:36 curlver.h
-rw-r--r-- 1 avuton avuton 3472 2011-11-10 06:36 easy.h
-rw-r--r-- 1 avuton avuton 2790 2011-11-10 06:36 mprintf.h
-rw-r--r-- 1 avuton avuton 12981 2011-11-10 06:36 multi.h
-rw-r--r-- 1 avuton avuton 1330 2011-11-10 06:36 stdcheaders.h
-rw-r--r-- 1 avuton avuton 36048 2011-11-10 06:36 typecheck-gcc.h
avuton@rocket:
/src/mpd-release-utils$

My scripts build all this stuff, and is pretty fully automated. CMake is my enemy, and I may have not passed /enough/ stuff, but as far as I can tell I'm doing it right and it works for libgme[1], which has a CMake build system. If it's suspected that I'm doing something wrong, I'm game. Please let me know.

  1. svn+http://game-music-emu.googlecode.com/svn/trunk/

from glyr.

sahib avatar sahib commented on July 25, 2024

Just letting you know that I look into this today or tomorrow. I'm suffering from a flu at the moment, so sorry for the long time. I'll look into libgme, maybe there's a hint whats going wrong. As last option, I may use autoconf if it won't work.

from glyr.

avuton avatar avuton commented on July 25, 2024

Great, thanks; sorry to hear about the sickness. It's the time of year. FYI, fltk's cmake properly cross compiles too, so you might find the hints you're looking for in either.

from glyr.

avuton avatar avuton commented on July 25, 2024

Started an auto* build branch just for fun. Not sure I'll ever actually make it work.

from glyr.

sahib avatar sahib commented on July 25, 2024

Oh dear,
I almost forgot about glyr in all the troubles lately.. sigh
I spend my evening by looking in the cmake files of libgme.. no success at all. I did not find any hint what Im doing wrong, nor I could get it to work anyway. If the auto* stuff becomes usable I would happily merge them.

Thanks for your efforts.

from glyr.

avuton avatar avuton commented on July 25, 2024

Truth be told, cmake is super buggy, at least for cross compiling (the only version lately that I've been able to get working perfect is 2.8.3) I really don't know what's going on here either. Every other program has been fine but this one is impossible. Wish I could find some hint why. Need a cmake ninja.

from glyr.

avuton avatar avuton commented on July 25, 2024

OK, fixed. It was (partially) my fault. I tried running cmake manually, and it apparently needed something from my scripts. When I used my scripts to patch (as above, removing the LIBRARY) it compiles fine. With that said, is the LIBRARY needed above?

from glyr.

avuton avatar avuton commented on July 25, 2024

Oh, I have to -I(includedir) for my CLAGS in my scripts too; small price to pay.

from glyr.

avuton avatar avuton commented on July 25, 2024

Also, for the record, and maybe related to the LIBRARY thing the dll installs in /lib when it should install in /bin, again another very minor detail I can script around.

from glyr.

sahib avatar sahib commented on July 25, 2024

Hi, from my understanding LIBRARY is needed.

from glyr.

avuton avatar avuton commented on July 25, 2024

That's probably correct, but for whatever reason it /does/ fail when cross compiling. I wish I knew more about cmake.

from glyr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.