Comments (16)
Are you trying with latest liblcf from Git? 0.2 release is outdated to build Editor from Git. There are a few details to build and install liblcf here, however they are not updated and may need more steps. If you have issues yet I'll try again to build it from my OSX VM this week.
Try with a different prefix, maybe is not the right place (I'm not pro with OSX development). I also had some issues to generate the .dylib from libtool.
Feel free to update the wiki if you find a proper way to install liblcf.
from editor.
Well, now I’ve got a new problem: QMake is complaining Project ERROR: liblcf development package not found
, even though liblcf is there (I have verified that its *.pc
file is on the $PKG_CONFIG_PATH
and that QMake is looking for it by parsing the output of qmake -d
). What’s going on?
from editor.
Maybe some generated paths inside the .pc file are wrong and not pointing to the right headers or libs. Which is the content of the liblcf.pc file? Are these locations fine? If not, try editing it to point to the proper ones.
from editor.
Here is my liblcf.pc
. Note that I have installed liblcf using Homebrew, so the file in /usr/local/lib/pkgconfig
is actually a symlink to /usr/local/Cellar/liblcf/1.0/lib/pkgconfig
. Will that mess anything up? I’ve confirmed that the symlink isn’t the source of the problem.
from editor.
After removing the symlink, did you try to add this path to the PKG_CONFIG_PATH?
from editor.
My $PKG_CONFIG_PATH
is set in my shell profile; it has always pointed to the directory containing liblcf.pc
.
from editor.
I figured it out. I need to put a different path (the one for icu4c
’s .pc
file) on my $PKG_CONFIG_PATH
. The error reporting points a finger at liblcf.pc
not being found, but what’s really not being found is icu4c.pc
.
from editor.
Unfortunately, Editor still won’t link. Same issue (missing symbols from libliblcf.a
) as before.
from editor.
Could you pastebin/gist the errors?
from editor.
Here it is. Note that I have modified the Makefile to print the command line being run, in case it helps.
from editor.
Just in case, did you try -llcf instead of -lliblcf?
from editor.
Yes, I did; many times in fact. No luck. In fact, ld
complains it can’t even find the library when I do it that way.
from editor.
Try setting LDFLAGS env var with -L/absolute/path/ or ensure the .a folder is fine or symlnked as a recognized library path
from editor.
No good.
from editor.
Well, I finally figured it out. I ended up having to remove liblcf.a
from the linkline and add all of the source files that go into liblcf
to Editor’s linkline directly. Then it links. Unfortunately, Editor is full of bugs, and does nothing but crash when I try to use it. Oh, well.
from editor.
My thoughts about this issue:
- In the .pro file there is the path to liblcf hardcoded. For my Arch Linux package I disable that behavior and use the shared lib.
- If you make any changes to that .pro file, you need to re-run qmake.
- You need to copy the template folder to the directory you launch the editor from (without it segfaults under linux too).
Hope this helps a bit, if you try building it again in the future.
from editor.
Related Issues (20)
- A more flexible textbox HOT 2
- Windows: Automatically collect Qt DLLs when installing HOT 1
- Test compatibility with Qt6 HOT 6
- Suggestion: Add some filters to cmake HOT 7
- Error at building time HOT 2
- Enumerate event editor rows HOT 1
- Feature Request - "Quick Edit" on Event Editor HOT 7
- Suggestions - Modernizing Editor's UI HOT 3
- Make "Action Button" non-exclusive for player event
- Auto-save and revert to a previous backup
- flatpak distribution
- Path to RTP Dialog Covered by Splash at Startup HOT 4
- I got issue while open the project via Qt. HOT 6
- Command to add links outside the game HOT 3
- Evaluate "Glaze" JSON library
- Pathfinder / A* algo HOT 4
- Multiple event selection
- failure to build HOT 2
- Panorams with plain colours applied from the editor itself
- Unable to build with newer versions of libclf HOT 2
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 editor.