Comments (11)
[100%] Built target EasyRPG_Editor_exe
Thank you, now it worked.
It appears I had bad configuration leftovers from in my cmake files.
Cleaning it with
rm -rf CMakeFiles
rm -f CMakeCache.txt
helped a lot.
from editor.
You need to use -DCMAKE_INSTALL_PREFIX=<path>
. In the following asciicast I built a static liblcf, so I do not need to mess with shared library load paths afterwards (-DBUILD_SHARED_LIBS=OFF
).
Important is that the Editor build finds liblcf in the right location
(in my case -- Found liblcf: /tmp/easyrpg/lib64/liblcf.a (found version "0.5.4")
.
from editor.
Question is, where does tmp/easyrpg/lib
come from? Note that I used /tmp
folder in my asciicast as arbitrary directory, which you likely should replace with your /Users/lmenezes/Cloned_From_Github/easyRPG/
folder.
Clean your cmake caches in every project and try again:
rm -rf CMakeFiles
rm -f CMakeCache.txt
I still think you are doing something wrong, but I cannot guess. It is really not easy to help you when you only provide small bits of information. Would be good when you provide the exact commands you enter.
Also, you can simply drag/drop the CMakeCache.txt
from the build folders here, they provide most necessary information.
from editor.
Attempted on Mac OS High Sierra
from editor.
This is the result of
$ cmake .
liblcf was built from git
from editor.
Did you just build liblcf (i.e. no installation)?, because it seems to me that the path to the config file is from the git checkout, not installation folder.
Also, how did you setup the paths?
from editor.
At liblcf directory the step 'sudo make install' fails
from editor.
You do not need to install it system-wide, you can also do locally (with "prefix").
Just needs to set the same path for Editor build then.
from editor.
How should I do that?
I have a folder called easyRPG.
Everything I cloned from easyRPG is subdirectory.
eg:
easyRPG$ ls
Editor Player RTP liblcf
from editor.
I've tried what you showed me, however, I keep getting this:
[ 97%] Linking CXX static library libEasyRPG_Editor.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libEasyRPG_Editor.a(dialogedit.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libEasyRPG_Editor.a(dialogedit.cpp.o) has no symbols
[ 97%] Built target EasyRPG_Editor
[ 98%] Building CXX object CMakeFiles/EasyRPG_Editor_exe.dir/src/main.cpp.o
[100%] Linking CXX executable easyrpg-editor
ld: can't map file, errno=22 file 'tmp/easyrpg/lib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [easyrpg-editor] Error 1
make[1]: *** [CMakeFiles/EasyRPG_Editor_exe.dir/all] Error 2
make: *** [all] Error 2
from editor.
Great that you got it to work. Closing then.
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.