Anonymous Login
2020-06-05 22:36 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001857OpenClonkEnginepublic2016-12-03 02:49
Reporteryonmoon 
Assigned ToClonk-Karl 
PrioritynormalSeveritytrivialReproducibilityalways
StatusresolvedResolutionno change required 
PlatformGNU G++OSLinuxOS Version 
Product Version 
Target Version8.0Fixed in Version 
Summary0001857: Linux: OpenClonk ignores install prefix
DescriptionThe game always reads data from /usr/local/share,ignore the true install path.
(I have changed the path in which the program installed to in cmake_install.cmake,and Resouces config files CPackConfig.cmake,CPackSourceConfig.cmake)
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0005520

yonmoon (reporter)

The game's install path is effective(make install uses the correct one)but the main program didn't read data from that place.

~0005523

Clonk-Karl (administrator)

So what exactly did you change in those files? CMAKE_INSTALL_PREFIX?

The engine looks at OC_SYSTEM_DATA_DIR, but by default that is set based on CMAKE_INSTALL_PREFIX.

Have you tried running "cmake -DCMAKE_INSTALL_PREFIX=/an/alternative/path" to change the installation path?

~0005524

yonmoon (reporter)

I've try it and it works fine,so close this issue please.
+Notes

-Issue History
Date Modified Username Field Change
2016-11-30 11:22 yonmoon New Issue
2016-11-30 11:22 yonmoon Status new => assigned
2016-11-30 11:22 yonmoon Assigned To => Clonk-Karl
2016-11-30 15:10 Clonk-Karl Category Mape => Engine
2016-11-30 15:10 Clonk-Karl Target Version => 8.0
2016-11-30 15:10 Clonk-Karl Summary 8.0 Alpha => Linux: OpenClonk ignores install prefix
2016-12-01 09:04 yonmoon Note Added: 0005520
2016-12-02 04:48 Clonk-Karl Note Added: 0005523
2016-12-02 10:24 yonmoon Note Added: 0005524
2016-12-03 02:49 Clonk-Karl Status assigned => resolved
2016-12-03 02:49 Clonk-Karl Resolution open => no change required
+Issue History