nojhan / paradiseo

An evolutionary computation framework to (automatically) build fast parallel stochastic optimization solvers
https://nojhan.github.io/paradiseo/
Other
92 stars 33 forks source link

ParadiseO, not rcognized #49

Closed ghost closed 3 years ago

ghost commented 4 years ago

@nojhan

Despite installing ParadiseO on my linux machine, using the .deb from the web site, the compiler doesn't recognize the package.

Machine

Linu:: Ubuntu:: 18.04 LTS

ParadiseO verion:: 2.0

even when adding it to the includePath, it still doesn't work.

Screenshot from 2020-05-24 19-29-26

nojhan commented 4 years ago

The include directive should describe a path starting from the directory you indicated to your compiler.

Given that the package install the headers in /usr/include/paradiseo/ and that your compiler is probably told to look in /usr/include/ (just guessing, but it's a classical setting in IDEs), you should then code #include <paradiseo/eo>.

If that does not work, please check the settings of your IDE regarding the paths indicated to your compiler and use an include path from here.

ghost commented 4 years ago

Yeah exactly that is what i did, on both Vs Code, and Code Blocks and still the same problem.

is there any other example code, other than the ones in the web site(find it complicated), not that C++ pro.

Thnx.

nojhan commented 4 years ago

The screen capture seems to show that /usr/include/paradiseo/eo/ is a directory, not a header file. Thus, I guess that there is a /usr/include/paradiseo/eo/eo file. In which case you should configure your IDE in order to include all /usr/include/paradiseo/ subdirectories (or at least the eo subdirectory, if you only use this module), and then code #include <eo>.

Le lun. 25 mai 2020 à 00:45, Herhar Fares notifications@github.com a écrit :

Yeah exactly that is what i did, on both Vs Code, and Code Blocks and still the same problem.

is there any other example code, other than the ones in the web site(find it complicated), not that C++ pro.

Thnx.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nojhan/paradiseo/issues/49#issuecomment-633311596, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACFSUMHPZGTBVUZKYQAQETRTGPQHANCNFSM4NI74PNA .

ghost commented 4 years ago

Thnx There is an error that remains, and i don't get.

cmake .., is correctly executed but when executing make, is generates this error.

Thanks for your help. Screenshot from 2020-05-31 19-04-59

nojhan commented 4 years ago

To be able to help you, I will need more info on your setup: the versions of your build chain (OS, cmake, make, compiler), the version of ParadisEO and the options you set up with CMake.

Also, please do not upload screenshots but copy/paste the text output, containing the command.

Le dim. 31 mai 2020 à 20:07, Herhar Fares notifications@github.com a écrit :

Thnx There is an error that remains, and i don't get.

Thanks for your help. [image: Screenshot from 2020-05-31 19-04-59] https://user-images.githubusercontent.com/47500400/83359401-e6fa0b80-a371-11ea-9024-b4e39cd87a86.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nojhan/paradiseo/issues/49#issuecomment-636506737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACFSULDUGHH466FSZYSUY3RUKMHBANCNFSM4NI74PNA .

ghost commented 4 years ago

Os:: Ubuntu 18.04 LTS cmake:: Version 3.10.2 make:: GNU Make 4.1 compiler:: g++ Version 7.5.0 ParadisEO:: The latest version on the website 2.0.1

I installed it using the debian package. currently i am compiling the Quick Start tutorial.

nojhan commented 4 years ago

A workaround should be to add the -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true argument when running cmake.

ghost commented 4 years ago

The same problem remains, but with the argument you pointed, it always reaches the 100%

nojhan commented 4 years ago

Can you copy/paste the command you type and the error you get?

ghost commented 4 years ago

cmake -fPIC ..

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check for sstream
-- Check for sstream - found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Found ParadisEO includes :
/usr/include/paradiseo/eo
/usr/include/paradiseo/mo
/usr/include/paradiseo/moeo
-- Unable to generate the documentation, Doxygen package not found
CMake Warning (dev) at application/CMakeLists.txt:18 (add_custom_target):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The target name "install" is reserved or not valid for certain CMake
  features, such as generator expressions, and may result in undefined
  behavior.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/fares/Downloads/QuickStart/Example/build

make

Scanning dependencies of target lZDT
[ 14%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT.cpp.o
[ 28%] Building CXX object src/CMakeFiles/lZDT.dir/ZDTEval.cpp.o
[ 42%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o
[ 57%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT2Eval.cpp.o
[ 71%] Linking CXX static library ../lib/liblZDT.a
[ 71%] Built target lZDT
Scanning dependencies of target ZDT_NSGAII
[ 85%] Building CXX object application/CMakeFiles/ZDT_NSGAII.dir/ZDT_NSGAII.cpp.o
[100%] Linking CXX executable ZDT_NSGAII
/usr/bin/ld: //usr/lib64/libmoeo.a(moeoObjectiveVectorTraits.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoParser.cpp.o): relocation R_X86_64_32S against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoRealBounds.cpp.o): relocation R_X86_64_32S against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoRNG.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoState.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(make_help.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoLogger.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeo.a(eoFunctorStore.cpp.o): relocation R_X86_64_32S against symbol `_ZTV14eoFunctorStore' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeo.a(eoPrintable.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
application/CMakeFiles/ZDT_NSGAII.dir/build.make:98: recipe for target 'application/ZDT_NSGAII' failed
make[2]: *** [application/ZDT_NSGAII] Error 1
CMakeFiles/Makefile2:159: recipe for target 'application/CMakeFiles/ZDT_NSGAII.dir/all' failed
make[1]: *** [application/CMakeFiles/ZDT_NSGAII.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
nojhan commented 4 years ago

Your cmake -fPIC .. means nothing, as I said earlier, you should type cmake -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true ...

ghost commented 4 years ago

cmake DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true ..

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Found ParadisEO includes :
/usr/include/paradiseo/eo
/usr/include/paradiseo/mo
/usr/include/paradiseo/moeo
-- Unable to generate the documentation, Doxygen package not found
CMake Warning (dev) at application/CMakeLists.txt:18 (add_custom_target):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The target name "install" is reserved or not valid for certain CMake
  features, such as generator expressions, and may result in undefined
  behavior.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/fares/Downloads/QuickStart/Example/build

make

[ 14%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT.cpp.o
[ 28%] Building CXX object src/CMakeFiles/lZDT.dir/ZDTEval.cpp.o
[ 42%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o
[ 71%] Built target lZDT
[ 85%] Linking CXX executable ZDT_NSGAII
/usr/bin/ld: //usr/lib64/libmoeo.a(moeoObjectiveVectorTraits.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoParser.cpp.o): relocation R_X86_64_32S against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoRealBounds.cpp.o): relocation R_X86_64_32S against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoRNG.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoState.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(make_help.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoLogger.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeo.a(eoFunctorStore.cpp.o): relocation R_X86_64_32S against symbol `_ZTV14eoFunctorStore' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeo.a(eoPrintable.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
application/CMakeFiles/ZDT_NSGAII.dir/build.make:98: recipe for target 'application/ZDT_NSGAII' failed
make[2]: *** [application/ZDT_NSGAII] Error 1
CMakeFiles/Makefile2:159: recipe for target 'application/CMakeFiles/ZDT_NSGAII.dir/all' failed
make[1]: *** [application/CMakeFiles/ZDT_NSGAII.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
ghost commented 4 years ago

cmake DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true -fPIC ..

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check for sstream
-- Check for sstream - found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Found ParadisEO includes :
/usr/include/paradiseo/eo
/usr/include/paradiseo/mo
/usr/include/paradiseo/moeo
-- Unable to generate the documentation, Doxygen package not found
CMake Warning (dev) at application/CMakeLists.txt:18 (add_custom_target):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The target name "install" is reserved or not valid for certain CMake
  features, such as generator expressions, and may result in undefined
  behavior.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/fares/Downloads/QuickStart/Example/build

make

Scanning dependencies of target lZDT
[ 14%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT.cpp.o
[ 28%] Building CXX object src/CMakeFiles/lZDT.dir/ZDTEval.cpp.o
[ 42%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o
[ 57%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT2Eval.cpp.o
[ 71%] Linking CXX static library ../lib/liblZDT.a
[ 71%] Built target lZDT
Scanning dependencies of target ZDT_NSGAII
[ 85%] Building CXX object application/CMakeFiles/ZDT_NSGAII.dir/ZDT_NSGAII.cpp.o
[100%] Linking CXX executable ZDT_NSGAII
/usr/bin/ld: //usr/lib64/libmoeo.a(moeoObjectiveVectorTraits.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoParser.cpp.o): relocation R_X86_64_32S against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoRealBounds.cpp.o): relocation R_X86_64_32S against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoRNG.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoState.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(make_help.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeoutils.a(eoLogger.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeo.a(eoFunctorStore.cpp.o): relocation R_X86_64_32S against symbol `_ZTV14eoFunctorStore' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: //usr/lib64/libeo.a(eoPrintable.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
application/CMakeFiles/ZDT_NSGAII.dir/build.make:98: recipe for target 'application/ZDT_NSGAII' failed
make[2]: *** [application/ZDT_NSGAII] Error 1
CMakeFiles/Makefile2:159: recipe for target 'application/CMakeFiles/ZDT_NSGAII.dir/all' failed
make[1]: *** [application/CMakeFiles/ZDT_NSGAII.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
nojhan commented 4 years ago

You should not use -fPIC and you should prefix the options with an hyphen -D. Plus, while changing the configuration like that, it would be better to restart cmake from scratch. The exact command you should type is: rm -rf * && cmake -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true .. && make.

ghost commented 4 years ago

fares@Latitude-E7240:~/Downloads/QuickStart/Example/build$ rm -rf * && cmake -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true .. && make

-- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include iostream -- Looking for C++ include iostream - found -- Check for STD namespace -- Check for STD namespace - found -- Check for ANSI scope -- Check for ANSI scope - found -- Check for sstream -- Check for sstream - found -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Found ParadisEO includes : /usr/include/paradiseo/eo /usr/include/paradiseo/mo /usr/include/paradiseo/moeo -- Unable to generate the documentation, Doxygen package not found CMake Warning (dev) at application/CMakeLists.txt:18 (add_custom_target): Policy CMP0037 is not set: Target names should not be reserved and should match a validity pattern. Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The target name "install" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior. This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done -- Generating done -- Build files have been written to: /home/fares/Downloads/QuickStart/Example/build Scanning dependencies of target lZDT [ 14%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT.cpp.o [ 28%] Building CXX object src/CMakeFiles/lZDT.dir/ZDTEval.cpp.o [ 42%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o [ 57%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT2Eval.cpp.o [ 71%] Linking CXX static library ../lib/liblZDT.a [ 71%] Built target lZDT Scanning dependencies of target ZDT_NSGAII [ 85%] Building CXX object application/CMakeFiles/ZDT_NSGAII.dir/ZDT_NSGAII.cpp.o [100%] Linking CXX executable ZDT_NSGAII /usr/bin/ld: //usr/lib64/libmoeo.a(moeoObjectiveVectorTraits.cpp.o): relocation R_X86_64_32 against .bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoParser.cpp.o): relocation R_X86_64_32S against symbol_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoRealBounds.cpp.o): relocation R_X86_64_32S against symbol _ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoRNG.cpp.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoState.cpp.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(make_help.cpp.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoLogger.cpp.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeo.a(eoFunctorStore.cpp.o): relocation R_X86_64_32S against symbol_ZTV14eoFunctorStore' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeo.a(eoPrintable.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status application/CMakeFiles/ZDT_NSGAII.dir/build.make:98: recipe for target 'application/ZDT_NSGAII' failed make[2]: [application/ZDT_NSGAII] Error 1 CMakeFiles/Makefile2:159: recipe for target 'application/CMakeFiles/ZDT_NSGAII.dir/all' failed make[1]: [application/CMakeFiles/ZDT_NSGAII.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

nojhan commented 4 years ago

Please try export VERBOSE=1; rm -rf * && cmake -DCMAKE_POSITION_INDEPENDENT_CODE=1 .. && make and paste the result.

ghost commented 4 years ago

fares@Latitude-E7240:~/Downloads/QuickStart/Example/build$ export VERBOSE=1; rm -rf * && cmake -DCMAKE_POSITION_INDEPENDENT_CODE=1 .. && make

Re-run cmake no build system arguments -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include iostream -- Looking for C++ include iostream - found -- Check for STD namespace -- Check for STD namespace - found -- Check for ANSI scope -- Check for ANSI scope - found -- Check for sstream -- Check for sstream - found -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Found ParadisEO includes : /usr/include/paradiseo/eo /usr/include/paradiseo/mo /usr/include/paradiseo/moeo -- Unable to generate the documentation, Doxygen package not found CMake Warning (dev) at application/CMakeLists.txt:18 (add_custom_target): Policy CMP0037 is not set: Target names should not be reserved and should match a validity pattern. Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The target name "install" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior. This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done -- Generating done -- Build files have been written to: /home/fares/Downloads/QuickStart/Example/build /usr/bin/cmake -H/home/fares/Downloads/QuickStart/Example -B/home/fares/Downloads/QuickStart/Example/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/fares/Downloads/QuickStart/Example/build/CMakeFiles /home/fares/Downloads/QuickStart/Example/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' make -f src/CMakeFiles/lZDT.dir/build.make src/CMakeFiles/lZDT.dir/depend make[2]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' cd /home/fares/Downloads/QuickStart/Example/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/fares/Downloads/QuickStart/Example /home/fares/Downloads/QuickStart/Example/src /home/fares/Downloads/QuickStart/Example/build /home/fares/Downloads/QuickStart/Example/build/src /home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/lZDT.dir/DependInfo.cmake --color= Dependee "/home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/lZDT.dir/DependInfo.cmake" is newer than depender "/home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/lZDT.dir/depend.internal". Dependee "/home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/lZDT.dir/depend.internal". Scanning dependencies of target lZDT make[2]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' make -f src/CMakeFiles/lZDT.dir/build.make src/CMakeFiles/lZDT.dir/build make[2]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' [ 14%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIC -o CMakeFiles/lZDT.dir/ZDT.cpp.o -c /home/fares/Downloads/QuickStart/Example/src/ZDT.cpp [ 28%] Building CXX object src/CMakeFiles/lZDT.dir/ZDTEval.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIC -o CMakeFiles/lZDT.dir/ZDTEval.cpp.o -c /home/fares/Downloads/QuickStart/Example/src/ZDTEval.cpp [ 42%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIC -o CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o -c /home/fares/Downloads/QuickStart/Example/src/ZDT1Eval.cpp [ 57%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT2Eval.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIC -o CMakeFiles/lZDT.dir/ZDT2Eval.cpp.o -c /home/fares/Downloads/QuickStart/Example/src/ZDT2Eval.cpp [ 71%] Linking CXX static library ../lib/liblZDT.a cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/cmake -P CMakeFiles/lZDT.dir/cmake_clean_target.cmake cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/lZDT.dir/link.txt --verbose=1 /usr/bin/ar qc ../lib/liblZDT.a CMakeFiles/lZDT.dir/ZDT.cpp.o CMakeFiles/lZDT.dir/ZDTEval.cpp.o CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o CMakeFiles/lZDT.dir/ZDT2Eval.cpp.o /usr/bin/ranlib ../lib/liblZDT.a make[2]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' [ 71%] Built target lZDT make -f application/CMakeFiles/ZDT_NSGAII.dir/build.make application/CMakeFiles/ZDT_NSGAII.dir/depend make[2]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' cd /home/fares/Downloads/QuickStart/Example/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/fares/Downloads/QuickStart/Example /home/fares/Downloads/QuickStart/Example/application /home/fares/Downloads/QuickStart/Example/build /home/fares/Downloads/QuickStart/Example/build/application /home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/ZDT_NSGAII.dir/DependInfo.cmake --color= Dependee "/home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/ZDT_NSGAII.dir/DependInfo.cmake" is newer than depender "/home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/ZDT_NSGAII.dir/depend.internal". Dependee "/home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/ZDT_NSGAII.dir/depend.internal". Scanning dependencies of target ZDT_NSGAII make[2]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' make -f application/CMakeFiles/ZDT_NSGAII.dir/build.make application/CMakeFiles/ZDT_NSGAII.dir/build make[2]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' [ 85%] Building CXX object application/CMakeFiles/ZDT_NSGAII.dir/ZDT_NSGAII.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/application && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIE -o CMakeFiles/ZDT_NSGAII.dir/ZDT_NSGAII.cpp.o -c /home/fares/Downloads/QuickStart/Example/application/ZDT_NSGAII.cpp [100%] Linking CXX executable ZDT_NSGAII cd /home/fares/Downloads/QuickStart/Example/build/application && /usr/bin/cmake -E cmake_link_script CMakeFiles/ZDT_NSGAII.dir/link.txt --verbose=1 /usr/bin/c++ -rdynamic CMakeFiles/ZDT_NSGAII.dir/ZDT_NSGAII.cpp.o -o ZDT_NSGAII -Wl,-Bstatic -lmoeo -leoutils -leo ../lib/liblZDT.a -Wl,-Bdynamic /usr/bin/ld: //usr/lib64/libmoeo.a(moeoObjectiveVectorTraits.cpp.o): relocation R_X86_64_32 against .bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoParser.cpp.o): relocation R_X86_64_32S against symbol_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoRealBounds.cpp.o): relocation R_X86_64_32S against symbol _ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoRNG.cpp.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoState.cpp.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(make_help.cpp.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoLogger.cpp.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeo.a(eoFunctorStore.cpp.o): relocation R_X86_64_32S against symbol_ZTV14eoFunctorStore' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeo.a(eoPrintable.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status application/CMakeFiles/ZDT_NSGAII.dir/build.make:98: recipe for target 'application/ZDT_NSGAII' failed make[2]: [application/ZDT_NSGAII] Error 1 make[2]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' CMakeFiles/Makefile2:159: recipe for target 'application/CMakeFiles/ZDT_NSGAII.dir/all' failed make[1]: [application/CMakeFiles/ZDT_NSGAII.dir/all] Error 2 make[1]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

nojhan commented 4 years ago

You're not rebuilding ParadisEO, here, you're just building the example. You should rebuild the libraries with the same arguments, then build the example.

Le dim. 7 juin 2020 à 20:25, Herhar Fares notifications@github.com a écrit :

Re-run cmake no build system arguments -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include iostream -- Looking for C++ include iostream - found -- Check for STD namespace -- Check for STD namespace - found -- Check for ANSI scope -- Check for ANSI scope - found -- Check for sstream -- Check for sstream - found -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Found ParadisEO includes : /usr/include/paradiseo/eo /usr/include/paradiseo/mo /usr/include/paradiseo/moeo -- Unable to generate the documentation, Doxygen package not found CMake Warning (dev) at application/CMakeLists.txt:18 (add_custom_target): Policy CMP0037 is not set: Target names should not be reserved and should match a validity pattern. Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The target name "install" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior. This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done -- Generating done -- Build files have been written to: /home/fares/Downloads/QuickStart/Example/build /usr/bin/cmake -H/home/fares/Downloads/QuickStart/Example -B/home/fares/Downloads/QuickStart/Example/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/fares/Downloads/QuickStart/Example/build/CMakeFiles /home/fares/Downloads/QuickStart/Example/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' make -f src/CMakeFiles/lZDT.dir/build.make src/CMakeFiles/lZDT.dir/depend make[2]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' cd /home/fares/Downloads/QuickStart/Example/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/fares/Downloads/QuickStart/Example /home/fares/Downloads/QuickStart/Example/src /home/fares/Downloads/QuickStart/Example/build /home/fares/Downloads/QuickStart/Example/build/src /home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/lZDT.dir/DependInfo.cmake --color= Dependee "/home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/lZDT.dir/DependInfo.cmake" is newer than depender "/home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/lZDT.dir/depend.internal". Dependee "/home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/fares/Downloads/QuickStart/Example/build/src/CMakeFiles/lZDT.dir/depend.internal". Scanning dependencies of target lZDT make[2]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' make -f src/CMakeFiles/lZDT.dir/build.make src/CMakeFiles/lZDT.dir/build make[2]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' [ 14%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIC -o CMakeFiles/lZDT.dir/ZDT.cpp.o -c /home/fares/Downloads/QuickStart/Example/src/ZDT.cpp [ 28%] Building CXX object src/CMakeFiles/lZDT.dir/ZDTEval.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIC -o CMakeFiles/lZDT.dir/ZDTEval.cpp.o -c /home/fares/Downloads/QuickStart/Example/src/ZDTEval.cpp [ 42%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIC -o CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o -c /home/fares/Downloads/QuickStart/Example/src/ZDT1Eval.cpp [ 57%] Building CXX object src/CMakeFiles/lZDT.dir/ZDT2Eval.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIC -o CMakeFiles/lZDT.dir/ZDT2Eval.cpp.o -c /home/fares/Downloads/QuickStart/Example/src/ZDT2Eval.cpp [ 71%] Linking CXX static library ../lib/liblZDT.a cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/cmake -P CMakeFiles/lZDT.dir/cmake_clean_target.cmake cd /home/fares/Downloads/QuickStart/Example/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/lZDT.dir/link.txt --verbose=1 /usr/bin/ar qc ../lib/liblZDT.a CMakeFiles/lZDT.dir/ZDT.cpp.o CMakeFiles/lZDT.dir/ZDTEval.cpp.o CMakeFiles/lZDT.dir/ZDT1Eval.cpp.o CMakeFiles/lZDT.dir/ZDT2Eval.cpp.o /usr/bin/ranlib ../lib/liblZDT.a make[2]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' [ 71%] Built target lZDT make -f application/CMakeFiles/ZDT_NSGAII.dir/build.make application/CMakeFiles/ZDT_NSGAII.dir/depend make[2]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' cd /home/fares/Downloads/QuickStart/Example/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/fares/Downloads/QuickStart/Example /home/fares/Downloads/QuickStart/Example/application /home/fares/Downloads/QuickStart/Example/build /home/fares/Downloads/QuickStart/Example/build/application /home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/ZDT_NSGAII.dir/DependInfo.cmake --color= Dependee "/home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/ZDT_NSGAII.dir/DependInfo.cmake" is newer than depender "/home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/ZDT_NSGAII.dir/depend.internal". Dependee "/home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/fares/Downloads/QuickStart/Example/build/application/CMakeFiles/ZDT_NSGAII.dir/depend.internal". Scanning dependencies of target ZDT_NSGAII make[2]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' make -f application/CMakeFiles/ZDT_NSGAII.dir/build.make application/CMakeFiles/ZDT_NSGAII.dir/build make[2]: Entering directory '/home/fares/Downloads/QuickStart/Example/build' [ 85%] Building CXX object application/CMakeFiles/ZDT_NSGAII.dir/ZDT_NSGAII.cpp.o cd /home/fares/Downloads/QuickStart/Example/build/application && /usr/bin/c++ -DDEPRECATED_MESSAGES -I/usr/include/paradiseo/eo -I/usr/include/paradiseo/mo -I/usr/include/paradiseo/moeo -I/home/fares/Downloads/QuickStart/Example/src -fPIE -o CMakeFiles/ZDT_NSGAII.dir/ZDT_NSGAII.cpp.o -c /home/fares/Downloads/QuickStart/Example/application/ZDT_NSGAII.cpp [100%] Linking CXX executable ZDT_NSGAII cd /home/fares/Downloads/QuickStart/Example/build/application && /usr/bin/cmake -E cmake_link_script CMakeFiles/ZDT_NSGAII.dir/link.txt --verbose=1 /usr/bin/c++ -rdynamic CMakeFiles/ZDT_NSGAII.dir/ZDT_NSGAII.cpp.o -o ZDT_NSGAII -Wl,-Bstatic -lmoeo -leoutils -leo ../lib/liblZDT.a -Wl,-Bdynamic /usr/bin/ld: //usr/lib64/libmoeo.a(moeoObjectiveVectorTraits.cpp.o): relocation R_X86_64_32 against .bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoParser.cpp.o): relocation R_X86_64_32S against symbol _ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoRealBounds.cpp.o): relocation R_X86_64_32S against symbol _ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoRNG.cpp.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoState.cpp.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(make_help.cpp.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeoutils.a(eoLogger.cpp.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeo.a(eoFunctorStore.cpp.o): relocation R_X86_64_32S against symbol _ZTV14eoFunctorStore' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: //usr/lib64/libeo.a(eoPrintable.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status application/CMakeFiles/ZDT_NSGAII.dir/build.make:98: recipe for target 'application/ZDT_NSGAII' failed make[2]: [application/ZDT_NSGAII] Error 1 make[2]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' CMakeFiles/Makefile2:159: recipe for target 'application/CMakeFiles/ZDT_NSGAII.dir/all' failed make[1]: [application/CMakeFiles/ZDT_NSGAII.dir/all] Error 2 make[1]: Leaving directory '/home/fares/Downloads/QuickStart/Example/build' Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nojhan/paradiseo/issues/49#issuecomment-640259469, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACFSUPPRPE6JD5PLCESPTTRVPLQRANCNFSM4NI74PNA .

ghost commented 4 years ago

Yes exactly, and for ParadisEO I've installed it using the debian package on the web site.

nojhan commented 4 years ago

In oder to fix this problem, you will need to build ParadisEO with the option above.

Le lun. 8 juin 2020 à 02:36, Herhar Fares notifications@github.com a écrit :

Yes exactly, and for ParadisEO I've installed it using the debian package on the web site.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nojhan/paradiseo/issues/49#issuecomment-640304858, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACFSUJKNVPHFL2GK6JSL33RVQXABANCNFSM4NI74PNA .

ghost commented 4 years ago

Hi Thanks for your help, I want to point out, an error at the CMake level, When I compiled ParadisEO from the web site, zip file an error occured

Re-run cmake no build system arguments
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot 
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
CMake Warning (dev) at eo/CMakeLists.txt:31:
  Syntax Warning in cmake code at column 56

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
  if given arguments:

    "TRUE"

  An argument named "TRUE" appears in a conditional statement.  Policy
  CMP0012 is not set: if() recognizes numbers and boolean constants.  Run
  "cmake --help-policy CMP0012" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
  eo/CMakeLists.txt:48 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenMP_C: -fopenmp  
CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
  if given arguments:

    "TRUE"

  An argument named "TRUE" appears in a conditional statement.  Policy
  CMP0012 is not set: if() recognizes numbers and boolean constants.  Run
  "cmake --help-policy CMP0012" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
  eo/CMakeLists.txt:48 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenMP_CXX: -fopenmp  
-- Found OpenMP: TRUE   
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check for sstream
-- Check for sstream - found
CMake Warning (dev) in /usr/share/cmake-3.10/Modules/FindDoxygen.cmake:
  Policy CMP0057 is not set: Support new IN_LIST if() operator.  Run "cmake
  --help-policy CMP0057" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  IN_LIST will be interpreted as an operator when the policy is set to NEW.
  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  eo/CMakeLists.txt:56 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake-3.10/Modules/FindDoxygen.cmake:542 (elseif):
  given arguments:

    "NOT" "doxygen" "IN_LIST" "Doxygen_FIND_COMPONENTS"

  Unknown arguments specified
Call Stack (most recent call first):
  eo/CMakeLists.txt:56 (INCLUDE)

-- Configuring incomplete, errors occurred!
See also "/home/fares/Downloads/ParadisEO-2.0/build/CMakeFiles/CMakeOutput.log".
ghost commented 4 years ago

I could resolve it, only by commenting the include(FindDoxygen OPTIONAL) line , in the CMakeLists.txt File. The file requires the 2.8 Version, while I have the 3.10 Version, by looking further in the internet, the problem is with CMake Version compatibility, I can suggest upgrading the CMake version, to the latest Version, or handle the exception generated by the /usr/share/cmake-3.10/Modules/FindDoxygen.cmake:542 .

To be honest, i don't really know the limit, of the CMake compatibility Versions.

nojhan commented 4 years ago

The next release already use CMake 3.10, so I guess it'll fix your problem. -- Johann

Le dim. 5 juil. 2020 à 20:18, Herhar Fares notifications@github.com a écrit :

I could resolve it, only by saibling the include(FindDoxygen OPTIONAL) line , in the CMakeLists.txt. The file requires the 2.8 Version, while I have the 3.10 Version, by looking further in the internet, the problem is with CMake Version compatibility, I can suggest upgrading the CMake version, to the latest Version, or handle the exception generated by the /usr/share/cmake-3.10/Modules/FindDoxygen.cmake:542 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nojhan/paradiseo/issues/49#issuecomment-653921383, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACFSUNAQOZXYZBRXAE3E5LR2C7XPANCNFSM4NI74PNA .