Building OM 2.3 with Visual Studio 2012 and zero length include files


Richard Williamson
 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


Frank Quinn <fquinn@...>
 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


Richard Williamson
 

If you download the openmama-src.2.3.0.tar.gz then expand it.

 

There are 5 zero length files in …\common\c_cpp\src\c\wombat .

 

They are port.h, wConfig.h, wInterlocked.h, wMath.h and wUuid.h.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Frank Quinn [mailto:fquinn@...]
Sent: 11 March 2014 10:17
To: Williamson, Richard X; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


Frank Quinn <fquinn@...>
 

OK thanks Richard – that was the missing link,

 

These aren’t in the code base which is where the confusion was coming from. Somehow they have crept into that source tarball, and we will remove them from that shortly.

 

Cheers,

Frank

 

From: Williamson, Richard X [mailto:richard.williamson@...]
Sent: 11 March 2014 10:27
To: Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

If you download the openmama-src.2.3.0.tar.gz then expand it.

 

There are 5 zero length files in …\common\c_cpp\src\c\wombat .

 

They are port.h, wConfig.h, wInterlocked.h, wMath.h and wUuid.h.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Frank Quinn [mailto:fquinn@...]
Sent: 11 March 2014 10:17
To: Williamson, Richard X; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


Tom Doust
 

It appears to depend on what you use to expand with.

 

I unpacked it using WinRAR which converted those files (correctly I think) to Windows Shortcuts.  Richard was using WinZip with just expanded them as zero length files

 

Tom

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 10:27 AM
To: Frank Quinn; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

If you download the openmama-src.2.3.0.tar.gz then expand it.

 

There are 5 zero length files in …\common\c_cpp\src\c\wombat .

 

They are port.h, wConfig.h, wInterlocked.h, wMath.h and wUuid.h.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Frank Quinn [mailto:fquinn@...]
Sent: 11 March 2014 10:17
To: Williamson, Richard X; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


Richard Williamson
 

One solution to this could be to use the ‘-h’ flag when building the tar file.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Tom Doust [mailto:tom.doust@...]
Sent: 11 March 2014 11:00
To: Williamson, Richard X; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

It appears to depend on what you use to expand with.

 

I unpacked it using WinRAR which converted those files (correctly I think) to Windows Shortcuts.  Richard was using WinZip with just expanded them as zero length files

 

Tom

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 10:27 AM
To: Frank Quinn; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

If you download the openmama-src.2.3.0.tar.gz then expand it.

 

There are 5 zero length files in …\common\c_cpp\src\c\wombat .

 

They are port.h, wConfig.h, wInterlocked.h, wMath.h and wUuid.h.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Frank Quinn [mailto:fquinn@...]
Sent: 11 March 2014 10:17
To: Williamson, Richard X; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


Frank Quinn <fquinn@...>
 

I suspect this tarball was generated on a linux box after a build to verify that it works, so -h would actually be more destructive as it would dereference these portable files to their linux implementations when in fact they simply shouldn’t exist.

 

The files actually contain linux paths (when I extracted with 7z) so I don’t think this was a windows shortcut. Perhaps winrar was smart enough to figure out that these were originally symlinks and simply pruned them out which would be why it worked for you.

 

I think the solution here is to simply create a source tarball from a clean checkout and ensure that a build is not performed first.

 

Cheers,

Frank

 

From: Williamson, Richard X [mailto:richard.williamson@...]
Sent: 11 March 2014 11:03
To: Tom Doust; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

One solution to this could be to use the ‘-h’ flag when building the tar file.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Tom Doust [mailto:tom.doust@...]
Sent: 11 March 2014 11:00
To: Williamson, Richard X; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

It appears to depend on what you use to expand with.

 

I unpacked it using WinRAR which converted those files (correctly I think) to Windows Shortcuts.  Richard was using WinZip with just expanded them as zero length files

 

Tom

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 10:27 AM
To: Frank Quinn; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

If you download the openmama-src.2.3.0.tar.gz then expand it.

 

There are 5 zero length files in …\common\c_cpp\src\c\wombat .

 

They are port.h, wConfig.h, wInterlocked.h, wMath.h and wUuid.h.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Frank Quinn [mailto:fquinn@...]
Sent: 11 March 2014 10:17
To: Williamson, Richard X; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


