storm icon indicating copy to clipboard operation
storm copied to clipboard

Googletest library in wrong location when using Xcode

Open volkm opened this issue 4 years ago • 1 comments

When using Xcode for the Storm compilation the tests cannot be compiled because the googletest library is not found. The expected location would be build_xcode/resources/3rdparty/gtest-1.10.0/lib/libgtest.a but the generated library from Xcode is build_xcode/resources/3rdparty/gtest-1.10.0/libgtestd.a

Creating hardlinks works for the moment:

cd build_xcode/resources/3rdparty/gtest-1.10.0
mkdir lib
ln libgtestd.a lib/libgtest.a
ln libgtest_maind.a lib/libgtest_main.a

However, a permanent solution with the right directory structure and the correct library names would be better.

volkm avatar Apr 02 '20 12:04 volkm

By the way: Standard building with make puts it into storm/build/resources/3rdparty/gtest-1.10.0/lib/libgtest.a

tquatmann avatar Apr 03 '20 04:04 tquatmann

Is anyone still using Xcode to build storm? Do we want to support this still?

sjunges avatar Nov 18 '23 21:11 sjunges

I am not using XCode anymore. We can drop the support from my side.

volkm avatar Nov 20 '23 13:11 volkm

Same here

tquatmann avatar Nov 20 '23 18:11 tquatmann

Does dropping this removing any lines of code? Or is it about "wontfixing" this issue? :-)

sjunges avatar Nov 24 '23 08:11 sjunges

We could remove lines in CMakeLists but otherwise I do not see anything XCode specific.

volkm avatar Nov 24 '23 14:11 volkm

We could actually put a warning there and say that it wont work correctly and then close the issue?

sjunges avatar Nov 24 '23 14:11 sjunges