Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)

Just have a drink and chat
Mauro
Blank Cone
Blank Cone
Posts: 15
Joined: 22 Feb 2011 10:47

Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)

Postby Mauro » 01 Jul 2011 15:16

I'm trying to build VLMC under windows using CMAKE-GUI and MinGW under Eclipse CDT.
I configured CMAKE to generate Eclipse project files and I imported the project into Eclipse.
Then if I try to build, it stops at the very beginning with a quite stupid error:

Code: Select all

[ 5%] Generating icon.o cd C:\Users\Admin\Documents\Git\vlmc-2.0-eclipse\src && -IC:\Users\Admin\Documents\Git\vlmc-2.0-eclipse -iC:/Users/Admin/Documents/Git/vlmc-2.0-eclipse/cmake/icon.rc -o C:/Users/Admin/Documents/Git/vlmc-2.0-eclipse/src/icon.o mingw32-make[2]: Leaving directory `C:/Users/Admin/Documents/Git/vlmc-2.0-eclipse' mingw32-make[1]: Leaving directory `C:/Users/Admin/Documents/Git/vlmc-2.0-eclipse' The filename, directory name, or volume label syntax is incorrect. mingw32-make[2]: *** [src/icon.o] Error 1 mingw32-make[1]: *** [src/CMakeFiles/vlmc.dir/all] Error 2 mingw32-make: *** [all] Error 2
Referenced directories and files exist, so I don't know how to solve the problem.
Any hint? Thanks

Mauro
Blank Cone
Blank Cone
Posts: 15
Joined: 22 Feb 2011 10:47

Re: Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)

Postby Mauro » 02 Jul 2011 12:35

Update
Te following is the rule in file "src/CMakeFiles/vlmc.dir/build.make"
that generates the error "The filename, directory name, or volume label syntax is incorrect"

Code: Select all

src/icon.o: $(CMAKE_COMMAND) -E cmake_progress_report C:\Users\Admin\Documents\Git\vlmc_2_0_eclipse\CMakeFiles $(CMAKE_PROGRESS_221) @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold "Generating icon.o" cd C:\Users\Admin\Documents\Git\vlmc_2_0_eclipse\src && -IC:\Users\Admin\Documents\Git\vlmc_2_0_eclipse -iC:/Users/Admin/Documents/Git/vlmc_2_0_eclipse/cmake/icon.rc -o C:/Users/Admin/Documents/Git/vlmc_2_0_eclipse/src/icon.o
I was told that in the above rule there is no command to execute after a successful 'cd ... &&', the command should be rcc.exe.
Any suggestion why is the rule missing the command?

Mauro
Blank Cone
Blank Cone
Posts: 15
Joined: 22 Feb 2011 10:47

Re: Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)

Postby Mauro » 02 Jul 2011 19:52

Update
I inserted windres.exe after the && and made the rule for src/icon.o work.
So, why is the command missing? Might there be an error in the CMAKE scripts?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Building VLMC under Windows (MinGW, CMAKE, Eclipse CDT)

Postby Jean-Baptiste Kempf » 04 Jul 2011 00:45

Yes, I think so. Please fix the cmake and then submit a patch...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 20 guests