Open skywalkerisnull opened 5 years ago
Hi Ashley, what compilation/build commands are you using? best e
Hey Erupnik,
I am running the script_jenkins_unix.sh
so: rm -rf build mkdir build cd build cmake .. NBRP=$(cat /proc/cpuinfo | grep processor | wc -l) make -j$NBRP make install cd .. chmod +x ./binaire-aux/siftpp_tgi.LINUX chmod +x ./binaire-aux/ann_mec_filtre.LINUX
Ashley
I can't really see what the problem could be. Did you clone the latest source?
I suggest that you 0/ download/clone the lastest source code if you're working on an older version 1/ try following the basic installation instructions enter 'micmac' directory : cd micmac create a directory for the build's intermediate files, then enter it : mkdir build & cd build generate makefiles using cmake : cmake ../ process compilation : make install -jcores number (ex.: make install -j4) 2/ and if you're still running into problems, run make install with sudo
You can also forward here the output of your cmake;
Hey Erupnik,
The version I have was a clone of the latest on git. I have done all of that, the machine has 32 cores but I limited the build to 16 for the build. Also ran it with and without sudo. I have also tried to build it manually as you described.
I'll re-try again in the morning and capture the output and post it up.
Alright, I have just got back to trying this again (after being distracted with some other projects) and now it is compiling correctly after fetching the latest version from git again.
If I use the Jenkins installer script, I get errors with the following lines:
chmod +x ./binaire-aux/siftpp_tgi.LINUX chmod +x ./binaire-aux/ann_mec_filtre.LINUX
Hello,
I have been trying to install/compile micmac on a VM and every time I compile I get the following error:
[ 21%] Building CXX object src/CMakeFiles/elise.dir/compression/lzw.cpp.o /home/ubuntu/micmac/src/bitm/lpts.cpp: In member function ‘Im2D<Type, Type_Base> Data_Liste_Pts<Type, Type_Base>::image()’: /home/ubuntu/micmac/src/bitm/lpts.cpp:400:10: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] dup._is_copie = true; ^
~~~~ [ 21%] Building CXX object src/CMakeFiles/elise.dir/compression/pack_bits.cpp.o [ 21%] Building CXX object src/CMakeFiles/elise.dir/compression/range_code.cpp.o [ 21%] Building CXX object src/CMakeFiles/elise.dir/correl/correl_2D.cpp.o cc1plus: all warnings being treated as errors src/CMakeFiles/elise.dir/build.make:1614: recipe for target 'src/CMakeFiles/elise.dir/bitm/lpts.cpp.o' failed make[2]: [src/CMakeFiles/elise.dir/bitm/lpts.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... CMakeFiles/Makefile2:311: recipe for target 'src/CMakeFiles/elise.dir/all' failed make[1]: [src/CMakeFiles/elise.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 21%] Linking CXX static library libpoisson.a [ 21%] Built target poisson Makefile:129: recipe for target 'all' failed make: *** [all] Error 2Is there somewhere I can download the pre-compiled binaries for ubuntu 18.04? or has anyone else had this issue and fixed it?