Skip to content

Commit

Permalink
fix some compiler error.
Browse files Browse the repository at this point in the history
  • Loading branch information
dyama committed Oct 22, 2013
1 parent 8820d05 commit ed0cde7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 17 deletions.
37 changes: 22 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ Building Equipment:
* Open CASCADE 6.6.0
* Microsoft Visual Studio 2008

1. Setup the BAT script for your enviromnent.
1. Clone by git the repository of siren follows:

git clone https//:github.com/dyama/siren.git

2. Setup the BAT script for your enviromnent.

editor tool/occenv.bat

Expand All @@ -29,23 +33,24 @@ The path add the version string "660" automaticaly by script.
If your enviroment no matches this case, please link to
install path with symbolic link.

2. Clone by git the repository of siren follows:
In the same way as;

git clone https//:github.com/dyama/siren.git
editor tool/mruby-vs9-occ660.bat

3. Run the BAT script file with Visual Studio solution file.
SET "MRUBYROOT=%SCRIPTPATH%\..\..\mruby_w32"

cd siren
Set MRUBYROOT to the path of mruby installed directory.

tool/vs9-occ660.bat src/siren.sln
3. Run the BAT script file.

4. Build sirenenv.dll and siren.exe.
start tool/mruby-vs9-occ660.bat

When you hope more useful open the solution file, you can
put scripts to a directory that registed to PATH, and scripts
call by 'Send To' in the shell context menu of explorer.
If you build siren on another environment, you can change
the script calling.

Futures
4. Build sirenenv.dll and siren.exe.

Overviews
------------------------------------------------------------

* View a 3D model with mouse operation.
Expand All @@ -54,15 +59,15 @@ call by 'Send To' in the shell context menu of explorer.
Usage
------------------------------------------------------------

You can run as follows:
You can run follows as;

> siren.exe [filename]

Now, siren is able to read formats as follows;

* IGES
* OpenCASCADE BREP
* STEP
* IGES format
* OpenCASCADE BREP format
* STEP format

Thirdparty technorogies
------------------------------------------------------------
Expand All @@ -78,4 +83,6 @@ MIT License

Author
------------------------------------------------------------

dyama, Daisuke YAMAGUCHI <dyama@member.fsf.org>

4 changes: 2 additions & 2 deletions src/sirenenv/mruby/mirb.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

#pragma once

using namespace std;

#include <stdlib.h>
#include <string.h>
#include <string>
#include <ostream>

using namespace std;

#include <mruby.h>

#include <mruby/array.h>
Expand Down
4 changes: 4 additions & 0 deletions tool/mruby-vs9-occ660.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
@echo off

SET "SCRIPTPATH=%~dp0"

REM mruby のインストールパスを MRUBYROOT に設定します。
REM 環境に合わせて、適宜変更してください。

SET "MRUBYROOT=%SCRIPTPATH%\..\..\mruby_w32"

%SCRIPTPATH%\vs9-occ660.bat %SCRIPTPATH%\..\src\siren.sln

0 comments on commit ed0cde7

Please sign in to comment.