Damian Maguire <DMaguire@...>
 

Hey Richard, 

I've regenerated the src tarball and placed it back on the OpenMAMA website. Can you try it again and see if that's resolved the issues?

Thanks, 

Damian

From: Frank Quinn <fquinn@...>
Date: Tuesday, March 11, 2014 11:12 AM
To: "Williamson, Richard X" <richard.williamson@...>, Tom Doust <tom.doust@...>, "openmama-dev@..." <openmama-dev@...>
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

I suspect this tarball was generated on a linux box after a build to verify that it works, so -h would actually be more destructive as it would dereference these portable files to their linux implementations when in fact they simply shouldn’t exist.

 

The files actually contain linux paths (when I extracted with 7z) so I don’t think this was a windows shortcut. Perhaps winrar was smart enough to figure out that these were originally symlinks and simply pruned them out which would be why it worked for you.

 

I think the solution here is to simply create a source tarball from a clean checkout and ensure that a build is not performed first.

 

Cheers,

Frank

 

From: Williamson, Richard X [mailto:richard.williamson@...]
Sent: 11 March 2014 11:03
To: Tom Doust; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

One solution to this could be to use the ‘-h’ flag when building the tar file.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Tom Doust [mailto:tom.doust@...]
Sent: 11 March 2014 11:00
To: Williamson, Richard X; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

It appears to depend on what you use to expand with.

 

I unpacked it using WinRAR which converted those files (correctly I think) to Windows Shortcuts.  Richard was using WinZip with just expanded them as zero length files

 

Tom

 

From:openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 10:27 AM
To: Frank Quinn; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

If you download the openmama-src.2.3.0.tar.gz then expand it.

 

There are 5 zero length files in …\common\c_cpp\src\c\wombat .

 

They are port.h, wConfig.h, wInterlocked.h, wMath.h and wUuid.h.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Frank Quinn [mailto:fquinn@...]
Sent: 11 March 2014 10:17
To: Williamson, Richard X; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From:openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.

This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


Richard Williamson
 

Hi Damian,

 

I still get the same result.

 

C:\_Richard_\OpenMAMA\openmama-src-2.3.0.tar\openmama-src-2.3.0\common\c_cpp\src\c\wombat>dir /o:s

Volume in drive C is OSDisk

Volume Serial Number is 5850-67F4

 

Directory of C:\_Richard_\OpenMAMA\openmama-src-2.3.0.tar\openmama-src-2.3.0\common\c_cpp\src\c\wombat

 

11/03/2014  16:04    <DIR>          .

11/03/2014  16:04    <DIR>          ..

20/01/2014  14:57                 0 wMath.h

20/01/2014  14:57                 0 wInterlocked.h

20/01/2014  14:57                 0 wConfig.h

20/01/2014  14:57                 0 port.h

20/01/2014  14:57                 0 wUuid.h

20/01/2014  14:57               991 wSemaphore.h

20/01/2014  14:57             1,034 wincompat.h

20/01/2014  14:57             1,077 wCommon.h

20/01/2014  14:57             1,883 environment.h

20/01/2014  14:57             2,644 machine.h

20/01/2014  14:57             3,460 strutils.h

20/01/2014  14:57             3,611 wtable.h

20/01/2014  14:57             4,758 MRSWLock.h

20/01/2014  14:57             7,247 wMessageStats.h

20/01/2014  14:57             8,476 queue.h

              15 File(s)         35,181 bytes

               2 Dir(s)   5,424,365,568 bytes free

 

Can you confirm that the download link is this à http://www.openmama.org/downloads/releases

 

 

Regards

Richard

 

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA  | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31  | * E-mail: Richard.Williamson@...

 

From: Damian Maguire [mailto:DMaguire@...]
Sent: 11 March 2014 15:30
To: Frank Quinn; Williamson, Richard X; Tom Doust; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hey Richard, 

 

I've regenerated the src tarball and placed it back on the OpenMAMA website. Can you try it again and see if that's resolved the issues?

 

Thanks, 

 

Damian

 

