libbitcoin / libbitcoin-system

Bitcoin Cross-Platform C++ Development Toolkit

Home Page:https://libbitcoin.info/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile Error

Jgroover100 opened this issue · comments

After all the work I did in installing the libraries I am getting the following error when compiling my program.

Collect2: error: ld returned 1exit status

Does anyone have a fix or comments?

Compilation terminated
/Use/lib/gcc/x86_64-linux-gnu/9/../../x86_64-linux-gnu/sert1.o: in function'_start': (.text+0x24): undefined reference to 'main'
Collect2: error:ld returned 1 exit status 

This is the error. Anybody with a solution? Thanks

That's not much to go on especially considering it's your (custom) project.

The examples project is a very simple program that compiles with the libbitcoin-system library and is verified in CI.

Impossible to say, I don't have your repro. But the examples project (and tests project) builds in CI on multiple platforms.

Closed as both stale and external.