flat assembler
Message board for the users of flat assembler.

Index > High Level Languages > [solved]compiling libpng, vs2005, "Didn't find assembler"

Author
Thread Post new topic Reply to topic
vivik



Joined: 29 Oct 2016
Posts: 671
vivik 21 Mar 2018, 07:49
Trying to compile libpng, I'm using this command:

Code:
cmake -G"Visual Studio 8 2005" -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_INSTALL_PREFIX=C:/_install C:/_src/libpng-1.6.34    


The result is:

Code:
-- The ASM compiler identification is unknown
-- Didn't find assembler
-- The C compiler identification is MSVC 14.0.50727
CMake Error at CMakeLists.txt:34 (project):
  No CMAKE_ASM_COMPILER could be found.    


What assembler it uses? I have nasm.exe installed (for libjpeg), what assembler the libpng needs?


Last edited by vivik on 21 Mar 2018, 18:55; edited 1 time in total
Post 21 Mar 2018, 07:49
View user's profile Send private message Reply with quote
donn



Joined: 05 Mar 2010
Posts: 321
donn 21 Mar 2018, 15:25
I think one suggestion for this type of problem is enabling the language last (doc). This person had the same problem with libpng.
Post 21 Mar 2018, 15:25
View user's profile Send private message Reply with quote
Walter



Joined: 26 Jan 2013
Posts: 155
Walter 21 Mar 2018, 15:30
ml.exe is the assembler used for vc (cl),

generally found (2005) at

\Program Files (x86)\Microsoft Visual Studio 8.0\VC\bin
Post 21 Mar 2018, 15:30
View user's profile Send private message Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 671
vivik 21 Mar 2018, 18:55
Replacing "project(libpng ASM C)" with "project(libpng C ASM)" indeed worked, thanks.

Also shouldn't forget to delete cache files.
Post 21 Mar 2018, 18:55
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.