Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

windows build error

<< < (3/4) > >>

codelighter:

--- Quote from: stahta01 on April 04, 2018, 12:21:59 pm ---You need to add the libraries needed to fix the linking errors.
Note: The order of libraries matter for some compilers.

Tim S.

--- End quote ---

I don't well know which libraries these functions own to , I build the newest wxWidget 3.1.1 source code with following command lines.   Advices about wxWidget 3.1.1 build process on windows platform would be appreciated.

--- Code: ---@echo off 
cd build/msw 
title Compile wxWidgets 
echo Start Compile ... 
echo --------------------------------------------------------------------- 
  
::echo Clean Env
::mingw32-make -f makefile.gcc clean

echo Compile Release Version
::SHARED=0, Static Link Library. SHARED=1, Dynamic Link Library.
::MONOLITHIC=0, Multiple Widgets. MONOLITHIC=1, Single Widgets.
::UNICODE=0, Not Support Unicode. Unicode=1, Support Unicode.
mingw32-make -f makefile.gcc BUILD=release SHARED=0 MONOLITHIC=0 UNICODE=1  .
mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=0 UNICODE=1 

echo Compile Debug Version
mingw32-make -f makefile.gcc BUILD=debug SHARED=0 MONOLITHIC=0 UNICODE=1 
mingw32-make -f makefile.gcc BUILD=debug SHARED=1 MONOLITHIC=0 UNICODE=1 

echo --------------------------------------------------------------------- 
echo Compile Succeed.
pause 

--- End code ---

codelighter:
The build process result is succeed. but some packages always missing.

stahta01:
Till you learn to use code tags there is no way for me to help you without a lot of work on my part.

And, since the problem is likely Windows libraries are missing the Linux devs are not likely to help you.

Link to how to report a problem. It includes some paste to forum info.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Tim S.


stahta01:
You are likely missing one of these lib statements


--- Code: ---
-lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32 -loleacc

--- End code ---

The last one tends to match the errors I saw the most.

Tim S.

codelighter:

--- Quote from: stahta01 on April 04, 2018, 12:54:07 pm ---You are likely missing one of these lib statements


--- Code: ---
-lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32 -loleacc

--- End code ---

The last one tends to match the errors I saw the most.

Tim S.

--- End quote ---

Thanks very much. I would try it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version