Comments (22)
Can you use the master branch. I have done a fix to create the directory structure before installing the lib. I think the make install
is failing.
from grrlib.
You should be able to see the GRRLIB library in the portlib folder once installed properly, ie:
root@dda07d576564:/opt/devkitpro/portlibs/wii/lib# ls -la *grrlib*
-rw-r--r-- 1 root root 354826 Feb 23 03:28 libgrrlib.a
libpngu must also be installed:
root@dda07d576564:/opt/devkitpro/portlibs/ppc/lib# ls -la *pngu*
-rw-r--r-- 1 root root 71226 Feb 23 03:12 libpngu.a
Make sure you don't have any warnings / errors when using make install
from grrlib.
I checked the folders, and the libraries are there.
I also re-installed GRRLIB and libpngu just to double check there weren't any errors, and it seems like it was installed just fine.
from grrlib.
Do you have the same problem with all examples?
I have no idea why it's not working.
In examples/3D_CubedTileDemo/Makefile you have:
include $(DEVKITPPC)/wii_rules
#...
LIBDIRS := $(CURDIR)/$(GRRLIB) $(PORTLIBS)
#...
export LIBPATHS := -L$(LIBOGC_LIB) $(foreach dir,$(LIBDIRS),-L$(dir)/lib)
In the wii_rules file you have:
include $(DEVKITPPC)/base_rules
PORTLIBS := $(PORTLIBS_PATH)/wii $(PORTLIBS_PATH)/ppc
export PATH := $(PORTLIBS_PATH)/wii/bin:$(PORTLIBS_PATH)/ppc/bin:$(PATH)
In base_rules you have:
include $(DEVKITPPC)/base_tools
In base_rules you have:
export PORTLIBS_PATH := $(DEVKITPRO)/portlibs
The only problem might be that the DEVKITPRO environment variable is not set to your C:/devkitPro or /opt/devkitpro folder.
from grrlib.
DEVKITPRO
and DEVKITPPC
are both set correctly. The makefiles are also as they should be.
When I use make
, it looks like the program can find the path correctly, so it's definitely not an environment issue, as far as I can tell.
from grrlib.
what is the output when you type echo $DEVKITPRO
in your console?
from grrlib.
/opt/devkitpro
from grrlib.
Can you try ls -lah $DEVKITPRO/portlibs/wii/lib/*grrlib*
from grrlib.
ls: cannot access '/opt/devkitpro/portlibs/wii/lib/*grrlib*': Not a directory
from grrlib.
Are you using the master branch or the last tagged version?
from grrlib.
I'm using the latest release.
from grrlib.
mkdir: cannot create directory β/opt/devkitpro/portlibs/wii/libβ: File exists
Should I delete the lib file?
from grrlib.
Maybe it's another problem. You need write access to the installation folder. So try sudo -E make install
or something like that!
You can also copy manually the libgrrlib.a file to the /opt/devkitpro/portlibs/wii/lib directory.
from grrlib.
I don't have a lib directory, I have a lib file.
Maybe that's the issue?
from grrlib.
You should create the lib folder. Like I said, this is a bug in version 4.5.0. It was fixed in commit 8ca7a33
from grrlib.
Now it lets me build, but when I run the examples I either get a black screen or a bunch of errors.
(With a few exceptions)
from grrlib.
Run on what, a Wii, a Wii U an emulator? The behavior from the same dol/elf file changes each time you run it?
from grrlib.
Dolphin Emulator.
The behaviour for each dol file doesn't change, but some refuse to boot.
This also applies to elf files.
from grrlib.
Can you add a dol or elf file in attachment so I can test it in Dolphin on my PC.
from grrlib.
from grrlib.
Well it's working on my PC with your dol file:
It might be a configuration problem with Dolphin.
from grrlib.
I see, thank you for your help.
from grrlib.
Related Issues (20)
- Examples don't work properly HOT 2
- Fatal error with powerpc-eabi-gcc.exe HOT 1
- Various issues with the camera HOT 2
- make fails on 3d_sample1 HOT 1
- problem compilng HOT 2
- powerpc-eabi-gcc: No such file or directory HOT 18
- Missing documentation / weird behaviour with PNG where `size % 4 != 0`
- Drawing 3D over 2D
- Any idea as to why a particularly large PNG wouldn't load?
- Examples for Gamecube don't compile HOT 6
- error with command make clean all install HOT 2
- Question regarding 3D object rotation
- GRRLIB_PrintfTTF and GRRLIB_PrintfTTFW do not display the text in correct alpha value HOT 6
- $ cd C:\grr\GRRLIB bash: cd: C:grrGRRLIB: No such file or directory HOT 9
- pass environment variables in documentation
- Bug while installing GRRLIB on Windows HOT 2
- mkdir: illegal option -- - HOT 4
- ld cannot find [-lfreetype, -lbz2, -lpng, -ljpeg, -lz]: : No such file or directory HOT 8
- Compilation on Ubuntu WSL HOT 7
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 grrlib.