Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opengrn will not build as a dynamic/shared library #5

Open
matty45 opened this issue Sep 23, 2022 · 0 comments
Open

opengrn will not build as a dynamic/shared library #5

matty45 opened this issue Sep 23, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@matty45
Copy link

matty45 commented Sep 23, 2022

For some reason, opengrn refuses to build with visual studio 2022 when "OPENGRN_STATIC" is false

1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Release x64 ------
1>Checking Build System
2>------ Rebuild All started: Project: opengrn, Configuration: Release x64 ------
2>Building Custom Rule F:/Documents/GithubProjects/opengr2/libopengrn/CMakeLists.txt
2>compression.c
2>darray.c
2>debug.c
2>elements.c
2>F:\Documents\GithubProjects\opengr2\libopengrn\gr2.h(84,35): error C2059: syntax error: 'type'
2>F:\Documents\GithubProjects\opengr2\libopengrn\elements.c(56,16): error C2375: 'Element_Free': redefinition; different linkage
2>F:\Documents\GithubProjects\opengr2\libopengrn\elements.h(128): message : see declaration of 'Element_Free'
2>elements_parse.c
2>F:\Documents\GithubProjects\opengr2\libopengrn\gr2.h(84,35): error C2059: syntax error: 'type'
2>gr2.c
2>F:\Documents\GithubProjects\opengr2\libopengrn\gr2.h(84,35): error C2059: syntax error: 'type'
2>F:\Documents\GithubProjects\opengr2\libopengrn\gr2.c(100,28): error C2059: syntax error: 'type'
2>gr2_read.c
2>F:\Documents\GithubProjects\opengr2\libopengrn\gr2.h(84,35): error C2059: syntax error: 'type'
2>gr2_write.c
2>F:\Documents\GithubProjects\opengr2\libopengrn\gr2.h(84,35): error C2059: syntax error: 'type'
2>platform.c
2>magic.c
2>oodle1.c
2>virtual_ptr.c
2>F:\Documents\GithubProjects\opengr2\libopengrn\gr2.h(84,35): error C2059: syntax error: 'type'
2>crc.c
2>typeinfo.c
2>F:\Documents\GithubProjects\opengr2\libopengrn\gr2.h(84,35): error C2059: syntax error: 'type'
2>Generating Code...
2>Done building project "opengrn.vcxproj" -- FAILED.
3>------ Rebuild All started: Project: gr2nfo, Configuration: Release x64 ------
3>Building Custom Rule F:/Documents/GithubProjects/opengr2/gr2nfo/CMakeLists.txt
3>gr2nfo.c
3>F:\Documents\GithubProjects\opengr2\gr2nfo\../libopengrn/gr2.h(84,35): error C2059: syntax error: 'type'
3>Done building project "gr2nfo.vcxproj" -- FAILED.
4>------ Skipped Rebuild All: Project: ALL_BUILD, Configuration: Release x64 ------
4>Project not selected to build for this solution configuration 
========== Rebuild All: 1 succeeded, 2 failed, 1 skipped ==========
========== Elapsed 00:02.693 ==========
@arves100 arves100 added the bug Something isn't working label Sep 23, 2022
@arves100 arves100 self-assigned this Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants