You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very nice program, but I'm having difficulty getting it to run. After entering me relation and functional dependencies, I ask to print the candidate key and get this error make: *** [Makefile:13: run] Segmentation fault (core dumped). When running make test in the tests folder I get the following: g++ -c -std=c++11 -Werror -c setstr_compare.cc -o setstr_compare.o g++ -c -std=c++11 -Werror -c utility.cc -o utility.o g++ -c -std=c++11 -Werror -c dependency.cc -o dependency.o g++ -c -std=c++11 -Werror -c relation.cc -o relation.o g++ -c -std=c++11 -Werror -c user_interface.cc -o user_interface.o make[1]: Leaving directory '/home/figgeous/Documents/Database/Decomposer' Running test for setstr_compare class setstr_compare_test::testLess : OK OK (1) Running test for utility functions utility_test::testContains : OK utility_test::testIsPart : OK utility_test::testIsEqual : OK utility_test::testIsSubset : OK utility_test::testContains2 : OK utility_test::testOutOperator : OK utility_test::testSubOperator : OK utility_test::testSubOperator1 : OK OK (8) Running test for Dependency class dependency_test::testDependency : OK dependency_test::testGetLhs : OK dependency_test::testGetRhs : OK dependency_test::testGetAttribs : OK dependency_test::testDependency2 : OK dependency_test::testAddLhs : OK dependency_test::testAddRhs : OK dependency_test::testRemoveLhs : OK dependency_test::testRemoveRhs : OK dependency_test::testIsPresentLhs : OK dependency_test::testIsPresentRhs : OK dependency_test::testIsPresent : OK dependency_test::testSize : OK dependency_test::testSetLhs : OK dependency_test::testSetRhs : OK dependency_test::testClearLhs : OK dependency_test::testClearRhs : OK dependency_test::testClear : OK dependency_test::testOperatorOut : OK dependency_test::testOperatorLess : OK dependency_test::testOperatorGreat : OK dependency_test::testOperatorEq : OK dependency_test::testOperatorNotEq : OK dependency_test::testOperatorPlusEq : OK OK (24) Running test for Relation class relation_test::testRelation : OK relation_test::testRelation2 : OK relation_test::testAddAtributte : OK relation_test::testAddAtributtes : OK relation_test::testRemoveAtributte : OK relation_test::testRemoveDependency : OK relation_test::testRemoveDependency2 : OK relation_test::testAddDependencies : OK relation_test::testAddDependency : OK relation_test::testAddDependency2 : OK relation_test::testFindDepLHS : OK relation_test::testIsNormalSegmentation fault (core dumped)
Running Ubutun 22.4
Any chance that this could be fixed? It would be great to be able to use this program. Thanks
The text was updated successfully, but these errors were encountered:
Very nice program, but I'm having difficulty getting it to run. After entering me relation and functional dependencies, I ask to print the candidate key and get this error
make: *** [Makefile:13: run] Segmentation fault (core dumped)
. When runningmake test
in the tests folder I get the following:g++ -c -std=c++11 -Werror -c setstr_compare.cc -o setstr_compare.o g++ -c -std=c++11 -Werror -c utility.cc -o utility.o g++ -c -std=c++11 -Werror -c dependency.cc -o dependency.o g++ -c -std=c++11 -Werror -c relation.cc -o relation.o g++ -c -std=c++11 -Werror -c user_interface.cc -o user_interface.o make[1]: Leaving directory '/home/figgeous/Documents/Database/Decomposer' Running test for setstr_compare class setstr_compare_test::testLess : OK OK (1) Running test for utility functions utility_test::testContains : OK utility_test::testIsPart : OK utility_test::testIsEqual : OK utility_test::testIsSubset : OK utility_test::testContains2 : OK utility_test::testOutOperator : OK utility_test::testSubOperator : OK utility_test::testSubOperator1 : OK OK (8) Running test for Dependency class dependency_test::testDependency : OK dependency_test::testGetLhs : OK dependency_test::testGetRhs : OK dependency_test::testGetAttribs : OK dependency_test::testDependency2 : OK dependency_test::testAddLhs : OK dependency_test::testAddRhs : OK dependency_test::testRemoveLhs : OK dependency_test::testRemoveRhs : OK dependency_test::testIsPresentLhs : OK dependency_test::testIsPresentRhs : OK dependency_test::testIsPresent : OK dependency_test::testSize : OK dependency_test::testSetLhs : OK dependency_test::testSetRhs : OK dependency_test::testClearLhs : OK dependency_test::testClearRhs : OK dependency_test::testClear : OK dependency_test::testOperatorOut : OK dependency_test::testOperatorLess : OK dependency_test::testOperatorGreat : OK dependency_test::testOperatorEq : OK dependency_test::testOperatorNotEq : OK dependency_test::testOperatorPlusEq : OK OK (24) Running test for Relation class relation_test::testRelation : OK relation_test::testRelation2 : OK relation_test::testAddAtributte : OK relation_test::testAddAtributtes : OK relation_test::testRemoveAtributte : OK relation_test::testRemoveDependency : OK relation_test::testRemoveDependency2 : OK relation_test::testAddDependencies : OK relation_test::testAddDependency : OK relation_test::testAddDependency2 : OK relation_test::testFindDepLHS : OK relation_test::testIsNormalSegmentation fault (core dumped)
Running Ubutun 22.4
Any chance that this could be fixed? It would be great to be able to use this program. Thanks
The text was updated successfully, but these errors were encountered: