-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
tic80 behaves differently when run from source checkout #2613
Comments
We added an option to build languages as shared libs, maybe you need to also copy |
I tried it with the For my own purposes, I was able to solve this problem by using a symlink as To my understanding, it seems like using shared libraries is a really great feature for distro packagers; they don't like to package programs with static libraries included. So this seems like a great feature for getting TIC80 integrated into distros, and I'm glad to see it. But I question whether it's a good idea to enable shared libraries by default, since it does make things more complicated. I expect most people building from source who aren't distro packagers might not want shared libraries because they cause problems like this. Should it be an opt-in flag instead? But maybe I'm misunderstanding it and shared libraries have benefits for the average person building from source that I'm unaware of. |
I have a similar issue when compiling from source on a Raspberry Pi 400 running the 64-bit "Bookworm" version of the RPi OS. I followed the instructions from the readme. After compiling, I can run using "tic80" from any folder, but I cannot save, load or create new carts without getting an file not found error. For "new" the error is Setting Should I add this to the readme, or do you prefer to fix the installation step? Unfortunately I'm not well versed enough in either cmake or linux to help there. |
I've built the pro version of TIC80 in my ~/src/tic80/build directory. Then I've copied the
tic80
executable frombuild/bin/tic80
into~/bin/tic80
. When I do this, it can no longer load text carts any more:However, the copy in my ~/bin directory seems to have no trouble loading
.tic
carts. It seems that maybe moving it out of the source tree causes it to forget that it's a pro build?The latest stable tag (v1.1.2837) does not appear to be affected by this problem, but git main does.
The text was updated successfully, but these errors were encountered: