Permalink
Browse files

updated readmes

  • Loading branch information...
1 parent 4d8fe46 commit 95e4a166c205e404bb402c1c8f55df10b38e8692 enjalot committed Apr 23, 2011
Showing with 12 additions and 4 deletions.
  1. +7 −0 INSTALL
  2. +4 −3 README
  3. +1 −1 test/main.cpp
View
@@ -8,6 +8,13 @@ We encourage an out-of-source build, so in the base directory of the repo do:
cd build
cmake ..
make
+ make install
+
+You can run by executing
+ ./bin/sph.x
+
+(currently you set the path for resource files in main.cpp, this really should automatically get it using argv[0]
+so for now you'll need to run from build so that relative paths are eg ./bin/cl_common)
the library will be in rtpslib/
View
@@ -24,9 +24,10 @@ rtpslib/
Usage:
You can execute the test program like:
- ./test/sph.x
- ./test/flock.x
- ./test/multi.x
+ cd bin
+ ./bin/sph.x
+ ./bin/flock.x
+ ./bin/multi.x
The test program has simple mouse interaction:
Left-Click and drag to rotate the view
View
@@ -168,7 +168,7 @@ int main(int argc, char** argv)
#ifdef WIN32
settings->SetSetting("rtps_path", ".");
#else
- settings->SetSetting("rtps_path", "./bin");
+ settings->SetSetting("rtps_path", ".bin/");
//settings->SetSetting("rtps_path", argv[0]);
//printf("arvg[0]: %s\n", argv[0]);
#endif

0 comments on commit 95e4a16

Please sign in to comment.