Skip to content

Commit

Permalink
modify bv2raw.c to generate valid output, add x64 compile instruction…
Browse files Browse the repository at this point in the history
…s and usage note.

Signed-off-by: field <[email protected]>
  • Loading branch information
corbolais committed Dec 20, 2016
1 parent 151bca9 commit af7c5b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utilities/bv2raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

/* 2016-12-20: [email protected]
* add x64 (ubuntu) compile instructions:
* gcc -L/usr/lib/x86_64-linux-gnu/ -o bv2raw bv2raw.c -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -lglib-2.0 -lmdb
* add short usage information:
* Usage: bv2raw boardfile.bv > boardfile.bvr
*/

#include "mdbtools.h"

#ifdef DMALLOC
Expand Down Expand Up @@ -112,6 +119,7 @@ int main(int argc, char **argv) {
}


fprintf(outfile,"BVRAW_FORMAT_1\n");
for (this_table = 0; this_table < 3; this_table++) {

table = mdb_read_table_by_name(mdb, tables[this_table], MDB_TABLE);
Expand Down

0 comments on commit af7c5b3

Please sign in to comment.