Comments (12)
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.
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//src/mpd-release-utils$
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:
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.
from glyr.
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.
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.
Started an auto* build branch just for fun. Not sure I'll ever actually make it work.
from glyr.
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.
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.
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.
Oh, I have to -I(includedir) for my CLAGS in my scripts too; small price to pay.
from glyr.
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.
Hi, from my understanding LIBRARY is needed.
from glyr.
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)
- Suppress output as library
- Add tag for files from musicbrainz
- [Patch included] Various lyrics providers broken HOT 2
- backtrace
- lyrics completely broke HOT 4
- Segmentation Fault
- License question HOT 7
- support for lyrics from genius HOT 1
- Fails to build on osX
- RPATH issue on Fedora 27 amd64
- Apostrophes in metadata
- SOLVED: fails to build on FreeBSD HOT 2
- http://musicbrainz.org/ws/1/ will cease to exist soon
- Segmentation Fault at `glyrc tags`
- Cut away Lyricwiki clutter on end
- lib/intern/common/amazon.c:33: bad test ?
- Make libglyr GIR compatible HOT 1
- simple script to search for music directories and find coverart incase it is missing.
- fix build on OpenBSD
- did you mean 'GLYR_H'?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glyr.