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

Build failed #2

Open
tiborsaas opened this issue May 24, 2020 · 2 comments
Open

Build failed #2

tiborsaas opened this issue May 24, 2020 · 2 comments

Comments

@tiborsaas
Copy link

tiborsaas commented May 24, 2020

Hello,

I generated a new project and when hitting build on an empty project with no changes, I get this weird error:

image

I'm using Visual Studio 2019, Windows 10, and OpenFrameworks 0.11.0

@moebiussurfing
Copy link

hey @tiborsaas , did you solved this?

You need to delete the txt file.

But after doing this I am getting 3 errors: (I am using OF0.11 / VS2017)

1>------ Build started: Project: example, Configuration: Release x64 ------
1>   Creating library bin\example.lib and object bin\example.exp
1>ofxTextureCube.obj : error LNK2001: unresolved external symbol arhosekskymodelstate_free
1>ofxTextureCube.obj : error LNK2001: unresolved external symbol arhosek_xyz_skymodelstate_alloc_init
1>ofxTextureCube.obj : error LNK2001: unresolved external symbol arhosek_tristim_skymodel_radiance
1>bin\example.exe : fatal error LNK1120: 3 unresolved externals
1>Done building project "example.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

At the end of the readme file it says this:

Please note that the source files are in C99, and you have to set appropriate 
compiler flags for them to work. For example, when compiling this code with 
gcc, you have to add the "-std=c99" or "-std=gnu99" flags.

So maybe this lines must be added in some setting of the project...
I tried to add this into config.make before run PG but no success.

PROJECT_CFLAGS = 
-std=c99, -std=gnu99

Any help around?

@diemildefreude
Copy link

Same problem here- I removed the txt-file but not sure what to do about that ofxTextureCube error. @tiborsaas and @moebiussurfing , did you ever figure this out?

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

No branches or pull requests

3 participants