From: Frank Quinn <fquinn@...>
Date: Tuesday, March 11, 2014 11:12 AM
To: "Williamson, Richard X" <richard.williamson@...>, Tom Doust <tom.doust@...>, "openmama-dev@..." <openmama-dev@...>
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

I suspect this tarball was generated on a linux box after a build to verify that it works, so -h would actually be more destructive as it would dereference these portable files to their linux implementations when in fact they simply shouldn’t exist.

 

The files actually contain linux paths (when I extracted with 7z) so I don’t think this was a windows shortcut. Perhaps winrar was smart enough to figure out that these were originally symlinks and simply pruned them out which would be why it worked for you.

 

I think the solution here is to simply create a source tarball from a clean checkout and ensure that a build is not performed first.

 

Cheers,

Frank

 

From: Williamson, Richard X [mailto:richard.williamson@...]
Sent: 11 March 2014 11:03
To: Tom Doust; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

One solution to this could be to use the ‘-h’ flag when building the tar file.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Tom Doust [mailto:tom.doust@...]
Sent: 11 March 2014 11:00
To: Williamson, Richard X; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

It appears to depend on what you use to expand with.

 

I unpacked it using WinRAR which converted those files (correctly I think) to Windows Shortcuts.  Richard was using WinZip with just expanded them as zero length files

 

Tom

 

From:openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 10:27 AM
To: Frank Quinn; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

If you download the openmama-src.2.3.0.tar.gz then expand it.

 

There are 5 zero length files in …\common\c_cpp\src\c\wombat .

 

They are port.h, wConfig.h, wInterlocked.h, wMath.h and wUuid.h.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Frank Quinn [mailto:fquinn@...]
Sent: 11 March 2014 10:17
To: Williamson, Richard X; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From:openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.



This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


Damian Maguire <DMaguire@...>
 

Apologies Richard, it appears the web server was caching the old version of the file. Can you try it again now?

Thanks, 

Damian

From: <Williamson>, Richard X <richard.williamson@...>
Date: Tuesday, March 11, 2014 4:11 PM
To: Damian Maguire <dmaguire@...>, Frank Quinn <fquinn@...>, Tom Doust <tom.doust@...>, "openmama-dev@..." <openmama-dev@...>
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

Hi Damian,

 

I still get the same result.

 

C:\_Richard_\OpenMAMA\openmama-src-2.3.0.tar\openmama-src-2.3.0\common\c_cpp\src\c\wombat>dir /o:s

Volume in drive C is OSDisk

Volume Serial Number is 5850-67F4

 

Directory of C:\_Richard_\OpenMAMA\openmama-src-2.3.0.tar\openmama-src-2.3.0\common\c_cpp\src\c\wombat

 

11/03/2014  16:04    <DIR>          .

11/03/2014  16:04    <DIR>          ..

20/01/2014  14:57                 0 wMath.h

20/01/2014  14:57                 0 wInterlocked.h

20/01/2014  14:57                 0 wConfig.h

20/01/2014  14:57                 0 port.h

20/01/2014  14:57                 0 wUuid.h

20/01/2014  14:57               991 wSemaphore.h

20/01/2014  14:57             1,034 wincompat.h

20/01/2014  14:57             1,077 wCommon.h

20/01/2014  14:57             1,883 environment.h

20/01/2014  14:57             2,644 machine.h

20/01/2014  14:57             3,460 strutils.h

20/01/2014  14:57             3,611 wtable.h

20/01/2014  14:57             4,758 MRSWLock.h

20/01/2014  14:57             7,247 wMessageStats.h

20/01/2014  14:57             8,476 queue.h

              15 File(s)         35,181 bytes

               2 Dir(s)   5,424,365,568 bytes free

 

Can you confirm that the download link is this àhttp://www.openmama.org/downloads/releases

 

 

Regards

Richard

 

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA  | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31  | * E-mail: Richard.Williamson@...

 

From: Damian Maguire [mailto:DMaguire@...]
Sent: 11 March 2014 15:30
To: Frank Quinn; Williamson, Richard X; Tom Doust; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hey Richard, 

 

I've regenerated the src tarball and placed it back on the OpenMAMA website. Can you try it again and see if that's resolved the issues?

 

Thanks, 

 

Damian

 

