Skip to content

Instantly share code, notes, and snippets.

View Ybalrid's full-sized avatar
🕶️
Mixing Realities

Arthur Brainville Ybalrid

🕶️
Mixing Realities
View GitHub Profile
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44467373..21feea9a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -219,28 +219,33 @@ install(TARGETS ${PHYSFS_INSTALL_TARGETS}
ARCHIVE DESTINATION lib${LIB_SUFFIX})
install(FILES src/physfs.h DESTINATION include)
-find_package(Doxygen)
-if(DOXYGEN_FOUND)
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1"
MenuName="Add to Image Watch"/>
<Type Name="polu::image::bitmap">
<UIVisualizer ServiceId="{A452AFEA-3DF6-46BB-9177-C0B08F318025}" Id="1" />
</Type>
@Ybalrid
Ybalrid / tutorial.md
Created February 24, 2019 00:56
Physicsfs tutorial

Note: original document at this address: https://icculus.org/physfs/physfstut.txt, I just put some markdown markup tomake it easier to read for myself.

Here are some simple steps to getting PhysicsFS working in your program.
This tutorial was created by some friendly people in #icculus.org in the freenode IRC network.

First thing you need to do is initialize the filesystem. You simply call PHYSFS_init(argv[0]); to do this.

The system is: Linux - 4.4.5-1-ARCH - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags: -march=x86-64;-mtune=generic;-O2;-pipe;-fstack-protector-strong
Id flags:
The output was:
0
Determining if the function XScreenSaverQueryInfo exists in the Xss failed with the following output:
Change Dir: /home/ybalrid/trinity-pkgbuild/R14.0.3/tde-tdebase/src/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_320a8/fast"
/usr/bin/make -f CMakeFiles/cmTC_320a8.dir/build.make CMakeFiles/cmTC_320a8.dir/build
make[1]: Entering directory '/home/ybalrid/trinity-pkgbuild/R14.0.3/tde-tdebase/src/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_320a8.dir/CheckFunctionExists.c.o
/usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fvisibility=hidden -fvisibility-inlines-hidden -DCHECK_FUNCTION_EXISTS=XScreenSaverQueryInfo -o CMakeFiles/cmTC_320a8.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
Linking C executable cmTC_320a8
==> Making package: tde-tdebase 14.0.3-1 (Fri Mar 25 23:51:21 UTC 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found tdebase-R14.0.3.tar.bz2
-> Found arch-kdeshutdown.png
-> Found kdm-default-face.png
-> Found agent-shutdown.sh
-> Found agent-startup.sh
-> Found tdm-trinity
@Ybalrid
Ybalrid / gist:8709c2b1a796a2807db5
Created February 1, 2016 11:37
oname verification
Verifying that +ybalrid is my blockchain ID. https://onename.com/ybalrid