MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002802VCMIOtherpublic2017-10-04 15:532023-11-21 13:06
Reportermoog 
Assigned To 
PriorityhighSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSDebianOS VersionJessie powerpc
Product Version0.99 
Target VersionFixed in Version 
Summary0002802: VCMI from git fails to compile launcher on powerpc
DescriptionCan't build the launcher.

Linking CXX executable ../bin/vcmiclient
CMakeFiles/vcmiclient.dir/CVideoHandler.cpp.o: In function `CVideoPlayer::nextFrame()':
/home/mdec/git/vcmi/client/CVideoHandler.cpp:281: undefined reference to `sws_scale'
/home/mdec/git/vcmi/client/CVideoHandler.cpp:294: undefined reference to `sws_scale'
CMakeFiles/vcmiclient.dir/CVideoHandler.cpp.o: In function `CVideoPlayer::close()':
/home/mdec/git/vcmi/client/CVideoHandler.cpp:358: undefined reference to `sws_freeContext'
CMakeFiles/vcmiclient.dir/CVideoHandler.cpp.o: In function `CVideoPlayer::open(std::string, bool, bool, bool)':
/home/mdec/git/vcmi/client/CVideoHandler.cpp:196: undefined reference to `sws_getContext'
/home/mdec/git/vcmi/client/CVideoHandler.cpp:226: undefined reference to `sws_getContext'
collect2: error: ld returned 1 exit status
Steps To Reproducegit clone --recursive https://github.com/vcmi/vcmi.git [^]
mkdir build
cd build
cmake -DSWSCALE_INCLUDE_DIRS=/usr/include -DSWSCALE_LIBRARIES=/usr/lib/powerpc-linux-gnu/libswscale.so.3 ..
make
Additional InformationTo reproduce this on another architecture simply change /usr/lib/powerpc-linux-gnu to another architecture's catalog.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0007289)
SXX (administrator)
2017-10-06 13:31

Why do you need to specify path to swscale manually?

It's seems like at least 0.99 can be built fine on powerpc:
https://packages.debian.org/sid/games/vcmi [^]
(0007290)
SXX (administrator)
2017-10-06 13:45

So yeah just in case, can you try to apply patches and build files from Debian version to latest VCMI?
(0008859)
Povelitel (updater)
2023-11-21 13:06

I wonder if the problem still exists or is no longer relevant?

- Issue History
Date Modified Username Field Change
2017-10-04 15:53 moog New Issue
2017-10-06 13:31 SXX Note Added: 0007289
2017-10-06 13:45 SXX Note Added: 0007290
2023-11-21 13:06 Povelitel Note Added: 0008859

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean