Hi hanni_xu,
On 21/01/13 06:02, hanni_xu wrote:
<snipped>
>
> VS: -bash: [: C/C++: integer expression expected
> OK - using C/C++
Here is your problem. The above is a cygwin bash script error of some
sort, (although the configure script is not recognising it as so - it
probably should).
If you look in the file bin/checkconf in the function msvs_check
something is going wrong at that point. The script here is attempting to
determine the version of Visual Studio by parsing some compile output
and needs to set some critical environment properties appropriately and
in your case something is going wrong.
When I look in the env*.sh you helpfully attached I see VS_VER is set
incorrectly to "C++". This should be set to "14" by the above function
to indicate VS 2005. This value is critical as it is used in the
makefiles used to build OpenSplice on Windows (see
setup/x86.win32-default.mak) to locate the windows systems headers i.e.:
ifeq ("$(VS_VER)","14")
VS_INCLUDE = -I"$(VS_HOME)/VC/INCLUDE"
VS_INCLUDE += -I"$(VS_HOME)/VC/PlatformSDK/include"
VS_INCLUDE += -I"$(VS_HOME)/VC/atlmfc/include"
VS_LIB_FLAGS = -L"$(VS_HOME)/VC/lib"
VS_LIB_FLAGS += -L"$(VS_HOME)/VC/PlatformSDK/lib"
endif
This is why Windows.h cannot be found.
The property FrameworkSDKDir (and possibly others) also is not set.
Note we do not test building OpenSplice from scratch with Visual Studio
not in the default location or using the 'Express' versions. There's no
reason this shouldn't work (and it would be a bug if it doesn't) but you
are 'off the beaten path'.
_______________________________________________
OpenSplice DDS Developer Mailing List
[email protected]
Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer