473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

CLI compilation problem

Hi,

I have a strange issue. I'm pretty sure it's just some strage
configuration issue. I have a solution with a couple CLI projects,
and a couple unmanged c++ projects. When I clean, and rebuild the
build breaks. During this build I see it copying the files it has a
dependency on lacally, and then it breaks with errors saying it
doesn't know about them.

But, when I do a subsequent rebuild, it works. I don't quite
understand what I'm missing. THe project that breaks needs the other
CLI project, and a c# library. These are what it loads. Anyone have
any ideas?

Thanks in advance

Feb 22 '07 #1
2 946
I have a strange issue. I'm pretty sure it's just some strage
configuration issue. I have a solution with a couple CLI projects,
and a couple unmanged c++ projects. When I clean, and rebuild the
build breaks. During this build I see it copying the files it has a
dependency on lacally, and then it breaks with errors saying it
doesn't know about them.

But, when I do a subsequent rebuild, it works. I don't quite
understand what I'm missing. THe project that breaks needs the other
CLI project, and a c# library. These are what it loads. Anyone have
any ideas?
I suspect that your build order is wrong.
As a result, proj A wich requires the output of proj B gets built first.
Because B does not yet exist, the build breaks.
then proj B is built.

if you build again the error will disappear because now B already exists.

You can check this if you right-click your solution and then select build
order, or project dependencies.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Feb 22 '07 #2
On Feb 22, 9:49 am, "Bruno van Dooren [MVP VC++]"
<bruno_nos_pam_van_doo...@hotmail.comwrote:
I have a strange issue. I'm pretty sure it's just some strage
configuration issue. I have a solution with a couple CLI projects,
and a couple unmanged c++ projects. When I clean, and rebuild the
build breaks. During this build I see it copying the files it has a
dependency on lacally, and then it breaks with errors saying it
doesn't know about them.
But, when I do a subsequent rebuild, it works. I don't quite
understand what I'm missing. THe project that breaks needs the other
CLI project, and a c# library. These are what it loads. Anyone have
any ideas?

I suspect that your build order is wrong.
As a result, proj A wich requires the output of proj B gets built first.
Because B does not yet exist, the build breaks.
then proj B is built.

if you build again the error will disappear because now B already exists.

You can check this if you right-click your solution and then select build
order, or project dependencies.

--

Kind regards,
Bruno van Dooren
bruno_nos_pam_van_doo...@hotmail.com
Remove only "_nos_pam"
I believe that was the problem! Thank you

Feb 22 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Alex Vinokur | last post by:
Hi, The code below has no problem with GNU g++ 3.3, but it has a problem with GNU g++ 3.4. What is reason for that? --------- foo.cpp : BEGIN --------- template <typename T> struct Boo
6
by: Joachim | last post by:
I made some project changes (which seems it doesn't help if I undo) which have created compilation error: " Server Error in '/PCSWebApp1' Application....
3
by: Dan | last post by:
Hi, I have a problem using an aspx page with a Control on it. I get the following error message Compiler Error Message: CS1595: 'Test.Class2' is defined in multiple places; using definition...
10
by: RedEagle | last post by:
Hi All! Do you remember me? I am that desperate who had this error for a while: --- Compilation Error Description: An error occurred during the compilation of a resource required to service...
0
by: Mythran | last post by:
I'm have 2 primary errors that seem to occur. 1.) In my ASP.Net application, I have 3 libraries (BLL, DAL, and Schema) that are used for the 4th and 5th UI libraries. All of the dependant...
3
by: seema | last post by:
Hi all, I am new to C programming. I have problem compiling a sample , #include <stdio.h> int getuniqueaddress1(){ return 1; } int getuniqueaddress2(){ return 2;
4
by: Bob | last post by:
Hi, In VS2003 conditional compilation constants and their state could be defined at project level. I was using this to control what features where offered by various builds. i.e....
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
6
by: maxwell | last post by:
I'm trying to use the gpp utility (Gnu points to http://en.nothingisreal.com/wiki/GPP) to do conditional compilation in Python, and I'm running into a problem: the same '#' character introduces...
1
by: Alex Vinokur | last post by:
Hi, I have compilation problem on SUN CC compiler with template while using option -m64 (64-bit addressing model). No problem while using option -m32 (32-bit addressing model) $ CC -V CC:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.