gxcore; compilation error

ArtemGorbunov
ArtemGorbunov Posts: 10
edited November 28 in Oasis montaj

Good day,

I'm trying to compile C++ examples from here (https://github.com/GeosoftInc/gxcore/tree/v2024.2/examples/cpp) using MS Visual Studio. The compiler keeps throwing the following error:

Probably, I'm doing something silly. If so, could anybody advise me on how I can solve this?
As far as I remember, "default" is a C++ keyword and really shouldn't be used as a function name, isn't it?


Regards,
Artem

Tagged:

Answers

  • PrachiChitkara
    PrachiChitkara Posts: 31 admin

    Hi @ArtemGorbunov were you able to get some solution for this?

  • Good day,

    I've managed to overcome this issue but now am having another one.

    I've compiled example cpp projects provided in the gxcore data archive. While trying to run the chanadd_cpp executable I keep getting the following

    It seems like the GXDB::open function struggles to read the file name correctly. For some reason, I also struggle to open any gdbs using the function in my own code. What can be the reason for that? Is there any detailed description or maybe a tutorial on how the stand-alone programs can be written? I found the available tutorials on cpp API as well as the API description not hugely informative.