Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Linking to the CXX executable example fails under MinGW-w64, msys2 due to using gcc instead of g++ #14

Open
CinchBlue opened this issue Sep 27, 2017 · 0 comments

Comments

@CinchBlue
Copy link

CinchBlue commented Sep 27, 2017

I use msys2, which support native executable builds within a POSIX-like environment.

Currently, CMakeLists.txt is setup to produce some sort of Makefile that seems to be compiling with gcc and not g++.

log.txt

I manually compiled the program with this command from within the ./tst/ folder:

 g++ example.c -L../build/ -llinenoise -I../include/

I can verify that the program is working correctly. So perhaps a change to the CMake configuration file is needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant