xcode : changed to native architecture build by default
[openjpeg.git] / mj2 / wrap_j2k_in_mj2.c
index 7615cfde73c3ccf59387fef0ece52cce042e6e22..77b495981df923733e22d578be255f4ee9979425 100644 (file)
@@ -31,9 +31,9 @@
 #include <string.h>
 
 #include "openjpeg.h"
-#include "j2k.h"
-#include "jp2.h"
-#include "cio.h"
+#include "../libopenjpeg/j2k.h"
+#include "../libopenjpeg/jp2.h"
+#include "../libopenjpeg/cio.h"
 #include "mj2.h"
 
 static int int_ceildiv(int a, int b) {
@@ -241,8 +241,8 @@ int main(int argc, char *argv[]) {
        mj2_cparameters_t parameters;
        
   if (argc != 3) {
-    printf("Bad syntax: Usage: MJ2_Wrapper source_location mj2_filename\n");
-    printf("Example: MJ2_Wrapper input/input output.mj2\n");
+    printf("Usage: %s source_location mj2_filename\n",argv[0]);
+    printf("Example: %s input/input output.mj2\n",argv[0]);
     return 1;
   }