[Solved] Compiled from source, app doesn't want to open, even from old commits that were working
-
Sorry, but I'm currently not a powerful enough connection for that
-
well if you can attempt to build it and see why the binary simply just exits without ever showing a window. then that might help. The entire project is like 300kb.
-
The binary can't be built since you have defined two main function, your test should be an independent sub-project. Anyway once that removed, it builds and run fine at least on OS X.
On a side note you should not have .pro.user files in your repository it's only valid for your computer
-
I don't have two main functions.
One of those is commented out.
-
it was those test files like you said. Maybe they had main's?
-
Then your git repository might not be up to date. Currently there's a main in main.cpp and one in diff_match_past_test.cpp
-
thanks, you found the solution. I wasn't aware that the test.cpp's would build, just not run my app.
-
It's listed in SOURCES so it will build.
What you can to about it is to make a test case project for each of your tests.
-
thanks, I think the issue was two fold.
One I had the .user file
and
two
I had other main's in my test...cpp
Thanks, but it's working now. You were a tremendous help. I'll reincorporate those other functions later.
-
You're welcome!
Then please also update the thread title prepending [solved] so other forum users may know a solution has been found :)