Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build on Windows #104

Open
andrewteta opened this issue Nov 29, 2023 · 0 comments
Open

Can't build on Windows #104

andrewteta opened this issue Nov 29, 2023 · 0 comments

Comments

@andrewteta
Copy link

Using the master branch, I can't compile on Windows. Here's the output of CMake configure:

D:\Programs\MTD\ingenialink>cmake -H. -B_build -DCMAKE_INSTALL_PREFIX=%INSTALL% -DWITH_PROT_ETH=ON -DWITH_PROT_ECAT=ON
-- Building for: Ninja
-- The C compiler identification is MSVC 19.16.27048.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
libwpcap path: D:/Programs/MTD/ingenialink/external/SOEM/oshw/win32/wpcap/Lib
-- Found LibXml2: C:/Users/ateta/compiler-tools/libxml2/lib/xml2.lib (found version "2.9.14") 
-- Could NOT find Perl (missing: PERL_EXECUTABLE) 
CMake Warning at cmake/StyleCheck.cmake:36 (message):
  Style check available not available.  Install Perl.
Call Stack (most recent call first):
  CMakeLists.txt:250 (include)

The output from CMake build is: log.txt

Should I expect this many warnings? Any idea how to resolve the errors (e.g. "Cannot open include file: 'iconv.h': No such file or directory")? Is there a specific compiler version I should use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant