[odb-users] Error when compiling ODB compiler in 2.5.0-b25 on Windows

DEMBROGE Michael michael.dembroge at leica-geosystems.com
Wed Jan 10 13:21:14 EST 2024


Thank you Boris for the info. Regarding the capitalization, that was a Microsoft auto-format in the email that I did not notice. The original commands used lower-case 'c'. Regarding the compiler version, I tried both, gcc & g++ and had no luck either way.

That said, I was able to get it to compile on another computer. I had previously built the ODB libraries for Linux on my machine using WSL, so I think there is some remnant or something that is causing it to fail. When I built on a clean machine, it worked okay.

Thanks again,

Mike

-----Original Message-----
From: Boris Kolpackov <boris at codesynthesis.com>
Sent: Wednesday, January 10, 2024 5:59 AM
To: DEMBROGE Michael <michael.dembroge at leica-geosystems.com>
Cc: odb-users at codesynthesis.com; EDDOWES Scott <scott.eddowes at hds.leica-geosystems.com>
Subject: Re: [odb-users] Error when compiling ODB compiler in 2.5.0-b25 on Windows

[You don't often get email from boris at codesynthesis.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

This email is not from Hexagon's Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.


DEMBROGE Michael <michael.dembroge at leica-geosystems.com> writes:

> c:\odb-build>bpkg create -d odb-mingw cxx^ More? Config.cxx=gcc^ More?
> Config.cc.coptions=-O2^ More? Config.install.root=c:\build2

There are two issues with this command line:

1. All then config.* variables should start with the lower-case letter. So
   config.cxx instead of Config.cxx, etc.

2. The compiler name specified with config.cxx should be g++, not gcc.

For details, see:

https://codesynthesis.com/products/odb/doc/install-build2.xhtml#windows-odb



More information about the odb-users mailing list