| Anonymous | Login | 2025-10-28 19:16 UTC | ![]() |
| My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0002802 | VCMI | Other | public | 2017-10-04 15:53 | 2023-11-21 13:06 | ||||||||
| Reporter | moog | ||||||||||||
| Assigned To | |||||||||||||
| Priority | high | Severity | major | Reproducibility | always | ||||||||
| Status | new | Resolution | open | ||||||||||
| Platform | Linux | OS | Debian | OS Version | Jessie powerpc | ||||||||
| Product Version | 0.99 | ||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0002802: VCMI from git fails to compile launcher on powerpc | ||||||||||||
| Description | Can'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 Reproduce | git 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 Information | To reproduce this on another architecture simply change /usr/lib/powerpc-linux-gnu to another architecture's catalog. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Attached Files | |||||||||||||
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 | |
| Copyright © 2000 - 2025 MantisBT Team |