Comments (13)
Did you install all the libs in the install instructions?
from devilutionx.
Yes and I edited sdl2-config.cmake according to instructions.
from devilutionx.
You shouldnt need to edit that.
What did you edit exactly?
from devilutionx.
I changed the last line of /usr/lib/i386-linux-gnu/cmake/SDL2/sdl2-config.cmake for :
set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} -lSDL2 -lSDL2_image -lSDL2_mixer -lSDL2_ttf ")
This was in the instructions under 'Building XDiablo (For Linux)'
from devilutionx.
@slriverin
I changed the requirements for the game over time. I forgot to pull certian parts out. It should no longer be needed SDL_image and SDL_ttf . I will pull out the font right now.
from devilutionx.
ok @slriverin try now.
I have changed
set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} -lSDL2 -lSDL2_image -lSDL2_mixer -lSDL2_ttf ")
to
set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} -lSDL2 -lSDL2_mixer ")
Not to mention , I have removed the font.cpp junk.
from devilutionx.
@ApertureSecurity thanks it removed the error.
However a new one pops up :
[ 50%] Linking CXX executable devilution
/usr/bin/ld: CMakeFiles/devilution.dir/Stub/sdlrender.cpp.o: undefined reference to symbol 'SDL_FreeSurface'
from devilutionx.
Somwthing is missing. Are these 32 bit libs ? Are you mixing 64 bit libs or something ?
from devilutionx.
See full error message below :
From my understanding it is a 32 bit library : i386-linux-gnu/libSDL2-2.0.so.0
I imported the libraries with the :i386 suffix in apt.
Are there any other libs beside those mentioned in the readme file that should be installed in 32 bits?
[ 2%] Linking CXX executable devilution
/usr/bin/ld: CMakeFiles/devilution.dir/Stub/sdlrender.cpp.o: undefined reference to symbol 'SDL_FreeSurface'
/usr/bin/ld: //usr/lib/i386-linux-gnu/libSDL2-2.0.so.0: error adding symbols: DSO manquant dans la ligne de commande
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/devilution.dir/build.make:1419: devilution] Error 1
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/devilution.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
from devilutionx.
I am not sure what the problem is. I wonder if you're using an old version of debian or something.
If you don't want to compile anymore and just play there is this
https://github.com/diasurgical/devilutionX/blob/master/build/devilution
from devilutionx.
Hey Do you have the normal SDL libs installed? I think they came with my system but you can try
apt-get install libsdl2-2.0-0
from devilutionx.
@ApertureSecurity my normal SDL libs were installed.
The game works with the already compiled bin file. Awesome work! Cheers!
from devilutionx.
I updated the installation instructions.
from devilutionx.
Related Issues (20)
- [Feature Request]: Stash objects “center of gravity”
- [Issue Report]: New entrances/exits to the Labyrinth open in the city before they are discovered HOT 1
- [Feature Request]: Editing the interface on touch devices HOT 8
- [Issue Report]: Small errors in the operation of the map [1.6.0-dev-debug] HOT 3
- [Issue Report]: Lazarus starting sequence issues HOT 16
- [Issue Report]: Inventory problems HOT 1
- [Issue Report]: Inventory bug [1.6.0-dev] HOT 2
- [Issue Report]: Changing Item Parameters [1.6.0-dev] HOT 3
- [Issue Report]: Full screen option on Nintendo Switch HOT 5
- [Feature Request]: Shrine effect suggestion HOT 1
- [Issue Report]: Vipers / Drakes sometimes missing their lunge and slamming into walls or disappearing into the distance HOT 11
- [Issue Report]: Google Android TV - unable to acess data folder, nothing helps HOT 4
- [Feature Request]: Several proposals for innovations HOT 2
- [Issue Report]: Enabling Integer Scaling would yield lua\user.lua error HOT 5
- [Issue Report]: game crash with SDL_audiolib segfault HOT 5
- [Issue Report]: Broken enemy movement HOT 3
- Shared XP and gold for multiplayer. HOT 2
- [Issue Report]: Char Level And XP info in Panel repeats HOT 1
- [Issue Report]: Devilution crashes and closes silently when trying to load a Diablo 1 save into Hellfire HOT 9
- [Issue Report]: hover information for dead monster HOT 4
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 devilutionx.