vle-forge / packages

Packages for VLE: output, subformalisms, examples
3 stars 7 forks source link

pkg configure error (vle-1.1.0-beta1) #37

Closed eric-casellas closed 10 years ago

eric-casellas commented 11 years ago

After successfully installing vle-1.1.0-beta1 on a new Ubuntu 12.04 virtual machine I get the following error when installing the extension packages :

record@record-VirtualBox:~/Documents/packagesvle-1.1.0-beta1$ vle -P vle.output/ configure -- The CXX compiler identification is GNU -- The C compiler identification is GNU -- 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 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- checking for module 'vle-1.1' -- found vle-1.1, version 1.1.0 CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find VLE (missing: VLE_LIBRARY_DIRS) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) cmake/FindVLE.cmake:142 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:49 (find_package)

-- Configuring incomplete, errors occurred!

quesnel commented 11 years ago

After successfully installing vle-1.1.0-beta1 on a new Ubuntu 12.04 virtual machine I get the following error when installing the extension packages :

Is paths in the Windows registry are good? Use regedit and the follow the path: [HKEY_LOCAL_MACHINE\SOFTWARE\VLE Development Team\VLE 1.1.0]

The default key and the path key must be equal to the install directory.

quesnel commented 11 years ago

Oups sorry for previous message.

Perhaps you can remove the VLE_LIBRARY_DIRS and GVLE_LIBRARY_DIRS in the FindVLE.cmake and FindGVLE.cmake if you have installed vle in /usr/local or /usr ?

May be remove VLE_LIBRARY_DIRS and GVLE_LIBRARY_DIRS from template files in VLE ?

eric-casellas commented 11 years ago

yes these changes in FindVLE.cmake & FindGVLE.cmake, fixed the error