From: Frank Quinn <fquinn@...>
Date: Tuesday, March 11, 2014 11:12 AM
To: "Williamson, Richard X" <richard.williamson@...>, Tom Doust <tom.doust@...>, "openmama-dev@..." <openmama-dev@...>
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

I suspect this tarball was generated on a linux box after a build to verify that it works, so -h would actually be more destructive as it would dereference these portable files to their linux implementations when in fact they simply shouldn’t exist.

 

The files actually contain linux paths (when I extracted with 7z) so I don’t think this was a windows shortcut. Perhaps winrar was smart enough to figure out that these were originally symlinks and simply pruned them out which would be why it worked for you.

 

I think the solution here is to simply create a source tarball from a clean checkout and ensure that a build is not performed first.

 

Cheers,

Frank

 

From: Williamson, Richard X [mailto:richard.williamson@...]
Sent: 11 March 2014 11:03
To: Tom Doust; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

One solution to this could be to use the ‘-h’ flag when building the tar file.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Tom Doust [mailto:tom.doust@...]
Sent: 11 March 2014 11:00
To: Williamson, Richard X; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

It appears to depend on what you use to expand with.

 

I unpacked it using WinRAR which converted those files (correctly I think) to Windows Shortcuts.  Richard was using WinZip with just expanded them as zero length files

 

Tom

 

From:openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 10:27 AM
To: Frank Quinn; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

If you download the openmama-src.2.3.0.tar.gz then expand it.

 

There are 5 zero length files in …\common\c_cpp\src\c\wombat .

 

They are port.h, wConfig.h, wInterlocked.h, wMath.h and wUuid.h.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Frank Quinn [mailto:fquinn@...]
Sent: 11 March 2014 10:17
To: Williamson, Richard X; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From:openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.



This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


Richard Williamson
 

It’s still the same.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | ( Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Damian Maguire [mailto:DMaguire@...]
Sent: 11 March 2014 16:48
To: Williamson, Richard X; Frank Quinn; Tom Doust; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Apologies Richard, it appears the web server was caching the old version of the file. Can you try it again now?

 

Thanks, 

 

Damian

 

From: <Williamson>, Richard X <richard.williamson@...>
Date: Tuesday, March 11, 2014 4:11 PM
To: Damian Maguire <dmaguire@...>, Frank Quinn <fquinn@...>, Tom Doust <tom.doust@...>, "openmama-dev@..." <openmama-dev@...>
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Damian,

 

I still get the same result.

 

C:\_Richard_\OpenMAMA\openmama-src-2.3.0.tar\openmama-src-2.3.0\common\c_cpp\src\c\wombat>dir /o:s

Volume in drive C is OSDisk

Volume Serial Number is 5850-67F4

 

Directory of C:\_Richard_\OpenMAMA\openmama-src-2.3.0.tar\openmama-src-2.3.0\common\c_cpp\src\c\wombat

 

11/03/2014  16:04    <DIR>          .

11/03/2014  16:04    <DIR>          ..

20/01/2014  14:57                 0 wMath.h

20/01/2014  14:57                 0 wInterlocked.h

20/01/2014  14:57                 0 wConfig.h

20/01/2014  14:57                 0 port.h

20/01/2014  14:57                 0 wUuid.h

20/01/2014  14:57               991 wSemaphore.h

20/01/2014  14:57             1,034 wincompat.h

20/01/2014  14:57             1,077 wCommon.h

20/01/2014  14:57             1,883 environment.h

20/01/2014  14:57             2,644 machine.h

20/01/2014  14:57             3,460 strutils.h

20/01/2014  14:57             3,611 wtable.h

20/01/2014  14:57             4,758 MRSWLock.h

20/01/2014  14:57             7,247 wMessageStats.h

20/01/2014  14:57             8,476 queue.h

              15 File(s)         35,181 bytes

               2 Dir(s)   5,424,365,568 bytes free

 

Can you confirm that the download link is this àhttp://www.openmama.org/downloads/releases

 

 

Regards

Richard

 

 

Richard Williamson | Corporate & Investment Bank | PIM Trading Technology Solutions EMEA  | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31  | * E-mail: Richard.Williamson@...

 

From: Damian Maguire [mailto:DMaguire@...]
Sent: 11 March 2014 15:30
To: Frank Quinn; Williamson, Richard X; Tom Doust; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hey Richard, 

 

I've regenerated the src tarball and placed it back on the OpenMAMA website. Can you try it again and see if that's resolved the issues?

 

Thanks, 

 

Damian

 

From: Frank Quinn <fquinn@...>
Date: Tuesday, March 11, 2014 11:12 AM
To: "Williamson, Richard X" <richard.williamson@...>, Tom Doust <tom.doust@...>, "openmama-dev@..." <openmama-dev@...>
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

I suspect this tarball was generated on a linux box after a build to verify that it works, so -h would actually be more destructive as it would dereference these portable files to their linux implementations when in fact they simply shouldn’t exist.

 

The files actually contain linux paths (when I extracted with 7z) so I don’t think this was a windows shortcut. Perhaps winrar was smart enough to figure out that these were originally symlinks and simply pruned them out which would be why it worked for you.

 

I think the solution here is to simply create a source tarball from a clean checkout and ensure that a build is not performed first.

 

Cheers,

Frank

 

From: Williamson, Richard X [mailto:richard.williamson@...]
Sent: 11 March 2014 11:03
To: Tom Doust; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

One solution to this could be to use the ‘-h’ flag when building the tar file.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Tom Doust [mailto:tom.doust@...]
Sent: 11 March 2014 11:00
To: Williamson, Richard X; Frank Quinn; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

It appears to depend on what you use to expand with.

 

I unpacked it using WinRAR which converted those files (correctly I think) to Windows Shortcuts.  Richard was using WinZip with just expanded them as zero length files

 

Tom

 

From:openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 10:27 AM
To: Frank Quinn; openmama-dev@...
Subject: Re: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

If you download the openmama-src.2.3.0.tar.gz then expand it.

 

There are 5 zero length files in …\common\c_cpp\src\c\wombat .

 

They are port.h, wConfig.h, wInterlocked.h, wMath.h and wUuid.h.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

From: Frank Quinn [mailto:fquinn@...]
Sent: 11 March 2014 10:17
To: Williamson, Richard X; openmama-dev@...
Subject: RE: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

Hi Richard,

 

What version are you running? On the latest source tree, there are no zero-sized files in common/c_cpp/src/c/wombat.

 

Also, the include path should be as follows so the windows folder should be taking precedence:

 

$(SOLUTIONDIR)\common\c_cpp\src\c\windows;$(SOLUTIONDIR)\common\c_cpp\src\c;$(SOLUTIONDIR)\common\c_cpp\src\c\windows\wombat;%(AdditionalIncludeDirectories)

 

If you’re still having problems, can you try a clean checkout of the feature-visual-studio-updates branch and see if it has the same problem?

 

Cheers,

Frank

 

From:openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Williamson, Richard X
Sent: 11 March 2014 09:54
To: openmama-dev@...
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

 

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.



This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


Damian Maguire <DMaguire@...>
 

Just to follow up on this on list, I worked with Richard off list to resolve this issue – the current tarball on the OpenMAMA website has been updated and should not be suffering from this issue. If anyone sees any similar problems let me know and I'll look into them. 

Cheers, 

D

From: <Williamson>, Richard X <richard.williamson@...>
Date: Tuesday, March 11, 2014 9:54 AM
To: "openmama-dev@..." <openmama-dev@...>
Subject: [Openmama-dev] Building OM 2.3 with Visual Studio 2012 and zero length include files

When building the common project the build fails with lots of undefined symbols and various other errors.

 

The issue is caused by the port.h and wConfig.h files in the …\common\c_cpp\src\c\wombat  directory being zero length.

 

These files seem to resolve the include search and VS doesn’t bother to look further.

 

The files required by the build are in …\common\c_cpp\src\c\windows\wombat directory which is later in the include path.

 

If I rename the zero length files OM 2.3 builds !

 

Please provide a fix for this.

 

Regards

Richard

 

Richard Williamson | Corporate & Investment Bank| PIM Trading Technology Solutions EMEA | J.P. Morgan | 25 Bank Street, Canary Wharf, London. E14 5JP | (Tel: +44-20-7134-4518 | ) Mob: +44-7887-95-44-31 | * E-mail: Richard.Williamson@...

 

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.